From 83c2e40442de8cfeeb13a23e204875fae8d02282 Mon Sep 17 00:00:00 2001 From: sunli829 Date: Mon, 3 Feb 2025 03:09:08 +0000 Subject: [PATCH] Automated deployment: Mon Feb 3 03:09:08 UTC 2025 466a91f414ed11dea70acde07d1a633161936651 --- v2/java/allclasses-index.html | 4 +- v2/java/allclasses.html | 4 +- v2/java/allpackages-index.html | 4 +- .../com/longport/AsyncCallback.AsyncTask.html | 4 +- v2/java/com/longport/Config.html | 4 +- v2/java/com/longport/ConfigBuilder.html | 4 +- v2/java/com/longport/HttpClient.html | 4 +- v2/java/com/longport/Language.html | 4 +- v2/java/com/longport/Market.html | 4 +- v2/java/com/longport/OpenApiException.html | 4 +- v2/java/com/longport/PushCandlestickMode.html | 4 +- .../class-use/AsyncCallback.AsyncTask.html | 4 +- .../com/longport/class-use/AsyncCallback.html | 4 +- v2/java/com/longport/class-use/Config.html | 4 +- .../com/longport/class-use/ConfigBuilder.html | 4 +- .../com/longport/class-use/HttpClient.html | 4 +- v2/java/com/longport/class-use/Language.html | 4 +- v2/java/com/longport/class-use/Market.html | 4 +- .../longport/class-use/OpenApiException.html | 4 +- .../class-use/PushCandlestickMode.html | 4 +- v2/java/com/longport/class-use/SdkNative.html | 4 +- v2/java/com/longport/package-summary.html | 4 +- v2/java/com/longport/package-tree.html | 4 +- v2/java/com/longport/package-use.html | 4 +- v2/java/com/longport/quote/AdjustType.html | 4 +- v2/java/com/longport/quote/Brokers.html | 4 +- .../com/longport/quote/BrokersHandler.html | 4 +- v2/java/com/longport/quote/CalcIndex.html | 4 +- v2/java/com/longport/quote/Candlestick.html | 4 +- .../longport/quote/CandlestickHandler.html | 4 +- .../longport/quote/CapitalDistribution.html | 4 +- .../quote/CapitalDistributionResponse.html | 4 +- .../com/longport/quote/CapitalFlowLine.html | 4 +- .../longport/quote/CreateWatchlistGroup.html | 4 +- .../quote/CreateWatchlistGroupResponse.html | 4 +- .../longport/quote/DeleteWatchlistGroup.html | 4 +- v2/java/com/longport/quote/Depth.html | 4 +- v2/java/com/longport/quote/DepthHandler.html | 4 +- .../com/longport/quote/DerivativeType.html | 4 +- .../quote/FilterWarrantExpiryDate.html | 4 +- .../quote/FilterWarrantInOutBoundsType.html | 4 +- v2/java/com/longport/quote/IntradayLine.html | 4 +- v2/java/com/longport/quote/IssuerInfo.html | 4 +- .../com/longport/quote/MarketTradingDays.html | 4 +- .../longport/quote/MarketTradingSession.html | 4 +- .../com/longport/quote/OptionDirection.html | 4 +- v2/java/com/longport/quote/OptionQuote.html | 4 +- v2/java/com/longport/quote/OptionType.html | 4 +- .../com/longport/quote/ParticipantInfo.html | 4 +- v2/java/com/longport/quote/Period.html | 4 +- v2/java/com/longport/quote/PrePostQuote.html | 4 +- v2/java/com/longport/quote/PushBrokers.html | 4 +- .../com/longport/quote/PushCandlestick.html | 4 +- v2/java/com/longport/quote/PushDepth.html | 4 +- v2/java/com/longport/quote/PushQuote.html | 4 +- v2/java/com/longport/quote/PushTrades.html | 4 +- .../longport/quote/QueryWarrantOptions.html | 4 +- v2/java/com/longport/quote/QuoteContext.html | 4 +- v2/java/com/longport/quote/QuoteHandler.html | 4 +- .../longport/quote/QuotePackageDetail.html | 4 +- v2/java/com/longport/quote/RealtimeQuote.html | 4 +- .../longport/quote/SecuritiesUpdateMode.html | 4 +- v2/java/com/longport/quote/Security.html | 4 +- v2/java/com/longport/quote/SecurityBoard.html | 4 +- .../com/longport/quote/SecurityBrokers.html | 4 +- .../com/longport/quote/SecurityCalcIndex.html | 4 +- v2/java/com/longport/quote/SecurityDepth.html | 4 +- .../longport/quote/SecurityListCategory.html | 4 +- v2/java/com/longport/quote/SecurityQuote.html | 4 +- .../longport/quote/SecurityStaticInfo.html | 4 +- v2/java/com/longport/quote/SortOrderType.html | 4 +- .../com/longport/quote/StrikePriceInfo.html | 4 +- v2/java/com/longport/quote/SubFlags.html | 4 +- v2/java/com/longport/quote/Subscription.html | 4 +- v2/java/com/longport/quote/Trade.html | 4 +- .../com/longport/quote/TradeDirection.html | 4 +- v2/java/com/longport/quote/TradeSession.html | 4 +- v2/java/com/longport/quote/TradeStatus.html | 4 +- v2/java/com/longport/quote/TradesHandler.html | 4 +- .../longport/quote/TradingSessionInfo.html | 4 +- .../longport/quote/UpdateWatchlistGroup.html | 4 +- v2/java/com/longport/quote/WarrantInfo.html | 4 +- v2/java/com/longport/quote/WarrantQuote.html | 4 +- v2/java/com/longport/quote/WarrantSortBy.html | 4 +- v2/java/com/longport/quote/WarrantStatus.html | 4 +- v2/java/com/longport/quote/WarrantType.html | 4 +- .../com/longport/quote/WatchlistGroup.html | 4 +- .../com/longport/quote/WatchlistSecurity.html | 4 +- .../longport/quote/class-use/AdjustType.html | 4 +- .../com/longport/quote/class-use/Brokers.html | 4 +- .../quote/class-use/BrokersHandler.html | 4 +- .../longport/quote/class-use/CalcIndex.html | 4 +- .../longport/quote/class-use/Candlestick.html | 4 +- .../quote/class-use/CandlestickHandler.html | 4 +- .../quote/class-use/CapitalDistribution.html | 4 +- .../CapitalDistributionResponse.html | 4 +- .../quote/class-use/CapitalFlowLine.html | 4 +- .../quote/class-use/CreateWatchlistGroup.html | 4 +- .../CreateWatchlistGroupResponse.html | 4 +- .../quote/class-use/DeleteWatchlistGroup.html | 4 +- .../com/longport/quote/class-use/Depth.html | 4 +- .../quote/class-use/DepthHandler.html | 4 +- .../quote/class-use/DerivativeType.html | 4 +- .../class-use/FilterWarrantExpiryDate.html | 4 +- .../FilterWarrantInOutBoundsType.html | 4 +- .../quote/class-use/IntradayLine.html | 4 +- .../longport/quote/class-use/IssuerInfo.html | 4 +- .../quote/class-use/MarketTradingDays.html | 4 +- .../quote/class-use/MarketTradingSession.html | 4 +- .../quote/class-use/OptionDirection.html | 4 +- .../longport/quote/class-use/OptionQuote.html | 4 +- .../longport/quote/class-use/OptionType.html | 4 +- .../quote/class-use/ParticipantInfo.html | 4 +- .../com/longport/quote/class-use/Period.html | 4 +- .../quote/class-use/PrePostQuote.html | 4 +- .../longport/quote/class-use/PushBrokers.html | 4 +- .../quote/class-use/PushCandlestick.html | 4 +- .../longport/quote/class-use/PushDepth.html | 4 +- .../longport/quote/class-use/PushQuote.html | 4 +- .../longport/quote/class-use/PushTrades.html | 4 +- .../quote/class-use/QueryWarrantOptions.html | 4 +- .../quote/class-use/QuoteContext.html | 4 +- .../quote/class-use/QuoteHandler.html | 4 +- .../quote/class-use/QuotePackageDetail.html | 4 +- .../quote/class-use/RealtimeQuote.html | 4 +- .../quote/class-use/SecuritiesUpdateMode.html | 4 +- .../longport/quote/class-use/Security.html | 4 +- .../quote/class-use/SecurityBoard.html | 4 +- .../quote/class-use/SecurityBrokers.html | 4 +- .../quote/class-use/SecurityCalcIndex.html | 4 +- .../quote/class-use/SecurityDepth.html | 4 +- .../quote/class-use/SecurityListCategory.html | 4 +- .../quote/class-use/SecurityQuote.html | 4 +- .../quote/class-use/SecurityStaticInfo.html | 4 +- .../quote/class-use/SortOrderType.html | 4 +- .../quote/class-use/StrikePriceInfo.html | 4 +- .../longport/quote/class-use/SubFlags.html | 4 +- .../quote/class-use/Subscription.html | 4 +- .../com/longport/quote/class-use/Trade.html | 4 +- .../quote/class-use/TradeDirection.html | 4 +- .../quote/class-use/TradeSession.html | 4 +- .../longport/quote/class-use/TradeStatus.html | 4 +- .../quote/class-use/TradesHandler.html | 4 +- .../quote/class-use/TradingSessionInfo.html | 4 +- .../quote/class-use/UpdateWatchlistGroup.html | 4 +- .../longport/quote/class-use/WarrantInfo.html | 4 +- .../quote/class-use/WarrantQuote.html | 4 +- .../quote/class-use/WarrantSortBy.html | 4 +- .../quote/class-use/WarrantStatus.html | 4 +- .../longport/quote/class-use/WarrantType.html | 4 +- .../quote/class-use/WatchlistGroup.html | 4 +- .../quote/class-use/WatchlistSecurity.html | 4 +- .../com/longport/quote/package-summary.html | 4 +- v2/java/com/longport/quote/package-tree.html | 4 +- v2/java/com/longport/quote/package-use.html | 4 +- .../com/longport/trade/AccountBalance.html | 4 +- v2/java/com/longport/trade/BalanceType.html | 4 +- v2/java/com/longport/trade/CashFlow.html | 4 +- .../com/longport/trade/CashFlowDirection.html | 4 +- v2/java/com/longport/trade/CashInfo.html | 4 +- .../longport/trade/ChargeCategoryCode.html | 4 +- .../longport/trade/CommissionFreeStatus.html | 4 +- .../com/longport/trade/DeductionStatus.html | 4 +- .../EstimateMaxPurchaseQuantityOptions.html | 4 +- .../EstimateMaxPurchaseQuantityResponse.html | 4 +- v2/java/com/longport/trade/Execution.html | 4 +- v2/java/com/longport/trade/FundPosition.html | 4 +- .../longport/trade/FundPositionChannel.html | 4 +- .../longport/trade/FundPositionsResponse.html | 4 +- .../longport/trade/GetCashFlowOptions.html | 4 +- .../trade/GetFundPositionsOptions.html | 4 +- .../trade/GetHistoryExecutionsOptions.html | 4 +- .../trade/GetHistoryOrdersOptions.html | 4 +- .../trade/GetStockPositionsOptions.html | 4 +- .../trade/GetTodayExecutionsOptions.html | 4 +- .../longport/trade/GetTodayOrdersOptions.html | 4 +- v2/java/com/longport/trade/MarginRatio.html | 4 +- v2/java/com/longport/trade/Order.html | 4 +- .../longport/trade/OrderChangedHandler.html | 4 +- .../com/longport/trade/OrderChargeDetail.html | 4 +- .../com/longport/trade/OrderChargeFee.html | 4 +- .../com/longport/trade/OrderChargeItem.html | 4 +- v2/java/com/longport/trade/OrderDetail.html | 4 +- .../longport/trade/OrderHistoryDetail.html | 4 +- v2/java/com/longport/trade/OrderSide.html | 4 +- v2/java/com/longport/trade/OrderStatus.html | 4 +- v2/java/com/longport/trade/OrderTag.html | 4 +- v2/java/com/longport/trade/OrderType.html | 4 +- v2/java/com/longport/trade/OutsideRTH.html | 4 +- .../com/longport/trade/PushOrderChanged.html | 4 +- .../longport/trade/ReplaceOrderOptions.html | 4 +- v2/java/com/longport/trade/StockPosition.html | 4 +- .../longport/trade/StockPositionChannel.html | 4 +- .../trade/StockPositionsResponse.html | 4 +- .../longport/trade/SubmitOrderOptions.html | 4 +- .../longport/trade/SubmitOrderResponse.html | 4 +- .../com/longport/trade/TimeInForceType.html | 4 +- v2/java/com/longport/trade/TopicType.html | 4 +- v2/java/com/longport/trade/TradeContext.html | 4 +- v2/java/com/longport/trade/TriggerStatus.html | 4 +- .../trade/class-use/AccountBalance.html | 4 +- .../longport/trade/class-use/BalanceType.html | 4 +- .../longport/trade/class-use/CashFlow.html | 4 +- .../trade/class-use/CashFlowDirection.html | 4 +- .../longport/trade/class-use/CashInfo.html | 4 +- .../trade/class-use/ChargeCategoryCode.html | 4 +- .../trade/class-use/CommissionFreeStatus.html | 4 +- .../trade/class-use/DeductionStatus.html | 4 +- .../EstimateMaxPurchaseQuantityOptions.html | 4 +- .../EstimateMaxPurchaseQuantityResponse.html | 4 +- .../longport/trade/class-use/Execution.html | 4 +- .../trade/class-use/FundPosition.html | 4 +- .../trade/class-use/FundPositionChannel.html | 4 +- .../class-use/FundPositionsResponse.html | 4 +- .../trade/class-use/GetCashFlowOptions.html | 4 +- .../class-use/GetFundPositionsOptions.html | 4 +- .../GetHistoryExecutionsOptions.html | 4 +- .../class-use/GetHistoryOrdersOptions.html | 4 +- .../class-use/GetStockPositionsOptions.html | 4 +- .../class-use/GetTodayExecutionsOptions.html | 4 +- .../class-use/GetTodayOrdersOptions.html | 4 +- .../longport/trade/class-use/MarginRatio.html | 4 +- .../com/longport/trade/class-use/Order.html | 4 +- .../trade/class-use/OrderChangedHandler.html | 4 +- .../trade/class-use/OrderChargeDetail.html | 4 +- .../trade/class-use/OrderChargeFee.html | 4 +- .../trade/class-use/OrderChargeItem.html | 4 +- .../longport/trade/class-use/OrderDetail.html | 4 +- .../trade/class-use/OrderHistoryDetail.html | 4 +- .../longport/trade/class-use/OrderSide.html | 4 +- .../longport/trade/class-use/OrderStatus.html | 4 +- .../longport/trade/class-use/OrderTag.html | 4 +- .../longport/trade/class-use/OrderType.html | 4 +- .../longport/trade/class-use/OutsideRTH.html | 4 +- .../trade/class-use/PushOrderChanged.html | 4 +- .../trade/class-use/ReplaceOrderOptions.html | 4 +- .../trade/class-use/StockPosition.html | 4 +- .../trade/class-use/StockPositionChannel.html | 4 +- .../class-use/StockPositionsResponse.html | 4 +- .../trade/class-use/SubmitOrderOptions.html | 4 +- .../trade/class-use/SubmitOrderResponse.html | 4 +- .../trade/class-use/TimeInForceType.html | 4 +- .../longport/trade/class-use/TopicType.html | 4 +- .../trade/class-use/TradeContext.html | 4 +- .../trade/class-use/TriggerStatus.html | 4 +- .../com/longport/trade/package-summary.html | 4 +- v2/java/com/longport/trade/package-tree.html | 4 +- v2/java/com/longport/trade/package-use.html | 4 +- v2/java/constant-values.html | 4 +- v2/java/deprecated-list.html | 4 +- v2/java/help-doc.html | 4 +- v2/java/index-all.html | 4 +- v2/java/index.html | 4 +- v2/java/member-search-index.zip | Bin 8124 -> 8124 bytes v2/java/overview-summary.html | 2 +- v2/java/overview-tree.html | 4 +- v2/java/package-search-index.zip | Bin 243 -> 243 bytes v2/java/serialized-form.html | 4 +- v2/java/type-search-index.zip | Bin 1092 -> 1092 bytes v2/python/index.html | 2 +- v2/python/sitemap.xml.gz | Bin 127 -> 127 bytes v2/rust/help.html | 2 +- v2/rust/longport/all.html | 2 +- v2/rust/longport/enum.Error.html | 52 +-- v2/rust/longport/enum.Language.html | 36 +-- v2/rust/longport/enum.Market.html | 40 +-- .../longport/enum.PushCandlestickMode.html | 34 +- v2/rust/longport/enum.SimpleError.html | 52 +-- v2/rust/longport/index.html | 2 +- v2/rust/longport/macro.decimal.html | 2 +- v2/rust/longport/quote/enum.AdjustType.html | 68 ++-- v2/rust/longport/quote/enum.CalcIndex.html | 34 +- .../quote/enum.FilterWarrantExpiryDate.html | 38 +-- .../enum.FilterWarrantInOutBoundsType.html | 38 +-- .../longport/quote/enum.OptionDirection.html | 42 +-- v2/rust/longport/quote/enum.OptionType.html | 42 +-- v2/rust/longport/quote/enum.Period.html | 68 ++-- .../longport/quote/enum.PushEventDetail.html | 28 +- .../quote/enum.SecuritiesUpdateMode.html | 34 +- .../longport/quote/enum.SecurityBoard.html | 44 +-- .../quote/enum.SecurityListCategory.html | 44 +-- .../longport/quote/enum.SortOrderType.html | 38 +-- .../longport/quote/enum.TradeDirection.html | 42 +-- v2/rust/longport/quote/enum.TradeSession.html | 68 ++-- v2/rust/longport/quote/enum.TradeStatus.html | 68 ++-- .../longport/quote/enum.WarrantSortBy.html | 38 +-- .../longport/quote/enum.WarrantStatus.html | 44 +-- v2/rust/longport/quote/enum.WarrantType.html | 44 +-- v2/rust/longport/quote/index.html | 2 +- v2/rust/longport/quote/struct.Brokers.html | 44 +-- .../longport/quote/struct.Candlestick.html | 40 +-- .../quote/struct.CapitalDistribution.html | 36 +-- .../struct.CapitalDistributionResponse.html | 36 +-- .../quote/struct.CapitalFlowLine.html | 36 +-- v2/rust/longport/quote/struct.Depth.html | 52 +-- .../longport/quote/struct.DerivativeType.html | 92 +++--- .../longport/quote/struct.IntradayLine.html | 40 +-- v2/rust/longport/quote/struct.IssuerInfo.html | 52 +-- .../quote/struct.MarketTradingDays.html | 44 +-- .../quote/struct.MarketTradingSession.html | 40 +-- .../longport/quote/struct.OptionQuote.html | 52 +-- .../quote/struct.ParticipantInfo.html | 52 +-- .../longport/quote/struct.PrePostQuote.html | 40 +-- .../longport/quote/struct.PushBrokers.html | 36 +-- .../quote/struct.PushCandlestick.html | 36 +-- v2/rust/longport/quote/struct.PushDepth.html | 36 +-- v2/rust/longport/quote/struct.PushEvent.html | 32 +- v2/rust/longport/quote/struct.PushQuote.html | 40 +-- v2/rust/longport/quote/struct.PushTrades.html | 32 +- .../longport/quote/struct.QuoteContext.html | 260 +++++++-------- .../quote/struct.QuotePackageDetail.html | 44 +-- .../longport/quote/struct.RealtimeQuote.html | 44 +-- .../struct.RequestCreateWatchlistGroup.html | 46 +-- .../struct.RequestUpdateWatchlistGroup.html | 52 +-- v2/rust/longport/quote/struct.Security.html | 48 +-- .../quote/struct.SecurityBrokers.html | 44 +-- .../quote/struct.SecurityCalcIndex.html | 200 ++++++------ .../longport/quote/struct.SecurityDepth.html | 44 +-- .../longport/quote/struct.SecurityQuote.html | 56 ++-- .../quote/struct.SecurityStaticInfo.html | 72 ++--- .../quote/struct.StrikePriceInfo.html | 48 +-- v2/rust/longport/quote/struct.SubFlags.html | 94 +++--- .../longport/quote/struct.Subscription.html | 40 +-- v2/rust/longport/quote/struct.Trade.html | 44 +-- .../quote/struct.TradingSessionInfo.html | 36 +-- .../longport/quote/struct.WarrantInfo.html | 96 +++--- .../longport/quote/struct.WarrantQuote.html | 52 +-- .../longport/quote/struct.WatchlistGroup.html | 48 +-- .../quote/struct.WatchlistSecurity.html | 48 +-- v2/rust/longport/struct.Config.html | 52 +-- v2/rust/longport/struct.Decimal.html | 298 +++++++++--------- v2/rust/longport/trade/enum.BalanceType.html | 38 +-- .../trade/enum.CashFlowDirection.html | 40 +-- .../trade/enum.ChargeCategoryCode.html | 44 +-- .../trade/enum.CommissionFreeStatus.html | 44 +-- .../longport/trade/enum.DeductionStatus.html | 40 +-- v2/rust/longport/trade/enum.OrderSide.html | 40 +-- v2/rust/longport/trade/enum.OrderStatus.html | 40 +-- v2/rust/longport/trade/enum.OrderTag.html | 40 +-- v2/rust/longport/trade/enum.OrderType.html | 40 +-- v2/rust/longport/trade/enum.OutsideRTH.html | 40 +-- v2/rust/longport/trade/enum.PushEvent.html | 30 +- .../longport/trade/enum.TimeInForceType.html | 40 +-- v2/rust/longport/trade/enum.TopicType.html | 40 +-- .../longport/trade/enum.TriggerPriceType.html | 40 +-- .../longport/trade/enum.TriggerStatus.html | 40 +-- v2/rust/longport/trade/index.html | 2 +- .../longport/trade/struct.AccountBalance.html | 48 +-- v2/rust/longport/trade/struct.CashFlow.html | 52 +-- v2/rust/longport/trade/struct.CashInfo.html | 40 +-- ...ct.EstimateMaxPurchaseQuantityOptions.html | 40 +-- ...t.EstimateMaxPurchaseQuantityResponse.html | 32 +- v2/rust/longport/trade/struct.Execution.html | 48 +-- .../longport/trade/struct.FundPosition.html | 48 +-- .../trade/struct.FundPositionChannel.html | 44 +-- .../trade/struct.FundPositionsResponse.html | 40 +-- .../trade/struct.GetCashFlowOptions.html | 40 +-- .../trade/struct.GetFundPositionsOptions.html | 34 +- .../struct.GetHistoryExecutionsOptions.html | 36 +-- .../trade/struct.GetHistoryOrdersOptions.html | 38 +-- .../struct.GetStockPositionsOptions.html | 34 +- .../struct.GetTodayExecutionsOptions.html | 38 +-- .../trade/struct.GetTodayOrdersOptions.html | 40 +-- .../longport/trade/struct.MarginRatio.html | 36 +-- v2/rust/longport/trade/struct.Order.html | 108 +++---- .../trade/struct.OrderChargeDetail.html | 44 +-- .../longport/trade/struct.OrderChargeFee.html | 48 +-- .../trade/struct.OrderChargeItem.html | 44 +-- .../longport/trade/struct.OrderDetail.html | 136 ++++---- .../trade/struct.OrderHistoryDetail.html | 40 +-- .../trade/struct.PushOrderChanged.html | 94 +++--- .../trade/struct.ReplaceOrderOptions.html | 38 +-- .../longport/trade/struct.StockPosition.html | 52 +-- .../trade/struct.StockPositionChannel.html | 44 +-- .../trade/struct.StockPositionsResponse.html | 40 +-- .../trade/struct.SubmitOrderOptions.html | 38 +-- .../trade/struct.SubmitOrderResponse.html | 36 +-- .../longport/trade/struct.TradeContext.html | 104 +++--- v2/rust/longport/type.Result.html | 2 +- v2/rust/search-index.js | 4 +- v2/rust/settings.html | 2 +- v2/rust/src/longport/config.rs.html | 2 +- v2/rust/src/longport/error.rs.html | 2 +- v2/rust/src/longport/lib.rs.html | 2 +- v2/rust/src/longport/macros.rs.html | 2 +- v2/rust/src/longport/quote/cache.rs.html | 2 +- v2/rust/src/longport/quote/cmd_code.rs.html | 2 +- v2/rust/src/longport/quote/context.rs.html | 52 ++- v2/rust/src/longport/quote/core.rs.html | 46 ++- v2/rust/src/longport/quote/mod.rs.html | 2 +- v2/rust/src/longport/quote/push_types.rs.html | 2 +- v2/rust/src/longport/quote/store.rs.html | 2 +- v2/rust/src/longport/quote/sub_flags.rs.html | 2 +- v2/rust/src/longport/quote/types.rs.html | 2 +- v2/rust/src/longport/quote/utils.rs.html | 2 +- v2/rust/src/longport/serde_utils.rs.html | 2 +- v2/rust/src/longport/trade/cmd_code.rs.html | 2 +- v2/rust/src/longport/trade/context.rs.html | 40 ++- v2/rust/src/longport/trade/core.rs.html | 10 +- v2/rust/src/longport/trade/mod.rs.html | 2 +- v2/rust/src/longport/trade/push_types.rs.html | 2 +- .../estimate_max_purchase_quantity.rs.html | 2 +- .../trade/requests/get_cash_flow.rs.html | 2 +- .../trade/requests/get_fund_positions.rs.html | 2 +- .../requests/get_history_executions.rs.html | 2 +- .../trade/requests/get_history_orders.rs.html | 2 +- .../requests/get_stock_positions.rs.html | 2 +- .../requests/get_today_executions.rs.html | 2 +- .../trade/requests/get_today_orders.rs.html | 2 +- .../src/longport/trade/requests/mod.rs.html | 2 +- .../trade/requests/replace_order.rs.html | 2 +- .../trade/requests/submit_order.rs.html | 2 +- v2/rust/src/longport/trade/types.rs.html | 2 +- v2/rust/src/longport/types.rs.html | 2 +- v2/rust/trait.impl/core/clone/trait.Clone.js | 2 +- v2/rust/trait.impl/core/cmp/trait.Eq.js | 2 +- .../trait.impl/core/cmp/trait.PartialEq.js | 2 +- v2/rust/trait.impl/core/convert/trait.From.js | 2 +- .../trait.impl/core/convert/trait.TryFrom.js | 2 +- .../trait.impl/core/default/trait.Default.js | 2 +- v2/rust/trait.impl/core/error/trait.Error.js | 2 +- v2/rust/trait.impl/core/fmt/trait.Binary.js | 2 +- v2/rust/trait.impl/core/fmt/trait.Debug.js | 2 +- v2/rust/trait.impl/core/fmt/trait.Display.js | 2 +- v2/rust/trait.impl/core/fmt/trait.LowerHex.js | 2 +- v2/rust/trait.impl/core/fmt/trait.Octal.js | 2 +- v2/rust/trait.impl/core/fmt/trait.UpperHex.js | 2 +- v2/rust/trait.impl/core/hash/trait.Hash.js | 2 +- .../core/iter/traits/collect/trait.Extend.js | 2 +- .../iter/traits/collect/trait.FromIterator.js | 2 +- .../iter/traits/collect/trait.IntoIterator.js | 2 +- v2/rust/trait.impl/core/marker/trait.Copy.js | 2 +- .../trait.impl/core/marker/trait.Freeze.js | 2 +- v2/rust/trait.impl/core/marker/trait.Send.js | 2 +- .../core/marker/trait.StructuralPartialEq.js | 2 +- v2/rust/trait.impl/core/marker/trait.Sync.js | 2 +- v2/rust/trait.impl/core/marker/trait.Unpin.js | 2 +- .../trait.impl/core/ops/arith/trait.Sub.js | 2 +- .../core/ops/arith/trait.SubAssign.js | 2 +- .../trait.impl/core/ops/bit/trait.BitAnd.js | 2 +- .../core/ops/bit/trait.BitAndAssign.js | 2 +- .../trait.impl/core/ops/bit/trait.BitOr.js | 2 +- .../core/ops/bit/trait.BitOrAssign.js | 2 +- .../trait.impl/core/ops/bit/trait.BitXor.js | 2 +- .../core/ops/bit/trait.BitXorAssign.js | 2 +- v2/rust/trait.impl/core/ops/bit/trait.Not.js | 2 +- .../trait.impl/core/ops/drop/trait.Drop.js | 9 + .../panic/unwind_safe/trait.RefUnwindSafe.js | 2 +- .../panic/unwind_safe/trait.UnwindSafe.js | 2 +- .../core/str/traits/trait.FromStr.js | 2 +- v2/rust/type.impl/core/result/enum.Result.js | 2 +- 451 files changed, 3640 insertions(+), 3511 deletions(-) create mode 100644 v2/rust/trait.impl/core/ops/drop/trait.Drop.js diff --git a/v2/java/allclasses-index.html b/v2/java/allclasses-index.html index 853ef1a26..217c11816 100644 --- a/v2/java/allclasses-index.html +++ b/v2/java/allclasses-index.html @@ -2,10 +2,10 @@ - + All Classes (longport-openapi 0.0.1 API) - + diff --git a/v2/java/allclasses.html b/v2/java/allclasses.html index 40e7d2689..c3b764ab6 100644 --- a/v2/java/allclasses.html +++ b/v2/java/allclasses.html @@ -2,10 +2,10 @@ - + All Classes (longport-openapi 0.0.1 API) - + diff --git a/v2/java/allpackages-index.html b/v2/java/allpackages-index.html index 8123880f3..370a09da3 100644 --- a/v2/java/allpackages-index.html +++ b/v2/java/allpackages-index.html @@ -2,10 +2,10 @@ - + All Packages (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/AsyncCallback.AsyncTask.html b/v2/java/com/longport/AsyncCallback.AsyncTask.html index e6d6a9bb5..fb6a173aa 100644 --- a/v2/java/com/longport/AsyncCallback.AsyncTask.html +++ b/v2/java/com/longport/AsyncCallback.AsyncTask.html @@ -2,10 +2,10 @@ - + AsyncCallback.AsyncTask (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/Config.html b/v2/java/com/longport/Config.html index 253d2fa27..8975fbd9b 100644 --- a/v2/java/com/longport/Config.html +++ b/v2/java/com/longport/Config.html @@ -2,10 +2,10 @@ - + Config (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/ConfigBuilder.html b/v2/java/com/longport/ConfigBuilder.html index d0e3c6a66..9916583f9 100644 --- a/v2/java/com/longport/ConfigBuilder.html +++ b/v2/java/com/longport/ConfigBuilder.html @@ -2,10 +2,10 @@ - + ConfigBuilder (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/HttpClient.html b/v2/java/com/longport/HttpClient.html index f10f9de2b..26a534db4 100644 --- a/v2/java/com/longport/HttpClient.html +++ b/v2/java/com/longport/HttpClient.html @@ -2,10 +2,10 @@ - + HttpClient (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/Language.html b/v2/java/com/longport/Language.html index fb43723ef..cce42b2e3 100644 --- a/v2/java/com/longport/Language.html +++ b/v2/java/com/longport/Language.html @@ -2,10 +2,10 @@ - + Language (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/Market.html b/v2/java/com/longport/Market.html index f6be4ec5e..ab0f905b3 100644 --- a/v2/java/com/longport/Market.html +++ b/v2/java/com/longport/Market.html @@ -2,10 +2,10 @@ - + Market (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/OpenApiException.html b/v2/java/com/longport/OpenApiException.html index f005f27d3..b5db7cfa2 100644 --- a/v2/java/com/longport/OpenApiException.html +++ b/v2/java/com/longport/OpenApiException.html @@ -2,10 +2,10 @@ - + OpenApiException (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/PushCandlestickMode.html b/v2/java/com/longport/PushCandlestickMode.html index 5e575ed38..921f6c21e 100644 --- a/v2/java/com/longport/PushCandlestickMode.html +++ b/v2/java/com/longport/PushCandlestickMode.html @@ -2,10 +2,10 @@ - + PushCandlestickMode (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/class-use/AsyncCallback.AsyncTask.html b/v2/java/com/longport/class-use/AsyncCallback.AsyncTask.html index 1605b5bd3..f1131c5fa 100644 --- a/v2/java/com/longport/class-use/AsyncCallback.AsyncTask.html +++ b/v2/java/com/longport/class-use/AsyncCallback.AsyncTask.html @@ -2,10 +2,10 @@ - + Uses of Interface com.longport.AsyncCallback.AsyncTask (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/class-use/AsyncCallback.html b/v2/java/com/longport/class-use/AsyncCallback.html index 29d16c274..7b07b3771 100644 --- a/v2/java/com/longport/class-use/AsyncCallback.html +++ b/v2/java/com/longport/class-use/AsyncCallback.html @@ -2,10 +2,10 @@ - + Uses of Interface com.longport.AsyncCallback (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/class-use/Config.html b/v2/java/com/longport/class-use/Config.html index 7262378a1..1993f2a66 100644 --- a/v2/java/com/longport/class-use/Config.html +++ b/v2/java/com/longport/class-use/Config.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.Config (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/class-use/ConfigBuilder.html b/v2/java/com/longport/class-use/ConfigBuilder.html index 5c3cbd139..58eb0ed40 100644 --- a/v2/java/com/longport/class-use/ConfigBuilder.html +++ b/v2/java/com/longport/class-use/ConfigBuilder.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.ConfigBuilder (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/class-use/HttpClient.html b/v2/java/com/longport/class-use/HttpClient.html index 5869f051c..0f9145463 100644 --- a/v2/java/com/longport/class-use/HttpClient.html +++ b/v2/java/com/longport/class-use/HttpClient.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.HttpClient (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/class-use/Language.html b/v2/java/com/longport/class-use/Language.html index 40dd182a6..48a7a11e4 100644 --- a/v2/java/com/longport/class-use/Language.html +++ b/v2/java/com/longport/class-use/Language.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.Language (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/class-use/Market.html b/v2/java/com/longport/class-use/Market.html index 85a641007..8cb949aa0 100644 --- a/v2/java/com/longport/class-use/Market.html +++ b/v2/java/com/longport/class-use/Market.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.Market (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/class-use/OpenApiException.html b/v2/java/com/longport/class-use/OpenApiException.html index 2f21d3692..182fc6d57 100644 --- a/v2/java/com/longport/class-use/OpenApiException.html +++ b/v2/java/com/longport/class-use/OpenApiException.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.OpenApiException (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/class-use/PushCandlestickMode.html b/v2/java/com/longport/class-use/PushCandlestickMode.html index 30ff80187..1ef6f746b 100644 --- a/v2/java/com/longport/class-use/PushCandlestickMode.html +++ b/v2/java/com/longport/class-use/PushCandlestickMode.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.PushCandlestickMode (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/class-use/SdkNative.html b/v2/java/com/longport/class-use/SdkNative.html index 162c18e91..bb9d48e83 100644 --- a/v2/java/com/longport/class-use/SdkNative.html +++ b/v2/java/com/longport/class-use/SdkNative.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.SdkNative (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/package-summary.html b/v2/java/com/longport/package-summary.html index 20d1bba4b..abb06c89e 100644 --- a/v2/java/com/longport/package-summary.html +++ b/v2/java/com/longport/package-summary.html @@ -2,10 +2,10 @@ - + com.longport (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/package-tree.html b/v2/java/com/longport/package-tree.html index 309a4037d..5a468d4d8 100644 --- a/v2/java/com/longport/package-tree.html +++ b/v2/java/com/longport/package-tree.html @@ -2,10 +2,10 @@ - + com.longport Class Hierarchy (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/package-use.html b/v2/java/com/longport/package-use.html index 090cf950d..8e1dbd144 100644 --- a/v2/java/com/longport/package-use.html +++ b/v2/java/com/longport/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.longport (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/AdjustType.html b/v2/java/com/longport/quote/AdjustType.html index b302def4e..05853d655 100644 --- a/v2/java/com/longport/quote/AdjustType.html +++ b/v2/java/com/longport/quote/AdjustType.html @@ -2,10 +2,10 @@ - + AdjustType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/Brokers.html b/v2/java/com/longport/quote/Brokers.html index 1a8f4971c..008542f80 100644 --- a/v2/java/com/longport/quote/Brokers.html +++ b/v2/java/com/longport/quote/Brokers.html @@ -2,10 +2,10 @@ - + Brokers (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/BrokersHandler.html b/v2/java/com/longport/quote/BrokersHandler.html index 6d718b141..90bf2d961 100644 --- a/v2/java/com/longport/quote/BrokersHandler.html +++ b/v2/java/com/longport/quote/BrokersHandler.html @@ -2,10 +2,10 @@ - + BrokersHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/CalcIndex.html b/v2/java/com/longport/quote/CalcIndex.html index e2bc3eb4b..1f03ed211 100644 --- a/v2/java/com/longport/quote/CalcIndex.html +++ b/v2/java/com/longport/quote/CalcIndex.html @@ -2,10 +2,10 @@ - + CalcIndex (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/Candlestick.html b/v2/java/com/longport/quote/Candlestick.html index 1a3246970..2f4cfc256 100644 --- a/v2/java/com/longport/quote/Candlestick.html +++ b/v2/java/com/longport/quote/Candlestick.html @@ -2,10 +2,10 @@ - + Candlestick (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/CandlestickHandler.html b/v2/java/com/longport/quote/CandlestickHandler.html index 816306dd1..7f4b4f1f2 100644 --- a/v2/java/com/longport/quote/CandlestickHandler.html +++ b/v2/java/com/longport/quote/CandlestickHandler.html @@ -2,10 +2,10 @@ - + CandlestickHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/CapitalDistribution.html b/v2/java/com/longport/quote/CapitalDistribution.html index d8935c232..02361e33d 100644 --- a/v2/java/com/longport/quote/CapitalDistribution.html +++ b/v2/java/com/longport/quote/CapitalDistribution.html @@ -2,10 +2,10 @@ - + CapitalDistribution (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/CapitalDistributionResponse.html b/v2/java/com/longport/quote/CapitalDistributionResponse.html index 21b1a6968..cd927574c 100644 --- a/v2/java/com/longport/quote/CapitalDistributionResponse.html +++ b/v2/java/com/longport/quote/CapitalDistributionResponse.html @@ -2,10 +2,10 @@ - + CapitalDistributionResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/CapitalFlowLine.html b/v2/java/com/longport/quote/CapitalFlowLine.html index e90289b82..c004d7fd5 100644 --- a/v2/java/com/longport/quote/CapitalFlowLine.html +++ b/v2/java/com/longport/quote/CapitalFlowLine.html @@ -2,10 +2,10 @@ - + CapitalFlowLine (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/CreateWatchlistGroup.html b/v2/java/com/longport/quote/CreateWatchlistGroup.html index 52786d0ba..ce0eecd18 100644 --- a/v2/java/com/longport/quote/CreateWatchlistGroup.html +++ b/v2/java/com/longport/quote/CreateWatchlistGroup.html @@ -2,10 +2,10 @@ - + CreateWatchlistGroup (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/CreateWatchlistGroupResponse.html b/v2/java/com/longport/quote/CreateWatchlistGroupResponse.html index 183cdf126..cf0b250dc 100644 --- a/v2/java/com/longport/quote/CreateWatchlistGroupResponse.html +++ b/v2/java/com/longport/quote/CreateWatchlistGroupResponse.html @@ -2,10 +2,10 @@ - + CreateWatchlistGroupResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/DeleteWatchlistGroup.html b/v2/java/com/longport/quote/DeleteWatchlistGroup.html index 5468272bf..31e54e430 100644 --- a/v2/java/com/longport/quote/DeleteWatchlistGroup.html +++ b/v2/java/com/longport/quote/DeleteWatchlistGroup.html @@ -2,10 +2,10 @@ - + DeleteWatchlistGroup (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/Depth.html b/v2/java/com/longport/quote/Depth.html index c712aac7d..de1c512a1 100644 --- a/v2/java/com/longport/quote/Depth.html +++ b/v2/java/com/longport/quote/Depth.html @@ -2,10 +2,10 @@ - + Depth (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/DepthHandler.html b/v2/java/com/longport/quote/DepthHandler.html index 0bd8a357e..0cf10cc28 100644 --- a/v2/java/com/longport/quote/DepthHandler.html +++ b/v2/java/com/longport/quote/DepthHandler.html @@ -2,10 +2,10 @@ - + DepthHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/DerivativeType.html b/v2/java/com/longport/quote/DerivativeType.html index b6fbd2f09..5b03a7c76 100644 --- a/v2/java/com/longport/quote/DerivativeType.html +++ b/v2/java/com/longport/quote/DerivativeType.html @@ -2,10 +2,10 @@ - + DerivativeType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/FilterWarrantExpiryDate.html b/v2/java/com/longport/quote/FilterWarrantExpiryDate.html index 72d8b547b..4d0501c93 100644 --- a/v2/java/com/longport/quote/FilterWarrantExpiryDate.html +++ b/v2/java/com/longport/quote/FilterWarrantExpiryDate.html @@ -2,10 +2,10 @@ - + FilterWarrantExpiryDate (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/FilterWarrantInOutBoundsType.html b/v2/java/com/longport/quote/FilterWarrantInOutBoundsType.html index dcc60e0f6..e8071626d 100644 --- a/v2/java/com/longport/quote/FilterWarrantInOutBoundsType.html +++ b/v2/java/com/longport/quote/FilterWarrantInOutBoundsType.html @@ -2,10 +2,10 @@ - + FilterWarrantInOutBoundsType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/IntradayLine.html b/v2/java/com/longport/quote/IntradayLine.html index ba921d761..b0930a6fe 100644 --- a/v2/java/com/longport/quote/IntradayLine.html +++ b/v2/java/com/longport/quote/IntradayLine.html @@ -2,10 +2,10 @@ - + IntradayLine (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/IssuerInfo.html b/v2/java/com/longport/quote/IssuerInfo.html index d5968635f..05c749d11 100644 --- a/v2/java/com/longport/quote/IssuerInfo.html +++ b/v2/java/com/longport/quote/IssuerInfo.html @@ -2,10 +2,10 @@ - + IssuerInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/MarketTradingDays.html b/v2/java/com/longport/quote/MarketTradingDays.html index af733805a..b896e2dce 100644 --- a/v2/java/com/longport/quote/MarketTradingDays.html +++ b/v2/java/com/longport/quote/MarketTradingDays.html @@ -2,10 +2,10 @@ - + MarketTradingDays (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/MarketTradingSession.html b/v2/java/com/longport/quote/MarketTradingSession.html index 2b4d3a68f..6bf97f015 100644 --- a/v2/java/com/longport/quote/MarketTradingSession.html +++ b/v2/java/com/longport/quote/MarketTradingSession.html @@ -2,10 +2,10 @@ - + MarketTradingSession (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/OptionDirection.html b/v2/java/com/longport/quote/OptionDirection.html index 42ab0ac6e..0c2fe92c7 100644 --- a/v2/java/com/longport/quote/OptionDirection.html +++ b/v2/java/com/longport/quote/OptionDirection.html @@ -2,10 +2,10 @@ - + OptionDirection (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/OptionQuote.html b/v2/java/com/longport/quote/OptionQuote.html index dd2be7f24..0014ebcc2 100644 --- a/v2/java/com/longport/quote/OptionQuote.html +++ b/v2/java/com/longport/quote/OptionQuote.html @@ -2,10 +2,10 @@ - + OptionQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/OptionType.html b/v2/java/com/longport/quote/OptionType.html index 81f4748b1..fb59dd4e1 100644 --- a/v2/java/com/longport/quote/OptionType.html +++ b/v2/java/com/longport/quote/OptionType.html @@ -2,10 +2,10 @@ - + OptionType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/ParticipantInfo.html b/v2/java/com/longport/quote/ParticipantInfo.html index 7ac78f339..b05f7ba77 100644 --- a/v2/java/com/longport/quote/ParticipantInfo.html +++ b/v2/java/com/longport/quote/ParticipantInfo.html @@ -2,10 +2,10 @@ - + ParticipantInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/Period.html b/v2/java/com/longport/quote/Period.html index fe3cfb43a..42acadbe8 100644 --- a/v2/java/com/longport/quote/Period.html +++ b/v2/java/com/longport/quote/Period.html @@ -2,10 +2,10 @@ - + Period (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/PrePostQuote.html b/v2/java/com/longport/quote/PrePostQuote.html index 29abddc83..1bd1d5175 100644 --- a/v2/java/com/longport/quote/PrePostQuote.html +++ b/v2/java/com/longport/quote/PrePostQuote.html @@ -2,10 +2,10 @@ - + PrePostQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/PushBrokers.html b/v2/java/com/longport/quote/PushBrokers.html index 2fd99609e..df274e067 100644 --- a/v2/java/com/longport/quote/PushBrokers.html +++ b/v2/java/com/longport/quote/PushBrokers.html @@ -2,10 +2,10 @@ - + PushBrokers (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/PushCandlestick.html b/v2/java/com/longport/quote/PushCandlestick.html index 09c47740d..52472ea1e 100644 --- a/v2/java/com/longport/quote/PushCandlestick.html +++ b/v2/java/com/longport/quote/PushCandlestick.html @@ -2,10 +2,10 @@ - + PushCandlestick (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/PushDepth.html b/v2/java/com/longport/quote/PushDepth.html index ee4d2d995..d5cbbe923 100644 --- a/v2/java/com/longport/quote/PushDepth.html +++ b/v2/java/com/longport/quote/PushDepth.html @@ -2,10 +2,10 @@ - + PushDepth (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/PushQuote.html b/v2/java/com/longport/quote/PushQuote.html index 647767524..22a2c8733 100644 --- a/v2/java/com/longport/quote/PushQuote.html +++ b/v2/java/com/longport/quote/PushQuote.html @@ -2,10 +2,10 @@ - + PushQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/PushTrades.html b/v2/java/com/longport/quote/PushTrades.html index a005df8a5..917a13b4b 100644 --- a/v2/java/com/longport/quote/PushTrades.html +++ b/v2/java/com/longport/quote/PushTrades.html @@ -2,10 +2,10 @@ - + PushTrades (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/QueryWarrantOptions.html b/v2/java/com/longport/quote/QueryWarrantOptions.html index 6ae906fa1..97747424e 100644 --- a/v2/java/com/longport/quote/QueryWarrantOptions.html +++ b/v2/java/com/longport/quote/QueryWarrantOptions.html @@ -2,10 +2,10 @@ - + QueryWarrantOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/QuoteContext.html b/v2/java/com/longport/quote/QuoteContext.html index 68299a942..464350fcb 100644 --- a/v2/java/com/longport/quote/QuoteContext.html +++ b/v2/java/com/longport/quote/QuoteContext.html @@ -2,10 +2,10 @@ - + QuoteContext (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/QuoteHandler.html b/v2/java/com/longport/quote/QuoteHandler.html index 11fb78bbb..600d40269 100644 --- a/v2/java/com/longport/quote/QuoteHandler.html +++ b/v2/java/com/longport/quote/QuoteHandler.html @@ -2,10 +2,10 @@ - + QuoteHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/QuotePackageDetail.html b/v2/java/com/longport/quote/QuotePackageDetail.html index 361e8d661..f2753dc26 100644 --- a/v2/java/com/longport/quote/QuotePackageDetail.html +++ b/v2/java/com/longport/quote/QuotePackageDetail.html @@ -2,10 +2,10 @@ - + QuotePackageDetail (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/RealtimeQuote.html b/v2/java/com/longport/quote/RealtimeQuote.html index 7580df1fd..ca931d9da 100644 --- a/v2/java/com/longport/quote/RealtimeQuote.html +++ b/v2/java/com/longport/quote/RealtimeQuote.html @@ -2,10 +2,10 @@ - + RealtimeQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/SecuritiesUpdateMode.html b/v2/java/com/longport/quote/SecuritiesUpdateMode.html index 09327edec..5fe8d0dae 100644 --- a/v2/java/com/longport/quote/SecuritiesUpdateMode.html +++ b/v2/java/com/longport/quote/SecuritiesUpdateMode.html @@ -2,10 +2,10 @@ - + SecuritiesUpdateMode (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/Security.html b/v2/java/com/longport/quote/Security.html index e8234c128..254dbdaca 100644 --- a/v2/java/com/longport/quote/Security.html +++ b/v2/java/com/longport/quote/Security.html @@ -2,10 +2,10 @@ - + Security (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/SecurityBoard.html b/v2/java/com/longport/quote/SecurityBoard.html index f180e6da9..db1192090 100644 --- a/v2/java/com/longport/quote/SecurityBoard.html +++ b/v2/java/com/longport/quote/SecurityBoard.html @@ -2,10 +2,10 @@ - + SecurityBoard (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/SecurityBrokers.html b/v2/java/com/longport/quote/SecurityBrokers.html index 4a03d9b24..73395fd38 100644 --- a/v2/java/com/longport/quote/SecurityBrokers.html +++ b/v2/java/com/longport/quote/SecurityBrokers.html @@ -2,10 +2,10 @@ - + SecurityBrokers (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/SecurityCalcIndex.html b/v2/java/com/longport/quote/SecurityCalcIndex.html index 4718e17d0..79c8699fb 100644 --- a/v2/java/com/longport/quote/SecurityCalcIndex.html +++ b/v2/java/com/longport/quote/SecurityCalcIndex.html @@ -2,10 +2,10 @@ - + SecurityCalcIndex (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/SecurityDepth.html b/v2/java/com/longport/quote/SecurityDepth.html index f2f19274e..89247bf29 100644 --- a/v2/java/com/longport/quote/SecurityDepth.html +++ b/v2/java/com/longport/quote/SecurityDepth.html @@ -2,10 +2,10 @@ - + SecurityDepth (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/SecurityListCategory.html b/v2/java/com/longport/quote/SecurityListCategory.html index ab2f99cfe..e05529f2e 100644 --- a/v2/java/com/longport/quote/SecurityListCategory.html +++ b/v2/java/com/longport/quote/SecurityListCategory.html @@ -2,10 +2,10 @@ - + SecurityListCategory (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/SecurityQuote.html b/v2/java/com/longport/quote/SecurityQuote.html index 337ea05e8..fac0f9344 100644 --- a/v2/java/com/longport/quote/SecurityQuote.html +++ b/v2/java/com/longport/quote/SecurityQuote.html @@ -2,10 +2,10 @@ - + SecurityQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/SecurityStaticInfo.html b/v2/java/com/longport/quote/SecurityStaticInfo.html index 4adbcff4b..d3aa25f02 100644 --- a/v2/java/com/longport/quote/SecurityStaticInfo.html +++ b/v2/java/com/longport/quote/SecurityStaticInfo.html @@ -2,10 +2,10 @@ - + SecurityStaticInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/SortOrderType.html b/v2/java/com/longport/quote/SortOrderType.html index d8af86663..7a84184c7 100644 --- a/v2/java/com/longport/quote/SortOrderType.html +++ b/v2/java/com/longport/quote/SortOrderType.html @@ -2,10 +2,10 @@ - + SortOrderType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/StrikePriceInfo.html b/v2/java/com/longport/quote/StrikePriceInfo.html index 9e2106ca5..bb37bf706 100644 --- a/v2/java/com/longport/quote/StrikePriceInfo.html +++ b/v2/java/com/longport/quote/StrikePriceInfo.html @@ -2,10 +2,10 @@ - + StrikePriceInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/SubFlags.html b/v2/java/com/longport/quote/SubFlags.html index 9a032e50a..0ea109a85 100644 --- a/v2/java/com/longport/quote/SubFlags.html +++ b/v2/java/com/longport/quote/SubFlags.html @@ -2,10 +2,10 @@ - + SubFlags (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/Subscription.html b/v2/java/com/longport/quote/Subscription.html index 0a8a153fb..bcc4ad7e3 100644 --- a/v2/java/com/longport/quote/Subscription.html +++ b/v2/java/com/longport/quote/Subscription.html @@ -2,10 +2,10 @@ - + Subscription (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/Trade.html b/v2/java/com/longport/quote/Trade.html index 7191fcf06..76660428a 100644 --- a/v2/java/com/longport/quote/Trade.html +++ b/v2/java/com/longport/quote/Trade.html @@ -2,10 +2,10 @@ - + Trade (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/TradeDirection.html b/v2/java/com/longport/quote/TradeDirection.html index 9b82f9a48..c1274389b 100644 --- a/v2/java/com/longport/quote/TradeDirection.html +++ b/v2/java/com/longport/quote/TradeDirection.html @@ -2,10 +2,10 @@ - + TradeDirection (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/TradeSession.html b/v2/java/com/longport/quote/TradeSession.html index 0d5bca81b..1baed401b 100644 --- a/v2/java/com/longport/quote/TradeSession.html +++ b/v2/java/com/longport/quote/TradeSession.html @@ -2,10 +2,10 @@ - + TradeSession (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/TradeStatus.html b/v2/java/com/longport/quote/TradeStatus.html index aaa62d030..3cb457ccc 100644 --- a/v2/java/com/longport/quote/TradeStatus.html +++ b/v2/java/com/longport/quote/TradeStatus.html @@ -2,10 +2,10 @@ - + TradeStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/TradesHandler.html b/v2/java/com/longport/quote/TradesHandler.html index 3b79864d1..e56d89a93 100644 --- a/v2/java/com/longport/quote/TradesHandler.html +++ b/v2/java/com/longport/quote/TradesHandler.html @@ -2,10 +2,10 @@ - + TradesHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/TradingSessionInfo.html b/v2/java/com/longport/quote/TradingSessionInfo.html index 6c56f208a..acaf81ff8 100644 --- a/v2/java/com/longport/quote/TradingSessionInfo.html +++ b/v2/java/com/longport/quote/TradingSessionInfo.html @@ -2,10 +2,10 @@ - + TradingSessionInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/UpdateWatchlistGroup.html b/v2/java/com/longport/quote/UpdateWatchlistGroup.html index d2f1c2e13..88862e107 100644 --- a/v2/java/com/longport/quote/UpdateWatchlistGroup.html +++ b/v2/java/com/longport/quote/UpdateWatchlistGroup.html @@ -2,10 +2,10 @@ - + UpdateWatchlistGroup (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/WarrantInfo.html b/v2/java/com/longport/quote/WarrantInfo.html index 635eabaf2..391df63f1 100644 --- a/v2/java/com/longport/quote/WarrantInfo.html +++ b/v2/java/com/longport/quote/WarrantInfo.html @@ -2,10 +2,10 @@ - + WarrantInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/WarrantQuote.html b/v2/java/com/longport/quote/WarrantQuote.html index 42d2767b2..0c624c05c 100644 --- a/v2/java/com/longport/quote/WarrantQuote.html +++ b/v2/java/com/longport/quote/WarrantQuote.html @@ -2,10 +2,10 @@ - + WarrantQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/WarrantSortBy.html b/v2/java/com/longport/quote/WarrantSortBy.html index 95aab5741..283eaefb3 100644 --- a/v2/java/com/longport/quote/WarrantSortBy.html +++ b/v2/java/com/longport/quote/WarrantSortBy.html @@ -2,10 +2,10 @@ - + WarrantSortBy (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/WarrantStatus.html b/v2/java/com/longport/quote/WarrantStatus.html index 6c1090448..9a5f7de5b 100644 --- a/v2/java/com/longport/quote/WarrantStatus.html +++ b/v2/java/com/longport/quote/WarrantStatus.html @@ -2,10 +2,10 @@ - + WarrantStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/WarrantType.html b/v2/java/com/longport/quote/WarrantType.html index 23642ded8..433be7ceb 100644 --- a/v2/java/com/longport/quote/WarrantType.html +++ b/v2/java/com/longport/quote/WarrantType.html @@ -2,10 +2,10 @@ - + WarrantType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/WatchlistGroup.html b/v2/java/com/longport/quote/WatchlistGroup.html index c0b60818d..fdd7b31e0 100644 --- a/v2/java/com/longport/quote/WatchlistGroup.html +++ b/v2/java/com/longport/quote/WatchlistGroup.html @@ -2,10 +2,10 @@ - + WatchlistGroup (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/WatchlistSecurity.html b/v2/java/com/longport/quote/WatchlistSecurity.html index e97c23323..7acd2e9a5 100644 --- a/v2/java/com/longport/quote/WatchlistSecurity.html +++ b/v2/java/com/longport/quote/WatchlistSecurity.html @@ -2,10 +2,10 @@ - + WatchlistSecurity (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/AdjustType.html b/v2/java/com/longport/quote/class-use/AdjustType.html index 022d9d645..f3f30746b 100644 --- a/v2/java/com/longport/quote/class-use/AdjustType.html +++ b/v2/java/com/longport/quote/class-use/AdjustType.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.AdjustType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/Brokers.html b/v2/java/com/longport/quote/class-use/Brokers.html index a923f3889..f75ac9360 100644 --- a/v2/java/com/longport/quote/class-use/Brokers.html +++ b/v2/java/com/longport/quote/class-use/Brokers.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.Brokers (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/BrokersHandler.html b/v2/java/com/longport/quote/class-use/BrokersHandler.html index 5c451f961..0a268e224 100644 --- a/v2/java/com/longport/quote/class-use/BrokersHandler.html +++ b/v2/java/com/longport/quote/class-use/BrokersHandler.html @@ -2,10 +2,10 @@ - + Uses of Interface com.longport.quote.BrokersHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/CalcIndex.html b/v2/java/com/longport/quote/class-use/CalcIndex.html index 70862080c..f3f8bf376 100644 --- a/v2/java/com/longport/quote/class-use/CalcIndex.html +++ b/v2/java/com/longport/quote/class-use/CalcIndex.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.CalcIndex (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/Candlestick.html b/v2/java/com/longport/quote/class-use/Candlestick.html index ccc10465c..401aa0e06 100644 --- a/v2/java/com/longport/quote/class-use/Candlestick.html +++ b/v2/java/com/longport/quote/class-use/Candlestick.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.Candlestick (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/CandlestickHandler.html b/v2/java/com/longport/quote/class-use/CandlestickHandler.html index ed8d55cef..f39b24b3e 100644 --- a/v2/java/com/longport/quote/class-use/CandlestickHandler.html +++ b/v2/java/com/longport/quote/class-use/CandlestickHandler.html @@ -2,10 +2,10 @@ - + Uses of Interface com.longport.quote.CandlestickHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/CapitalDistribution.html b/v2/java/com/longport/quote/class-use/CapitalDistribution.html index ff1741f9d..ca5d48283 100644 --- a/v2/java/com/longport/quote/class-use/CapitalDistribution.html +++ b/v2/java/com/longport/quote/class-use/CapitalDistribution.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.CapitalDistribution (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/CapitalDistributionResponse.html b/v2/java/com/longport/quote/class-use/CapitalDistributionResponse.html index 1f261c4c5..6dd76bfb9 100644 --- a/v2/java/com/longport/quote/class-use/CapitalDistributionResponse.html +++ b/v2/java/com/longport/quote/class-use/CapitalDistributionResponse.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.CapitalDistributionResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/CapitalFlowLine.html b/v2/java/com/longport/quote/class-use/CapitalFlowLine.html index c931a5b97..e97b3ddf9 100644 --- a/v2/java/com/longport/quote/class-use/CapitalFlowLine.html +++ b/v2/java/com/longport/quote/class-use/CapitalFlowLine.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.CapitalFlowLine (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/CreateWatchlistGroup.html b/v2/java/com/longport/quote/class-use/CreateWatchlistGroup.html index 9fca3caf1..b69175934 100644 --- a/v2/java/com/longport/quote/class-use/CreateWatchlistGroup.html +++ b/v2/java/com/longport/quote/class-use/CreateWatchlistGroup.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.CreateWatchlistGroup (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/CreateWatchlistGroupResponse.html b/v2/java/com/longport/quote/class-use/CreateWatchlistGroupResponse.html index 5bffbc4b5..0d1e96bac 100644 --- a/v2/java/com/longport/quote/class-use/CreateWatchlistGroupResponse.html +++ b/v2/java/com/longport/quote/class-use/CreateWatchlistGroupResponse.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.CreateWatchlistGroupResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/DeleteWatchlistGroup.html b/v2/java/com/longport/quote/class-use/DeleteWatchlistGroup.html index acaff7d90..85c0e4472 100644 --- a/v2/java/com/longport/quote/class-use/DeleteWatchlistGroup.html +++ b/v2/java/com/longport/quote/class-use/DeleteWatchlistGroup.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.DeleteWatchlistGroup (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/Depth.html b/v2/java/com/longport/quote/class-use/Depth.html index 1cf031b96..69499ce37 100644 --- a/v2/java/com/longport/quote/class-use/Depth.html +++ b/v2/java/com/longport/quote/class-use/Depth.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.Depth (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/DepthHandler.html b/v2/java/com/longport/quote/class-use/DepthHandler.html index ea0dc87cb..2fd68f077 100644 --- a/v2/java/com/longport/quote/class-use/DepthHandler.html +++ b/v2/java/com/longport/quote/class-use/DepthHandler.html @@ -2,10 +2,10 @@ - + Uses of Interface com.longport.quote.DepthHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/DerivativeType.html b/v2/java/com/longport/quote/class-use/DerivativeType.html index 3c1ca2e1f..7aff3b050 100644 --- a/v2/java/com/longport/quote/class-use/DerivativeType.html +++ b/v2/java/com/longport/quote/class-use/DerivativeType.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.DerivativeType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/FilterWarrantExpiryDate.html b/v2/java/com/longport/quote/class-use/FilterWarrantExpiryDate.html index 32482a2bb..f99081fce 100644 --- a/v2/java/com/longport/quote/class-use/FilterWarrantExpiryDate.html +++ b/v2/java/com/longport/quote/class-use/FilterWarrantExpiryDate.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.FilterWarrantExpiryDate (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/FilterWarrantInOutBoundsType.html b/v2/java/com/longport/quote/class-use/FilterWarrantInOutBoundsType.html index 65a699a62..685dd0fdb 100644 --- a/v2/java/com/longport/quote/class-use/FilterWarrantInOutBoundsType.html +++ b/v2/java/com/longport/quote/class-use/FilterWarrantInOutBoundsType.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.FilterWarrantInOutBoundsType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/IntradayLine.html b/v2/java/com/longport/quote/class-use/IntradayLine.html index dbb3d114f..5b1b1c3a3 100644 --- a/v2/java/com/longport/quote/class-use/IntradayLine.html +++ b/v2/java/com/longport/quote/class-use/IntradayLine.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.IntradayLine (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/IssuerInfo.html b/v2/java/com/longport/quote/class-use/IssuerInfo.html index 88ff54189..eb32db71a 100644 --- a/v2/java/com/longport/quote/class-use/IssuerInfo.html +++ b/v2/java/com/longport/quote/class-use/IssuerInfo.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.IssuerInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/MarketTradingDays.html b/v2/java/com/longport/quote/class-use/MarketTradingDays.html index c967f441e..1b3dceff3 100644 --- a/v2/java/com/longport/quote/class-use/MarketTradingDays.html +++ b/v2/java/com/longport/quote/class-use/MarketTradingDays.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.MarketTradingDays (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/MarketTradingSession.html b/v2/java/com/longport/quote/class-use/MarketTradingSession.html index 6507404bd..9d33ae5d3 100644 --- a/v2/java/com/longport/quote/class-use/MarketTradingSession.html +++ b/v2/java/com/longport/quote/class-use/MarketTradingSession.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.MarketTradingSession (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/OptionDirection.html b/v2/java/com/longport/quote/class-use/OptionDirection.html index a7a03af0e..57bc65ed4 100644 --- a/v2/java/com/longport/quote/class-use/OptionDirection.html +++ b/v2/java/com/longport/quote/class-use/OptionDirection.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.OptionDirection (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/OptionQuote.html b/v2/java/com/longport/quote/class-use/OptionQuote.html index a8dc77d1a..d629d0673 100644 --- a/v2/java/com/longport/quote/class-use/OptionQuote.html +++ b/v2/java/com/longport/quote/class-use/OptionQuote.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.OptionQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/OptionType.html b/v2/java/com/longport/quote/class-use/OptionType.html index c29ea6c44..8d3c443d7 100644 --- a/v2/java/com/longport/quote/class-use/OptionType.html +++ b/v2/java/com/longport/quote/class-use/OptionType.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.OptionType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/ParticipantInfo.html b/v2/java/com/longport/quote/class-use/ParticipantInfo.html index 8b9013a80..8a28254d8 100644 --- a/v2/java/com/longport/quote/class-use/ParticipantInfo.html +++ b/v2/java/com/longport/quote/class-use/ParticipantInfo.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.ParticipantInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/Period.html b/v2/java/com/longport/quote/class-use/Period.html index 4cd575e95..32c68e1d3 100644 --- a/v2/java/com/longport/quote/class-use/Period.html +++ b/v2/java/com/longport/quote/class-use/Period.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.Period (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/PrePostQuote.html b/v2/java/com/longport/quote/class-use/PrePostQuote.html index bcd1dc410..1cf9388b1 100644 --- a/v2/java/com/longport/quote/class-use/PrePostQuote.html +++ b/v2/java/com/longport/quote/class-use/PrePostQuote.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.PrePostQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/PushBrokers.html b/v2/java/com/longport/quote/class-use/PushBrokers.html index 4b7dd40fd..55c28d463 100644 --- a/v2/java/com/longport/quote/class-use/PushBrokers.html +++ b/v2/java/com/longport/quote/class-use/PushBrokers.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.PushBrokers (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/PushCandlestick.html b/v2/java/com/longport/quote/class-use/PushCandlestick.html index 1fec3280a..b1fea87ba 100644 --- a/v2/java/com/longport/quote/class-use/PushCandlestick.html +++ b/v2/java/com/longport/quote/class-use/PushCandlestick.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.PushCandlestick (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/PushDepth.html b/v2/java/com/longport/quote/class-use/PushDepth.html index 448355c49..0e572b96e 100644 --- a/v2/java/com/longport/quote/class-use/PushDepth.html +++ b/v2/java/com/longport/quote/class-use/PushDepth.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.PushDepth (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/PushQuote.html b/v2/java/com/longport/quote/class-use/PushQuote.html index 44e336efc..c55fc7253 100644 --- a/v2/java/com/longport/quote/class-use/PushQuote.html +++ b/v2/java/com/longport/quote/class-use/PushQuote.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.PushQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/PushTrades.html b/v2/java/com/longport/quote/class-use/PushTrades.html index deae52240..d59e9dca3 100644 --- a/v2/java/com/longport/quote/class-use/PushTrades.html +++ b/v2/java/com/longport/quote/class-use/PushTrades.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.PushTrades (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/QueryWarrantOptions.html b/v2/java/com/longport/quote/class-use/QueryWarrantOptions.html index 863ab673e..124c21f22 100644 --- a/v2/java/com/longport/quote/class-use/QueryWarrantOptions.html +++ b/v2/java/com/longport/quote/class-use/QueryWarrantOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.QueryWarrantOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/QuoteContext.html b/v2/java/com/longport/quote/class-use/QuoteContext.html index 1a5560a1c..b636c380c 100644 --- a/v2/java/com/longport/quote/class-use/QuoteContext.html +++ b/v2/java/com/longport/quote/class-use/QuoteContext.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.QuoteContext (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/QuoteHandler.html b/v2/java/com/longport/quote/class-use/QuoteHandler.html index 9e92ba975..3e89d1316 100644 --- a/v2/java/com/longport/quote/class-use/QuoteHandler.html +++ b/v2/java/com/longport/quote/class-use/QuoteHandler.html @@ -2,10 +2,10 @@ - + Uses of Interface com.longport.quote.QuoteHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/QuotePackageDetail.html b/v2/java/com/longport/quote/class-use/QuotePackageDetail.html index f056e363a..6c7564716 100644 --- a/v2/java/com/longport/quote/class-use/QuotePackageDetail.html +++ b/v2/java/com/longport/quote/class-use/QuotePackageDetail.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.QuotePackageDetail (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/RealtimeQuote.html b/v2/java/com/longport/quote/class-use/RealtimeQuote.html index 849ae752a..424c36985 100644 --- a/v2/java/com/longport/quote/class-use/RealtimeQuote.html +++ b/v2/java/com/longport/quote/class-use/RealtimeQuote.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.RealtimeQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/SecuritiesUpdateMode.html b/v2/java/com/longport/quote/class-use/SecuritiesUpdateMode.html index ee611ff25..f1ee6c2da 100644 --- a/v2/java/com/longport/quote/class-use/SecuritiesUpdateMode.html +++ b/v2/java/com/longport/quote/class-use/SecuritiesUpdateMode.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.SecuritiesUpdateMode (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/Security.html b/v2/java/com/longport/quote/class-use/Security.html index a5d0f3245..a0be239ab 100644 --- a/v2/java/com/longport/quote/class-use/Security.html +++ b/v2/java/com/longport/quote/class-use/Security.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.Security (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/SecurityBoard.html b/v2/java/com/longport/quote/class-use/SecurityBoard.html index 6af845673..b2da964b6 100644 --- a/v2/java/com/longport/quote/class-use/SecurityBoard.html +++ b/v2/java/com/longport/quote/class-use/SecurityBoard.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.SecurityBoard (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/SecurityBrokers.html b/v2/java/com/longport/quote/class-use/SecurityBrokers.html index 66f47d509..19add0f0c 100644 --- a/v2/java/com/longport/quote/class-use/SecurityBrokers.html +++ b/v2/java/com/longport/quote/class-use/SecurityBrokers.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.SecurityBrokers (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/SecurityCalcIndex.html b/v2/java/com/longport/quote/class-use/SecurityCalcIndex.html index 1a6398fb9..c9f1e39a7 100644 --- a/v2/java/com/longport/quote/class-use/SecurityCalcIndex.html +++ b/v2/java/com/longport/quote/class-use/SecurityCalcIndex.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.SecurityCalcIndex (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/SecurityDepth.html b/v2/java/com/longport/quote/class-use/SecurityDepth.html index 2713ff78a..e3a0c943b 100644 --- a/v2/java/com/longport/quote/class-use/SecurityDepth.html +++ b/v2/java/com/longport/quote/class-use/SecurityDepth.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.SecurityDepth (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/SecurityListCategory.html b/v2/java/com/longport/quote/class-use/SecurityListCategory.html index aed191580..25b697fd1 100644 --- a/v2/java/com/longport/quote/class-use/SecurityListCategory.html +++ b/v2/java/com/longport/quote/class-use/SecurityListCategory.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.SecurityListCategory (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/SecurityQuote.html b/v2/java/com/longport/quote/class-use/SecurityQuote.html index b12a5bffe..c03a6606b 100644 --- a/v2/java/com/longport/quote/class-use/SecurityQuote.html +++ b/v2/java/com/longport/quote/class-use/SecurityQuote.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.SecurityQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/SecurityStaticInfo.html b/v2/java/com/longport/quote/class-use/SecurityStaticInfo.html index a941ea6b3..decdce406 100644 --- a/v2/java/com/longport/quote/class-use/SecurityStaticInfo.html +++ b/v2/java/com/longport/quote/class-use/SecurityStaticInfo.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.SecurityStaticInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/SortOrderType.html b/v2/java/com/longport/quote/class-use/SortOrderType.html index f194faa7d..2c52b7393 100644 --- a/v2/java/com/longport/quote/class-use/SortOrderType.html +++ b/v2/java/com/longport/quote/class-use/SortOrderType.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.SortOrderType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/StrikePriceInfo.html b/v2/java/com/longport/quote/class-use/StrikePriceInfo.html index f3cd86c05..0dd359a92 100644 --- a/v2/java/com/longport/quote/class-use/StrikePriceInfo.html +++ b/v2/java/com/longport/quote/class-use/StrikePriceInfo.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.StrikePriceInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/SubFlags.html b/v2/java/com/longport/quote/class-use/SubFlags.html index c7f902103..fd3fa6636 100644 --- a/v2/java/com/longport/quote/class-use/SubFlags.html +++ b/v2/java/com/longport/quote/class-use/SubFlags.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.SubFlags (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/Subscription.html b/v2/java/com/longport/quote/class-use/Subscription.html index 3c14d4341..a0175465e 100644 --- a/v2/java/com/longport/quote/class-use/Subscription.html +++ b/v2/java/com/longport/quote/class-use/Subscription.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.Subscription (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/Trade.html b/v2/java/com/longport/quote/class-use/Trade.html index 32af8b26a..ca3e21e09 100644 --- a/v2/java/com/longport/quote/class-use/Trade.html +++ b/v2/java/com/longport/quote/class-use/Trade.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.Trade (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/TradeDirection.html b/v2/java/com/longport/quote/class-use/TradeDirection.html index 42b99a9b9..72b4a815c 100644 --- a/v2/java/com/longport/quote/class-use/TradeDirection.html +++ b/v2/java/com/longport/quote/class-use/TradeDirection.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.TradeDirection (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/TradeSession.html b/v2/java/com/longport/quote/class-use/TradeSession.html index 3cb0eb559..7554e19d8 100644 --- a/v2/java/com/longport/quote/class-use/TradeSession.html +++ b/v2/java/com/longport/quote/class-use/TradeSession.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.TradeSession (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/TradeStatus.html b/v2/java/com/longport/quote/class-use/TradeStatus.html index 0bca05582..840e0cce1 100644 --- a/v2/java/com/longport/quote/class-use/TradeStatus.html +++ b/v2/java/com/longport/quote/class-use/TradeStatus.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.TradeStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/TradesHandler.html b/v2/java/com/longport/quote/class-use/TradesHandler.html index 8b4fd850a..d87a600ec 100644 --- a/v2/java/com/longport/quote/class-use/TradesHandler.html +++ b/v2/java/com/longport/quote/class-use/TradesHandler.html @@ -2,10 +2,10 @@ - + Uses of Interface com.longport.quote.TradesHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/TradingSessionInfo.html b/v2/java/com/longport/quote/class-use/TradingSessionInfo.html index 332e74f0b..55ac1794a 100644 --- a/v2/java/com/longport/quote/class-use/TradingSessionInfo.html +++ b/v2/java/com/longport/quote/class-use/TradingSessionInfo.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.TradingSessionInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/UpdateWatchlistGroup.html b/v2/java/com/longport/quote/class-use/UpdateWatchlistGroup.html index ad29eb692..e95a0e506 100644 --- a/v2/java/com/longport/quote/class-use/UpdateWatchlistGroup.html +++ b/v2/java/com/longport/quote/class-use/UpdateWatchlistGroup.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.UpdateWatchlistGroup (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/WarrantInfo.html b/v2/java/com/longport/quote/class-use/WarrantInfo.html index e0d465013..679949098 100644 --- a/v2/java/com/longport/quote/class-use/WarrantInfo.html +++ b/v2/java/com/longport/quote/class-use/WarrantInfo.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.WarrantInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/WarrantQuote.html b/v2/java/com/longport/quote/class-use/WarrantQuote.html index 1bc13f46d..8a14627e5 100644 --- a/v2/java/com/longport/quote/class-use/WarrantQuote.html +++ b/v2/java/com/longport/quote/class-use/WarrantQuote.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.WarrantQuote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/WarrantSortBy.html b/v2/java/com/longport/quote/class-use/WarrantSortBy.html index 0a023b3e3..83501663b 100644 --- a/v2/java/com/longport/quote/class-use/WarrantSortBy.html +++ b/v2/java/com/longport/quote/class-use/WarrantSortBy.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.WarrantSortBy (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/WarrantStatus.html b/v2/java/com/longport/quote/class-use/WarrantStatus.html index f3a6ed4b0..292837243 100644 --- a/v2/java/com/longport/quote/class-use/WarrantStatus.html +++ b/v2/java/com/longport/quote/class-use/WarrantStatus.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.WarrantStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/WarrantType.html b/v2/java/com/longport/quote/class-use/WarrantType.html index b4881bbe8..23cee1809 100644 --- a/v2/java/com/longport/quote/class-use/WarrantType.html +++ b/v2/java/com/longport/quote/class-use/WarrantType.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.WarrantType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/WatchlistGroup.html b/v2/java/com/longport/quote/class-use/WatchlistGroup.html index e84e86578..1bb622b8c 100644 --- a/v2/java/com/longport/quote/class-use/WatchlistGroup.html +++ b/v2/java/com/longport/quote/class-use/WatchlistGroup.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.WatchlistGroup (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/class-use/WatchlistSecurity.html b/v2/java/com/longport/quote/class-use/WatchlistSecurity.html index bb283e729..cd12ebb96 100644 --- a/v2/java/com/longport/quote/class-use/WatchlistSecurity.html +++ b/v2/java/com/longport/quote/class-use/WatchlistSecurity.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.quote.WatchlistSecurity (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/package-summary.html b/v2/java/com/longport/quote/package-summary.html index c957bacea..712f0bc6b 100644 --- a/v2/java/com/longport/quote/package-summary.html +++ b/v2/java/com/longport/quote/package-summary.html @@ -2,10 +2,10 @@ - + com.longport.quote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/package-tree.html b/v2/java/com/longport/quote/package-tree.html index eec479f2c..41aea4668 100644 --- a/v2/java/com/longport/quote/package-tree.html +++ b/v2/java/com/longport/quote/package-tree.html @@ -2,10 +2,10 @@ - + com.longport.quote Class Hierarchy (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/quote/package-use.html b/v2/java/com/longport/quote/package-use.html index ea09b74da..feca732c7 100644 --- a/v2/java/com/longport/quote/package-use.html +++ b/v2/java/com/longport/quote/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.longport.quote (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/AccountBalance.html b/v2/java/com/longport/trade/AccountBalance.html index 4ef59bf81..57771319c 100644 --- a/v2/java/com/longport/trade/AccountBalance.html +++ b/v2/java/com/longport/trade/AccountBalance.html @@ -2,10 +2,10 @@ - + AccountBalance (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/BalanceType.html b/v2/java/com/longport/trade/BalanceType.html index d9203436a..1cdc3bb1e 100644 --- a/v2/java/com/longport/trade/BalanceType.html +++ b/v2/java/com/longport/trade/BalanceType.html @@ -2,10 +2,10 @@ - + BalanceType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/CashFlow.html b/v2/java/com/longport/trade/CashFlow.html index 57242e25c..2f50e7791 100644 --- a/v2/java/com/longport/trade/CashFlow.html +++ b/v2/java/com/longport/trade/CashFlow.html @@ -2,10 +2,10 @@ - + CashFlow (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/CashFlowDirection.html b/v2/java/com/longport/trade/CashFlowDirection.html index fab1145e4..955192e76 100644 --- a/v2/java/com/longport/trade/CashFlowDirection.html +++ b/v2/java/com/longport/trade/CashFlowDirection.html @@ -2,10 +2,10 @@ - + CashFlowDirection (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/CashInfo.html b/v2/java/com/longport/trade/CashInfo.html index f8b1470be..ef3571400 100644 --- a/v2/java/com/longport/trade/CashInfo.html +++ b/v2/java/com/longport/trade/CashInfo.html @@ -2,10 +2,10 @@ - + CashInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/ChargeCategoryCode.html b/v2/java/com/longport/trade/ChargeCategoryCode.html index 475a27855..29bb91a21 100644 --- a/v2/java/com/longport/trade/ChargeCategoryCode.html +++ b/v2/java/com/longport/trade/ChargeCategoryCode.html @@ -2,10 +2,10 @@ - + ChargeCategoryCode (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/CommissionFreeStatus.html b/v2/java/com/longport/trade/CommissionFreeStatus.html index a8dba492e..f499c7883 100644 --- a/v2/java/com/longport/trade/CommissionFreeStatus.html +++ b/v2/java/com/longport/trade/CommissionFreeStatus.html @@ -2,10 +2,10 @@ - + CommissionFreeStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/DeductionStatus.html b/v2/java/com/longport/trade/DeductionStatus.html index 35c01d705..025fe9ac2 100644 --- a/v2/java/com/longport/trade/DeductionStatus.html +++ b/v2/java/com/longport/trade/DeductionStatus.html @@ -2,10 +2,10 @@ - + DeductionStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/EstimateMaxPurchaseQuantityOptions.html b/v2/java/com/longport/trade/EstimateMaxPurchaseQuantityOptions.html index 706ac6814..2fb6d2b6b 100644 --- a/v2/java/com/longport/trade/EstimateMaxPurchaseQuantityOptions.html +++ b/v2/java/com/longport/trade/EstimateMaxPurchaseQuantityOptions.html @@ -2,10 +2,10 @@ - + EstimateMaxPurchaseQuantityOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/EstimateMaxPurchaseQuantityResponse.html b/v2/java/com/longport/trade/EstimateMaxPurchaseQuantityResponse.html index 1caf578f3..2d4aeee9e 100644 --- a/v2/java/com/longport/trade/EstimateMaxPurchaseQuantityResponse.html +++ b/v2/java/com/longport/trade/EstimateMaxPurchaseQuantityResponse.html @@ -2,10 +2,10 @@ - + EstimateMaxPurchaseQuantityResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/Execution.html b/v2/java/com/longport/trade/Execution.html index 82088c14e..6cda4f9ef 100644 --- a/v2/java/com/longport/trade/Execution.html +++ b/v2/java/com/longport/trade/Execution.html @@ -2,10 +2,10 @@ - + Execution (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/FundPosition.html b/v2/java/com/longport/trade/FundPosition.html index e33e1864f..958a80af5 100644 --- a/v2/java/com/longport/trade/FundPosition.html +++ b/v2/java/com/longport/trade/FundPosition.html @@ -2,10 +2,10 @@ - + FundPosition (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/FundPositionChannel.html b/v2/java/com/longport/trade/FundPositionChannel.html index f9882da7b..dd9824cc0 100644 --- a/v2/java/com/longport/trade/FundPositionChannel.html +++ b/v2/java/com/longport/trade/FundPositionChannel.html @@ -2,10 +2,10 @@ - + FundPositionChannel (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/FundPositionsResponse.html b/v2/java/com/longport/trade/FundPositionsResponse.html index d9b75b694..32110eb83 100644 --- a/v2/java/com/longport/trade/FundPositionsResponse.html +++ b/v2/java/com/longport/trade/FundPositionsResponse.html @@ -2,10 +2,10 @@ - + FundPositionsResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/GetCashFlowOptions.html b/v2/java/com/longport/trade/GetCashFlowOptions.html index 0476d15ef..08541087f 100644 --- a/v2/java/com/longport/trade/GetCashFlowOptions.html +++ b/v2/java/com/longport/trade/GetCashFlowOptions.html @@ -2,10 +2,10 @@ - + GetCashFlowOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/GetFundPositionsOptions.html b/v2/java/com/longport/trade/GetFundPositionsOptions.html index b9da27547..9dbf52e57 100644 --- a/v2/java/com/longport/trade/GetFundPositionsOptions.html +++ b/v2/java/com/longport/trade/GetFundPositionsOptions.html @@ -2,10 +2,10 @@ - + GetFundPositionsOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/GetHistoryExecutionsOptions.html b/v2/java/com/longport/trade/GetHistoryExecutionsOptions.html index 752cd9c04..e6eab5532 100644 --- a/v2/java/com/longport/trade/GetHistoryExecutionsOptions.html +++ b/v2/java/com/longport/trade/GetHistoryExecutionsOptions.html @@ -2,10 +2,10 @@ - + GetHistoryExecutionsOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/GetHistoryOrdersOptions.html b/v2/java/com/longport/trade/GetHistoryOrdersOptions.html index 41d97d3f2..07dcc3790 100644 --- a/v2/java/com/longport/trade/GetHistoryOrdersOptions.html +++ b/v2/java/com/longport/trade/GetHistoryOrdersOptions.html @@ -2,10 +2,10 @@ - + GetHistoryOrdersOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/GetStockPositionsOptions.html b/v2/java/com/longport/trade/GetStockPositionsOptions.html index bd511f3e2..b86a9a0ce 100644 --- a/v2/java/com/longport/trade/GetStockPositionsOptions.html +++ b/v2/java/com/longport/trade/GetStockPositionsOptions.html @@ -2,10 +2,10 @@ - + GetStockPositionsOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/GetTodayExecutionsOptions.html b/v2/java/com/longport/trade/GetTodayExecutionsOptions.html index a3b5e3fe0..d3434e0ed 100644 --- a/v2/java/com/longport/trade/GetTodayExecutionsOptions.html +++ b/v2/java/com/longport/trade/GetTodayExecutionsOptions.html @@ -2,10 +2,10 @@ - + GetTodayExecutionsOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/GetTodayOrdersOptions.html b/v2/java/com/longport/trade/GetTodayOrdersOptions.html index 80309e66f..d8f46edb3 100644 --- a/v2/java/com/longport/trade/GetTodayOrdersOptions.html +++ b/v2/java/com/longport/trade/GetTodayOrdersOptions.html @@ -2,10 +2,10 @@ - + GetTodayOrdersOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/MarginRatio.html b/v2/java/com/longport/trade/MarginRatio.html index 682460678..a13603f71 100644 --- a/v2/java/com/longport/trade/MarginRatio.html +++ b/v2/java/com/longport/trade/MarginRatio.html @@ -2,10 +2,10 @@ - + MarginRatio (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/Order.html b/v2/java/com/longport/trade/Order.html index fbc8ec473..560ca0680 100644 --- a/v2/java/com/longport/trade/Order.html +++ b/v2/java/com/longport/trade/Order.html @@ -2,10 +2,10 @@ - + Order (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OrderChangedHandler.html b/v2/java/com/longport/trade/OrderChangedHandler.html index 3cc4768ba..3c5d971ba 100644 --- a/v2/java/com/longport/trade/OrderChangedHandler.html +++ b/v2/java/com/longport/trade/OrderChangedHandler.html @@ -2,10 +2,10 @@ - + OrderChangedHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OrderChargeDetail.html b/v2/java/com/longport/trade/OrderChargeDetail.html index 987e1c680..356fb289e 100644 --- a/v2/java/com/longport/trade/OrderChargeDetail.html +++ b/v2/java/com/longport/trade/OrderChargeDetail.html @@ -2,10 +2,10 @@ - + OrderChargeDetail (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OrderChargeFee.html b/v2/java/com/longport/trade/OrderChargeFee.html index 9bb5caeb8..8004f077d 100644 --- a/v2/java/com/longport/trade/OrderChargeFee.html +++ b/v2/java/com/longport/trade/OrderChargeFee.html @@ -2,10 +2,10 @@ - + OrderChargeFee (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OrderChargeItem.html b/v2/java/com/longport/trade/OrderChargeItem.html index 56ae4d97b..1abca8cab 100644 --- a/v2/java/com/longport/trade/OrderChargeItem.html +++ b/v2/java/com/longport/trade/OrderChargeItem.html @@ -2,10 +2,10 @@ - + OrderChargeItem (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OrderDetail.html b/v2/java/com/longport/trade/OrderDetail.html index 569569cc5..d79b31ad6 100644 --- a/v2/java/com/longport/trade/OrderDetail.html +++ b/v2/java/com/longport/trade/OrderDetail.html @@ -2,10 +2,10 @@ - + OrderDetail (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OrderHistoryDetail.html b/v2/java/com/longport/trade/OrderHistoryDetail.html index 5059d7a9a..6cd279da7 100644 --- a/v2/java/com/longport/trade/OrderHistoryDetail.html +++ b/v2/java/com/longport/trade/OrderHistoryDetail.html @@ -2,10 +2,10 @@ - + OrderHistoryDetail (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OrderSide.html b/v2/java/com/longport/trade/OrderSide.html index d328a0d82..3c65ceb8a 100644 --- a/v2/java/com/longport/trade/OrderSide.html +++ b/v2/java/com/longport/trade/OrderSide.html @@ -2,10 +2,10 @@ - + OrderSide (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OrderStatus.html b/v2/java/com/longport/trade/OrderStatus.html index c2d2fc6d7..6bc8d70cf 100644 --- a/v2/java/com/longport/trade/OrderStatus.html +++ b/v2/java/com/longport/trade/OrderStatus.html @@ -2,10 +2,10 @@ - + OrderStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OrderTag.html b/v2/java/com/longport/trade/OrderTag.html index 9f38ac0ca..0c6395787 100644 --- a/v2/java/com/longport/trade/OrderTag.html +++ b/v2/java/com/longport/trade/OrderTag.html @@ -2,10 +2,10 @@ - + OrderTag (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OrderType.html b/v2/java/com/longport/trade/OrderType.html index f7c22c89a..90ce8682f 100644 --- a/v2/java/com/longport/trade/OrderType.html +++ b/v2/java/com/longport/trade/OrderType.html @@ -2,10 +2,10 @@ - + OrderType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/OutsideRTH.html b/v2/java/com/longport/trade/OutsideRTH.html index ef3e296e0..6cc0ff84d 100644 --- a/v2/java/com/longport/trade/OutsideRTH.html +++ b/v2/java/com/longport/trade/OutsideRTH.html @@ -2,10 +2,10 @@ - + OutsideRTH (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/PushOrderChanged.html b/v2/java/com/longport/trade/PushOrderChanged.html index a22cc9bb5..0797323bc 100644 --- a/v2/java/com/longport/trade/PushOrderChanged.html +++ b/v2/java/com/longport/trade/PushOrderChanged.html @@ -2,10 +2,10 @@ - + PushOrderChanged (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/ReplaceOrderOptions.html b/v2/java/com/longport/trade/ReplaceOrderOptions.html index 3b714d9ac..37d95c79b 100644 --- a/v2/java/com/longport/trade/ReplaceOrderOptions.html +++ b/v2/java/com/longport/trade/ReplaceOrderOptions.html @@ -2,10 +2,10 @@ - + ReplaceOrderOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/StockPosition.html b/v2/java/com/longport/trade/StockPosition.html index 8cdc4db6b..a51cacfcf 100644 --- a/v2/java/com/longport/trade/StockPosition.html +++ b/v2/java/com/longport/trade/StockPosition.html @@ -2,10 +2,10 @@ - + StockPosition (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/StockPositionChannel.html b/v2/java/com/longport/trade/StockPositionChannel.html index 8d3923332..26f308ea7 100644 --- a/v2/java/com/longport/trade/StockPositionChannel.html +++ b/v2/java/com/longport/trade/StockPositionChannel.html @@ -2,10 +2,10 @@ - + StockPositionChannel (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/StockPositionsResponse.html b/v2/java/com/longport/trade/StockPositionsResponse.html index 6b483dcc4..045629d2a 100644 --- a/v2/java/com/longport/trade/StockPositionsResponse.html +++ b/v2/java/com/longport/trade/StockPositionsResponse.html @@ -2,10 +2,10 @@ - + StockPositionsResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/SubmitOrderOptions.html b/v2/java/com/longport/trade/SubmitOrderOptions.html index 1a748c2f2..ba180d63c 100644 --- a/v2/java/com/longport/trade/SubmitOrderOptions.html +++ b/v2/java/com/longport/trade/SubmitOrderOptions.html @@ -2,10 +2,10 @@ - + SubmitOrderOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/SubmitOrderResponse.html b/v2/java/com/longport/trade/SubmitOrderResponse.html index ef86a11bb..d3b2e2cad 100644 --- a/v2/java/com/longport/trade/SubmitOrderResponse.html +++ b/v2/java/com/longport/trade/SubmitOrderResponse.html @@ -2,10 +2,10 @@ - + SubmitOrderResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/TimeInForceType.html b/v2/java/com/longport/trade/TimeInForceType.html index a75591099..eef269073 100644 --- a/v2/java/com/longport/trade/TimeInForceType.html +++ b/v2/java/com/longport/trade/TimeInForceType.html @@ -2,10 +2,10 @@ - + TimeInForceType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/TopicType.html b/v2/java/com/longport/trade/TopicType.html index f1bd6b84f..6bb9529c1 100644 --- a/v2/java/com/longport/trade/TopicType.html +++ b/v2/java/com/longport/trade/TopicType.html @@ -2,10 +2,10 @@ - + TopicType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/TradeContext.html b/v2/java/com/longport/trade/TradeContext.html index 65d2e7a45..98219baa1 100644 --- a/v2/java/com/longport/trade/TradeContext.html +++ b/v2/java/com/longport/trade/TradeContext.html @@ -2,10 +2,10 @@ - + TradeContext (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/TriggerStatus.html b/v2/java/com/longport/trade/TriggerStatus.html index b829b29ae..7b6ac6216 100644 --- a/v2/java/com/longport/trade/TriggerStatus.html +++ b/v2/java/com/longport/trade/TriggerStatus.html @@ -2,10 +2,10 @@ - + TriggerStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/AccountBalance.html b/v2/java/com/longport/trade/class-use/AccountBalance.html index e9e075aca..97ec92329 100644 --- a/v2/java/com/longport/trade/class-use/AccountBalance.html +++ b/v2/java/com/longport/trade/class-use/AccountBalance.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.AccountBalance (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/BalanceType.html b/v2/java/com/longport/trade/class-use/BalanceType.html index 257113a04..448010eb5 100644 --- a/v2/java/com/longport/trade/class-use/BalanceType.html +++ b/v2/java/com/longport/trade/class-use/BalanceType.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.BalanceType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/CashFlow.html b/v2/java/com/longport/trade/class-use/CashFlow.html index 73d702d21..7ecac9ecb 100644 --- a/v2/java/com/longport/trade/class-use/CashFlow.html +++ b/v2/java/com/longport/trade/class-use/CashFlow.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.CashFlow (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/CashFlowDirection.html b/v2/java/com/longport/trade/class-use/CashFlowDirection.html index 600aeb722..c2a6bb7ac 100644 --- a/v2/java/com/longport/trade/class-use/CashFlowDirection.html +++ b/v2/java/com/longport/trade/class-use/CashFlowDirection.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.CashFlowDirection (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/CashInfo.html b/v2/java/com/longport/trade/class-use/CashInfo.html index 37d575a57..dc4b1139e 100644 --- a/v2/java/com/longport/trade/class-use/CashInfo.html +++ b/v2/java/com/longport/trade/class-use/CashInfo.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.CashInfo (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/ChargeCategoryCode.html b/v2/java/com/longport/trade/class-use/ChargeCategoryCode.html index 7ed42cc43..8ec8c9c9f 100644 --- a/v2/java/com/longport/trade/class-use/ChargeCategoryCode.html +++ b/v2/java/com/longport/trade/class-use/ChargeCategoryCode.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.ChargeCategoryCode (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/CommissionFreeStatus.html b/v2/java/com/longport/trade/class-use/CommissionFreeStatus.html index 7e906155b..6b615158b 100644 --- a/v2/java/com/longport/trade/class-use/CommissionFreeStatus.html +++ b/v2/java/com/longport/trade/class-use/CommissionFreeStatus.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.CommissionFreeStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/DeductionStatus.html b/v2/java/com/longport/trade/class-use/DeductionStatus.html index c83188402..271a0be6c 100644 --- a/v2/java/com/longport/trade/class-use/DeductionStatus.html +++ b/v2/java/com/longport/trade/class-use/DeductionStatus.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.DeductionStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/EstimateMaxPurchaseQuantityOptions.html b/v2/java/com/longport/trade/class-use/EstimateMaxPurchaseQuantityOptions.html index d5d9a5c4a..a70d1be59 100644 --- a/v2/java/com/longport/trade/class-use/EstimateMaxPurchaseQuantityOptions.html +++ b/v2/java/com/longport/trade/class-use/EstimateMaxPurchaseQuantityOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.EstimateMaxPurchaseQuantityOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/EstimateMaxPurchaseQuantityResponse.html b/v2/java/com/longport/trade/class-use/EstimateMaxPurchaseQuantityResponse.html index 37254b5de..0dc485402 100644 --- a/v2/java/com/longport/trade/class-use/EstimateMaxPurchaseQuantityResponse.html +++ b/v2/java/com/longport/trade/class-use/EstimateMaxPurchaseQuantityResponse.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.EstimateMaxPurchaseQuantityResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/Execution.html b/v2/java/com/longport/trade/class-use/Execution.html index 8b1efbde8..c3e8a089d 100644 --- a/v2/java/com/longport/trade/class-use/Execution.html +++ b/v2/java/com/longport/trade/class-use/Execution.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.Execution (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/FundPosition.html b/v2/java/com/longport/trade/class-use/FundPosition.html index a06605194..dd1a7dc99 100644 --- a/v2/java/com/longport/trade/class-use/FundPosition.html +++ b/v2/java/com/longport/trade/class-use/FundPosition.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.FundPosition (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/FundPositionChannel.html b/v2/java/com/longport/trade/class-use/FundPositionChannel.html index 97d11adfd..1c27dbe7a 100644 --- a/v2/java/com/longport/trade/class-use/FundPositionChannel.html +++ b/v2/java/com/longport/trade/class-use/FundPositionChannel.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.FundPositionChannel (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/FundPositionsResponse.html b/v2/java/com/longport/trade/class-use/FundPositionsResponse.html index 9ef4299ce..631c9151f 100644 --- a/v2/java/com/longport/trade/class-use/FundPositionsResponse.html +++ b/v2/java/com/longport/trade/class-use/FundPositionsResponse.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.FundPositionsResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/GetCashFlowOptions.html b/v2/java/com/longport/trade/class-use/GetCashFlowOptions.html index 573a9557b..6f193cd36 100644 --- a/v2/java/com/longport/trade/class-use/GetCashFlowOptions.html +++ b/v2/java/com/longport/trade/class-use/GetCashFlowOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.GetCashFlowOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/GetFundPositionsOptions.html b/v2/java/com/longport/trade/class-use/GetFundPositionsOptions.html index 538cd3800..60c7d26f0 100644 --- a/v2/java/com/longport/trade/class-use/GetFundPositionsOptions.html +++ b/v2/java/com/longport/trade/class-use/GetFundPositionsOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.GetFundPositionsOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/GetHistoryExecutionsOptions.html b/v2/java/com/longport/trade/class-use/GetHistoryExecutionsOptions.html index c6704d709..0f4bca4b6 100644 --- a/v2/java/com/longport/trade/class-use/GetHistoryExecutionsOptions.html +++ b/v2/java/com/longport/trade/class-use/GetHistoryExecutionsOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.GetHistoryExecutionsOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/GetHistoryOrdersOptions.html b/v2/java/com/longport/trade/class-use/GetHistoryOrdersOptions.html index 3cce4ddab..8f0206ae9 100644 --- a/v2/java/com/longport/trade/class-use/GetHistoryOrdersOptions.html +++ b/v2/java/com/longport/trade/class-use/GetHistoryOrdersOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.GetHistoryOrdersOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/GetStockPositionsOptions.html b/v2/java/com/longport/trade/class-use/GetStockPositionsOptions.html index f0c309cde..ad224088a 100644 --- a/v2/java/com/longport/trade/class-use/GetStockPositionsOptions.html +++ b/v2/java/com/longport/trade/class-use/GetStockPositionsOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.GetStockPositionsOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/GetTodayExecutionsOptions.html b/v2/java/com/longport/trade/class-use/GetTodayExecutionsOptions.html index 204ab3e28..fa5341fdd 100644 --- a/v2/java/com/longport/trade/class-use/GetTodayExecutionsOptions.html +++ b/v2/java/com/longport/trade/class-use/GetTodayExecutionsOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.GetTodayExecutionsOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/GetTodayOrdersOptions.html b/v2/java/com/longport/trade/class-use/GetTodayOrdersOptions.html index 81de7e79e..bc70778a9 100644 --- a/v2/java/com/longport/trade/class-use/GetTodayOrdersOptions.html +++ b/v2/java/com/longport/trade/class-use/GetTodayOrdersOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.GetTodayOrdersOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/MarginRatio.html b/v2/java/com/longport/trade/class-use/MarginRatio.html index 5b3400e7c..1e15b74e3 100644 --- a/v2/java/com/longport/trade/class-use/MarginRatio.html +++ b/v2/java/com/longport/trade/class-use/MarginRatio.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.MarginRatio (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/Order.html b/v2/java/com/longport/trade/class-use/Order.html index f1b45c7b9..0211ac78d 100644 --- a/v2/java/com/longport/trade/class-use/Order.html +++ b/v2/java/com/longport/trade/class-use/Order.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.Order (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OrderChangedHandler.html b/v2/java/com/longport/trade/class-use/OrderChangedHandler.html index fc8bbb8b5..99915aaed 100644 --- a/v2/java/com/longport/trade/class-use/OrderChangedHandler.html +++ b/v2/java/com/longport/trade/class-use/OrderChangedHandler.html @@ -2,10 +2,10 @@ - + Uses of Interface com.longport.trade.OrderChangedHandler (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OrderChargeDetail.html b/v2/java/com/longport/trade/class-use/OrderChargeDetail.html index 8167529dc..1d4c617c0 100644 --- a/v2/java/com/longport/trade/class-use/OrderChargeDetail.html +++ b/v2/java/com/longport/trade/class-use/OrderChargeDetail.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.OrderChargeDetail (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OrderChargeFee.html b/v2/java/com/longport/trade/class-use/OrderChargeFee.html index dc35c81d0..011143fa2 100644 --- a/v2/java/com/longport/trade/class-use/OrderChargeFee.html +++ b/v2/java/com/longport/trade/class-use/OrderChargeFee.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.OrderChargeFee (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OrderChargeItem.html b/v2/java/com/longport/trade/class-use/OrderChargeItem.html index 1224de7e2..6ae08f25b 100644 --- a/v2/java/com/longport/trade/class-use/OrderChargeItem.html +++ b/v2/java/com/longport/trade/class-use/OrderChargeItem.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.OrderChargeItem (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OrderDetail.html b/v2/java/com/longport/trade/class-use/OrderDetail.html index 85755fcf1..f2a42eb03 100644 --- a/v2/java/com/longport/trade/class-use/OrderDetail.html +++ b/v2/java/com/longport/trade/class-use/OrderDetail.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.OrderDetail (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OrderHistoryDetail.html b/v2/java/com/longport/trade/class-use/OrderHistoryDetail.html index b3e07fffb..a2bef0de5 100644 --- a/v2/java/com/longport/trade/class-use/OrderHistoryDetail.html +++ b/v2/java/com/longport/trade/class-use/OrderHistoryDetail.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.OrderHistoryDetail (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OrderSide.html b/v2/java/com/longport/trade/class-use/OrderSide.html index 8953727c4..497b8fbda 100644 --- a/v2/java/com/longport/trade/class-use/OrderSide.html +++ b/v2/java/com/longport/trade/class-use/OrderSide.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.OrderSide (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OrderStatus.html b/v2/java/com/longport/trade/class-use/OrderStatus.html index 09ca78ed4..5bd1e5c2c 100644 --- a/v2/java/com/longport/trade/class-use/OrderStatus.html +++ b/v2/java/com/longport/trade/class-use/OrderStatus.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.OrderStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OrderTag.html b/v2/java/com/longport/trade/class-use/OrderTag.html index 245df32cd..659873548 100644 --- a/v2/java/com/longport/trade/class-use/OrderTag.html +++ b/v2/java/com/longport/trade/class-use/OrderTag.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.OrderTag (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OrderType.html b/v2/java/com/longport/trade/class-use/OrderType.html index 8a994295b..48385bff4 100644 --- a/v2/java/com/longport/trade/class-use/OrderType.html +++ b/v2/java/com/longport/trade/class-use/OrderType.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.OrderType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/OutsideRTH.html b/v2/java/com/longport/trade/class-use/OutsideRTH.html index 9dc5fcd7e..70cc3fa28 100644 --- a/v2/java/com/longport/trade/class-use/OutsideRTH.html +++ b/v2/java/com/longport/trade/class-use/OutsideRTH.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.OutsideRTH (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/PushOrderChanged.html b/v2/java/com/longport/trade/class-use/PushOrderChanged.html index d03d683dd..5f4f1dc43 100644 --- a/v2/java/com/longport/trade/class-use/PushOrderChanged.html +++ b/v2/java/com/longport/trade/class-use/PushOrderChanged.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.PushOrderChanged (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/ReplaceOrderOptions.html b/v2/java/com/longport/trade/class-use/ReplaceOrderOptions.html index 4f8af1723..d9cef24e0 100644 --- a/v2/java/com/longport/trade/class-use/ReplaceOrderOptions.html +++ b/v2/java/com/longport/trade/class-use/ReplaceOrderOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.ReplaceOrderOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/StockPosition.html b/v2/java/com/longport/trade/class-use/StockPosition.html index b1bcc0bbf..b5342190b 100644 --- a/v2/java/com/longport/trade/class-use/StockPosition.html +++ b/v2/java/com/longport/trade/class-use/StockPosition.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.StockPosition (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/StockPositionChannel.html b/v2/java/com/longport/trade/class-use/StockPositionChannel.html index 15494e2f3..00e0e1794 100644 --- a/v2/java/com/longport/trade/class-use/StockPositionChannel.html +++ b/v2/java/com/longport/trade/class-use/StockPositionChannel.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.StockPositionChannel (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/StockPositionsResponse.html b/v2/java/com/longport/trade/class-use/StockPositionsResponse.html index 62677fb56..5eac119e4 100644 --- a/v2/java/com/longport/trade/class-use/StockPositionsResponse.html +++ b/v2/java/com/longport/trade/class-use/StockPositionsResponse.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.StockPositionsResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/SubmitOrderOptions.html b/v2/java/com/longport/trade/class-use/SubmitOrderOptions.html index f64525e59..f4989c2c0 100644 --- a/v2/java/com/longport/trade/class-use/SubmitOrderOptions.html +++ b/v2/java/com/longport/trade/class-use/SubmitOrderOptions.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.SubmitOrderOptions (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/SubmitOrderResponse.html b/v2/java/com/longport/trade/class-use/SubmitOrderResponse.html index f7407b4cb..79c50ac1e 100644 --- a/v2/java/com/longport/trade/class-use/SubmitOrderResponse.html +++ b/v2/java/com/longport/trade/class-use/SubmitOrderResponse.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.SubmitOrderResponse (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/TimeInForceType.html b/v2/java/com/longport/trade/class-use/TimeInForceType.html index c2f7f8a27..31f6266c5 100644 --- a/v2/java/com/longport/trade/class-use/TimeInForceType.html +++ b/v2/java/com/longport/trade/class-use/TimeInForceType.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.TimeInForceType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/TopicType.html b/v2/java/com/longport/trade/class-use/TopicType.html index eca9f4b82..3e2576bdc 100644 --- a/v2/java/com/longport/trade/class-use/TopicType.html +++ b/v2/java/com/longport/trade/class-use/TopicType.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.TopicType (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/TradeContext.html b/v2/java/com/longport/trade/class-use/TradeContext.html index de4c5de72..63fc9d651 100644 --- a/v2/java/com/longport/trade/class-use/TradeContext.html +++ b/v2/java/com/longport/trade/class-use/TradeContext.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.TradeContext (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/class-use/TriggerStatus.html b/v2/java/com/longport/trade/class-use/TriggerStatus.html index e2fd34729..dc36b214c 100644 --- a/v2/java/com/longport/trade/class-use/TriggerStatus.html +++ b/v2/java/com/longport/trade/class-use/TriggerStatus.html @@ -2,10 +2,10 @@ - + Uses of Class com.longport.trade.TriggerStatus (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/package-summary.html b/v2/java/com/longport/trade/package-summary.html index a10fc938c..1d8c93099 100644 --- a/v2/java/com/longport/trade/package-summary.html +++ b/v2/java/com/longport/trade/package-summary.html @@ -2,10 +2,10 @@ - + com.longport.trade (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/package-tree.html b/v2/java/com/longport/trade/package-tree.html index 59918b62f..e645b0344 100644 --- a/v2/java/com/longport/trade/package-tree.html +++ b/v2/java/com/longport/trade/package-tree.html @@ -2,10 +2,10 @@ - + com.longport.trade Class Hierarchy (longport-openapi 0.0.1 API) - + diff --git a/v2/java/com/longport/trade/package-use.html b/v2/java/com/longport/trade/package-use.html index 46ccce921..babe62240 100644 --- a/v2/java/com/longport/trade/package-use.html +++ b/v2/java/com/longport/trade/package-use.html @@ -2,10 +2,10 @@ - + Uses of Package com.longport.trade (longport-openapi 0.0.1 API) - + diff --git a/v2/java/constant-values.html b/v2/java/constant-values.html index 6d54ee288..bad7453b4 100644 --- a/v2/java/constant-values.html +++ b/v2/java/constant-values.html @@ -2,10 +2,10 @@ - + Constant Field Values (longport-openapi 0.0.1 API) - + diff --git a/v2/java/deprecated-list.html b/v2/java/deprecated-list.html index e50930887..b2c6bf6d1 100644 --- a/v2/java/deprecated-list.html +++ b/v2/java/deprecated-list.html @@ -2,10 +2,10 @@ - + Deprecated List (longport-openapi 0.0.1 API) - + diff --git a/v2/java/help-doc.html b/v2/java/help-doc.html index 2092f76cb..b3f51de7c 100644 --- a/v2/java/help-doc.html +++ b/v2/java/help-doc.html @@ -2,10 +2,10 @@ - + API Help (longport-openapi 0.0.1 API) - + diff --git a/v2/java/index-all.html b/v2/java/index-all.html index 783a1eddd..aafdab86c 100644 --- a/v2/java/index-all.html +++ b/v2/java/index-all.html @@ -2,10 +2,10 @@ - + Index (longport-openapi 0.0.1 API) - + diff --git a/v2/java/index.html b/v2/java/index.html index 6eda8a217..63f4af9a7 100644 --- a/v2/java/index.html +++ b/v2/java/index.html @@ -2,10 +2,10 @@ - + Overview (longport-openapi 0.0.1 API) - + diff --git a/v2/java/member-search-index.zip b/v2/java/member-search-index.zip index a228b65c967362cdc1b95fdd7197ad7c9a88ae75..14d03a0127999ef68a0a0e30c6637de809f93e59 100644 GIT binary patch delta 30 kcmdmEzsH_8z?+#xgn@&DgF#W!c_VMUJTs7n+a delta 30 kcmdmEzsH_8z?+#xgn@&DgW-&V^+w)!d1fFzIbYrv0CuYf%>V!Z diff --git a/v2/java/overview-summary.html b/v2/java/overview-summary.html index a3cc4d706..7a3fb7336 100644 --- a/v2/java/overview-summary.html +++ b/v2/java/overview-summary.html @@ -2,7 +2,7 @@ - + longport-openapi 0.0.1 API diff --git a/v2/java/overview-tree.html b/v2/java/overview-tree.html index 04cd02441..285c264fa 100644 --- a/v2/java/overview-tree.html +++ b/v2/java/overview-tree.html @@ -2,10 +2,10 @@ - + Class Hierarchy (longport-openapi 0.0.1 API) - + diff --git a/v2/java/package-search-index.zip b/v2/java/package-search-index.zip index 68361b3777a5b6f7bb5a5abf1e2e13eeac7259ad..b9030072c96b30aaccffefd2aa56a83d9e77f00b 100644 GIT binary patch delta 28 hcmey&_?eM6z?+#xgn@&DgF#W!c_QyrW)QX14**;z26zAf delta 28 hcmey&_?eM6z?+#xgn@&DgW-&V^+evO%phv19{_0A2h0Ef diff --git a/v2/java/serialized-form.html b/v2/java/serialized-form.html index 7f6448a0d..63f5e727d 100644 --- a/v2/java/serialized-form.html +++ b/v2/java/serialized-form.html @@ -2,10 +2,10 @@ - + Serialized Form (longport-openapi 0.0.1 API) - + diff --git a/v2/java/type-search-index.zip b/v2/java/type-search-index.zip index 586fca77ba45177cba9ce6ffa99f63d475979f90..b8d7038ac55e7a47a1e136b8f763abe5dd8ab006 100644 GIT binary patch delta 30 kcmX@YafE|6z?+#xgn@&DgF#W!c_Z&jW@aEg`6shC0ArB`^#A|> delta 30 kcmX@YafE|6z?+#xgn@&DgW-&V^+w*8%*;S~@=s=O0CGPFNdN!< diff --git a/v2/python/index.html b/v2/python/index.html index 9734c5bf2..6de8e9987 100644 --- a/v2/python/index.html +++ b/v2/python/index.html @@ -287,5 +287,5 @@ diff --git a/v2/python/sitemap.xml.gz b/v2/python/sitemap.xml.gz index 060efa53a9359fe955ade25838237fdcd7795cdb..006b5bc4939db62a70ad20ec735d19339e9f891e 100644 GIT binary patch delta 13 Ucmb=gXP58h;9y{1Fp<3i02nRHelp

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/v2/rust/longport/all.html b/v2/rust/longport/all.html index f75e752ba..23a0f836f 100644 --- a/v2/rust/longport/all.html +++ b/v2/rust/longport/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Macros

Type Aliases

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Macros

Type Aliases

\ No newline at end of file diff --git a/v2/rust/longport/enum.Error.html b/v2/rust/longport/enum.Error.html index 8e11e4680..2dd60bb16 100644 --- a/v2/rust/longport/enum.Error.html +++ b/v2/rust/longport/enum.Error.html @@ -1,52 +1,52 @@ -Error in longport - Rust
longport

Enum Error

Source
pub enum Error {
+Error in longport - Rust
longport

Enum Error

Source
pub enum Error {
     DecodeProtobuf(DecodeError),
-    DecodeJSON(Error),
+    DecodeJSON(Error),
     ParseField {
-        name: &'static str,
-        error: String,
+        name: &'static str,
+        error: String,
     },
-    UnknownCommand(u8),
+    UnknownCommand(u8),
     InvalidSecuritySymbol {
-        symbol: String,
+        symbol: String,
     },
     HttpClient(HttpClientError),
     WsClient(WsClientError),
 }
Expand description

LongPort OpenAPI SDK error type

Variants§

§

DecodeProtobuf(DecodeError)

Decode Protobuf error

-
§

DecodeJSON(Error)

Decode JSON error

+
§

DecodeJSON(Error)

Decode JSON error

§

ParseField

Parse field

-

Fields

§name: &'static str

Field name

-
§error: String

Error detail

-
§

UnknownCommand(u8)

Unknown command

-

Tuple Fields

§0: u8

Command code

+

Fields

§name: &'static str

Field name

+
§error: String

Error detail

+
§

UnknownCommand(u8)

Unknown command

+

Tuple Fields

§0: u8

Command code

§

InvalidSecuritySymbol

Invalid security symbol

-

Fields

§symbol: String

Security symbol

+

Fields

§symbol: String

Security symbol

§

HttpClient(HttpClientError)

HTTP client error

§

WsClient(WsClientError)

Websocket client error

Implementations§

Source§

impl Error

Source

pub fn into_simple_error(self) -> SimpleError

Consumes this error and returns a simple error

-

Trait Implementations§

Source§

impl Debug for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Error

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for Error

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<DecodeError> for Error

Source§

fn from(source: DecodeError) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Error

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for SimpleError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<HttpClientError> for Error

Source§

fn from(source: HttpClientError) -> Self

Converts to this type from the input type.
Source§

impl From<WsClientError> for Error

Source§

fn from(source: WsClientError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Debug for Error

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Error

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for Error

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<DecodeError> for Error

Source§

fn from(source: DecodeError) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Error

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for SimpleError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.
Source§

impl From<HttpClientError> for Error

Source§

fn from(source: HttpClientError) -> Self

Converts to this type from the input type.
Source§

impl From<WsClientError> for Error

Source§

fn from(source: WsClientError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl !Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where - T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/enum.Language.html b/v2/rust/longport/enum.Language.html index 7924f9bcf..c5fad65b6 100644 --- a/v2/rust/longport/enum.Language.html +++ b/v2/rust/longport/enum.Language.html @@ -1,4 +1,4 @@ -Language in longport - Rust
longport

Enum Language

Source
#[repr(i32)]
pub enum Language { +Language in longport - Rust
longport

Enum Language

Source
#[repr(i32)]
pub enum Language { ZH_CN = 0, ZH_HK = 2, EN = 1, @@ -6,32 +6,32 @@

Variants§

§

ZH_CN = 0

zh-CN

§

ZH_HK = 2

zh-HK

§

EN = 1

en

-

Trait Implementations§

Source§

impl Clone for Language

Source§

fn clone(&self) -> Language

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Language

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Language

Source§

fn default() -> Language

Returns the “default value” for a type. Read more
Source§

impl Display for Language

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Language> for i32

Source§

fn from(enum_value: Language) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Language

Source§

fn eq(&self, other: &Language) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Copy for Language

Source§

impl Eq for Language

Source§

impl StructuralPartialEq for Language

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for Language

Source§

fn clone(&self) -> Language

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Language

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Language

Source§

fn default() -> Language

Returns the “default value” for a type. Read more
Source§

impl Display for Language

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Language> for i32

Source§

fn from(enum_value: Language) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for Language

Source§

fn eq(&self, other: &Language) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Copy for Language

Source§

impl Eq for Language

Source§

impl StructuralPartialEq for Language

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where - T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/enum.Market.html b/v2/rust/longport/enum.Market.html index b58f06783..7e1ab913e 100644 --- a/v2/rust/longport/enum.Market.html +++ b/v2/rust/longport/enum.Market.html @@ -1,4 +1,4 @@ -Market in longport - Rust
longport

Enum Market

Source
pub enum Market {
+Market in longport - Rust
longport

Enum Market

Source
pub enum Market {
     Unknown,
     US,
     HK,
@@ -10,34 +10,34 @@
 
§

HK

HK market

§

CN

CN market

§

SG

SG market

-

Trait Implementations§

Source§

impl Clone for Market

Source§

fn clone(&self) -> Market

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Market

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Market

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Market

Source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Market

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for Market

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Market, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Market

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Market

Source§

fn eq(&self, other: &Market) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Serialize for Market

Source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for Market

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<Market, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for Market

Source§

impl Eq for Market

Source§

impl StructuralPartialEq for Market

Auto Trait Implementations§

§

impl Freeze for Market

§

impl RefUnwindSafe for Market

§

impl Send for Market

§

impl Sync for Market

§

impl Unpin for Market

§

impl UnwindSafe for Market

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for Market

Source§

fn clone(&self) -> Market

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Market

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Market

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Market

Source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Market

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for Market

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Market, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Market

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Market

Source§

fn eq(&self, other: &Market) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for Market

Source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for Market

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<Market, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for Market

Source§

impl Eq for Market

Source§

impl StructuralPartialEq for Market

Auto Trait Implementations§

§

impl Freeze for Market

§

impl RefUnwindSafe for Market

§

impl Send for Market

§

impl Sync for Market

§

impl Unpin for Market

§

impl UnwindSafe for Market

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where - T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/enum.PushCandlestickMode.html b/v2/rust/longport/enum.PushCandlestickMode.html index ee87c38e6..5ec57ecbb 100644 --- a/v2/rust/longport/enum.PushCandlestickMode.html +++ b/v2/rust/longport/enum.PushCandlestickMode.html @@ -1,34 +1,34 @@ -PushCandlestickMode in longport - Rust
longport

Enum PushCandlestickMode

Source
pub enum PushCandlestickMode {
+PushCandlestickMode in longport - Rust
longport

Enum PushCandlestickMode

Source
pub enum PushCandlestickMode {
     Realtime,
     Confirmed,
 }
Expand description

Push mode for candlestick

Variants§

§

Realtime

Realtime mode

§

Confirmed

Confirmed mode

-

Trait Implementations§

Source§

impl Clone for PushCandlestickMode

Source§

fn clone(&self) -> PushCandlestickMode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PushCandlestickMode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PushCandlestickMode

Source§

fn default() -> PushCandlestickMode

Returns the “default value” for a type. Read more
Source§

impl PartialEq for PushCandlestickMode

Source§

fn eq(&self, other: &PushCandlestickMode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Copy for PushCandlestickMode

Source§

impl Eq for PushCandlestickMode

Source§

impl StructuralPartialEq for PushCandlestickMode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for PushCandlestickMode

Source§

fn clone(&self) -> PushCandlestickMode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PushCandlestickMode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PushCandlestickMode

Source§

fn default() -> PushCandlestickMode

Returns the “default value” for a type. Read more
Source§

impl PartialEq for PushCandlestickMode

Source§

fn eq(&self, other: &PushCandlestickMode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Copy for PushCandlestickMode

Source§

impl Eq for PushCandlestickMode

Source§

impl StructuralPartialEq for PushCandlestickMode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/enum.SimpleError.html b/v2/rust/longport/enum.SimpleError.html index 337b50800..a0d450e35 100644 --- a/v2/rust/longport/enum.SimpleError.html +++ b/v2/rust/longport/enum.SimpleError.html @@ -1,42 +1,42 @@ -SimpleError in longport - Rust
longport

Enum SimpleError

Source
pub enum SimpleError {
+SimpleError in longport - Rust
longport

Enum SimpleError

Source
pub enum SimpleError {
     Response {
-        code: i64,
-        message: String,
-        trace_id: String,
+        code: i64,
+        message: String,
+        trace_id: String,
     },
-    Other(String),
+    Other(String),
 }
Expand description

Simple error type

Variants§

§

Response

Response error

-

Fields

§code: i64

Error code

-
§message: String

Error message

-
§trace_id: String

Trace id

-
§

Other(String)

Other error

-

Implementations§

Source§

impl SimpleError

Source

pub fn code(&self) -> Option<i64>

Returns the error code

-
Source

pub fn trace_id(&self) -> Option<&str>

Returns the trace id

-
Source

pub fn message(&self) -> &str

Returns the error message

-

Trait Implementations§

Source§

impl Debug for SimpleError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for SimpleError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for SimpleError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<Error> for SimpleError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields

§code: i64

Error code

+
§message: String

Error message

+
§trace_id: String

Trace id

+
§

Other(String)

Other error

+

Implementations§

Source§

impl SimpleError

Source

pub fn code(&self) -> Option<i64>

Returns the error code

+
Source

pub fn trace_id(&self) -> Option<&str>

Returns the trace id

+
Source

pub fn message(&self) -> &str

Returns the error message

+

Trait Implementations§

Source§

impl Debug for SimpleError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for SimpleError

Source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Error for SimpleError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<Error> for SimpleError

Source§

fn from(err: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where - T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/index.html b/v2/rust/longport/index.html index cefd0e9bf..0708c53fe 100644 --- a/v2/rust/longport/index.html +++ b/v2/rust/longport/index.html @@ -1,4 +1,4 @@ -longport - Rust

Crate longport

Source
Expand description

§LongPort OpenAPI SDK for Rust

+longport - Rust

Crate longport

Source
Expand description

§LongPort OpenAPI SDK for Rust

Crates.io version diff --git a/v2/rust/longport/macro.decimal.html b/v2/rust/longport/macro.decimal.html index 1647fd909..70b416ef3 100644 --- a/v2/rust/longport/macro.decimal.html +++ b/v2/rust/longport/macro.decimal.html @@ -1,4 +1,4 @@ -decimal in longport - Rust
longport

Macro decimal

Source
macro_rules! decimal {
+decimal in longport - Rust
longport

Macro decimal

Source
macro_rules! decimal {
     ($value:expr) => { ... };
 }
Expand description

A macro to construct decimal.

§Examples

diff --git a/v2/rust/longport/quote/enum.AdjustType.html b/v2/rust/longport/quote/enum.AdjustType.html index 2ab8ac571..94805cbaa 100644 --- a/v2/rust/longport/quote/enum.AdjustType.html +++ b/v2/rust/longport/quote/enum.AdjustType.html @@ -1,53 +1,53 @@ -AdjustType in longport::quote - Rust
longport::quote

Enum AdjustType

#[repr(i32)]
pub enum AdjustType { +AdjustType in longport::quote - Rust
longport::quote

Enum AdjustType

#[repr(i32)]
pub enum AdjustType { NoAdjust = 0, ForwardAdjust = 1, -}

Variants§

§

NoAdjust = 0

§

ForwardAdjust = 1

Implementations§

§

impl AdjustType

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of AdjustType.

-

pub fn from_i32(value: i32) -> Option<AdjustType>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a AdjustType, or None if value is not a valid variant.

-
§

impl AdjustType

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

+}

Variants§

§

NoAdjust = 0

§

ForwardAdjust = 1

Implementations§

§

impl AdjustType

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of AdjustType.

+

pub fn from_i32(value: i32) -> Option<AdjustType>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a AdjustType, or None if value is not a valid variant.

+
§

impl AdjustType

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.

-

pub fn from_str_name(value: &str) -> Option<AdjustType>

Creates an enum from field names used in the ProtoBuf definition.

-

Trait Implementations§

§

impl Clone for AdjustType

§

fn clone(&self) -> AdjustType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for AdjustType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for AdjustType

§

fn default() -> AdjustType

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for AdjustType

§

fn deserialize<__D>( +

pub fn from_str_name(value: &str) -> Option<AdjustType>

Creates an enum from field names used in the ProtoBuf definition.

+

Trait Implementations§

§

impl Clone for AdjustType

§

fn clone(&self) -> AdjustType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for AdjustType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for AdjustType

§

fn default() -> AdjustType

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for AdjustType

§

fn deserialize<__D>( __deserializer: __D, -) -> Result<AdjustType, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for AdjustType

§

fn hash<__H>(&self, state: &mut __H)
where - __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for AdjustType

§

fn cmp(&self, other: &AdjustType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for AdjustType

§

fn eq(&self, other: &AdjustType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl PartialOrd for AdjustType

§

fn partial_cmp(&self, other: &AdjustType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
§

impl Serialize for AdjustType

§

fn serialize<__S>( +) -> Result<AdjustType, <__D as Deserializer<'de>>::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for AdjustType

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for AdjustType

§

fn cmp(&self, other: &AdjustType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for AdjustType

§

fn eq(&self, other: &AdjustType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for AdjustType

§

fn partial_cmp(&self, other: &AdjustType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl Serialize for AdjustType

§

fn serialize<__S>( &self, __serializer: __S, -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl TryFrom<i32> for AdjustType

§

type Error = UnknownEnumValue

The type returned in the event of a conversion error.
§

fn try_from(value: i32) -> Result<AdjustType, UnknownEnumValue>

Performs the conversion.
§

impl Copy for AdjustType

§

impl Eq for AdjustType

§

impl StructuralPartialEq for AdjustType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,
Serialize this value into the given Serde serializer. Read more
§

impl TryFrom<i32> for AdjustType

§

type Error = UnknownEnumValue

The type returned in the event of a conversion error.
§

fn try_from(value: i32) -> Result<AdjustType, UnknownEnumValue>

Performs the conversion.
§

impl Copy for AdjustType

§

impl Eq for AdjustType

§

impl StructuralPartialEq for AdjustType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/enum.CalcIndex.html b/v2/rust/longport/quote/enum.CalcIndex.html index 856ec1a26..9d84aabb0 100644 --- a/v2/rust/longport/quote/enum.CalcIndex.html +++ b/v2/rust/longport/quote/enum.CalcIndex.html @@ -1,4 +1,4 @@ -CalcIndex in longport::quote - Rust
longport::quote

Enum CalcIndex

Source
pub enum CalcIndex {
+CalcIndex in longport::quote - Rust
longport::quote

Enum CalcIndex

Source
pub enum CalcIndex {
 
Show 40 variants LastDone, ChangeValue, ChangeRate, @@ -80,31 +80,31 @@
§

Theta

Theta

§

Vega

Vega

§

Rho

Rho

-

Trait Implementations§

Source§

impl Clone for CalcIndex

Source§

fn clone(&self) -> CalcIndex

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CalcIndex

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<CalcIndex> for CalcIndex

Source§

fn from(value: CalcIndex) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for CalcIndex

Source§

fn eq(&self, other: &CalcIndex) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Copy for CalcIndex

Source§

impl Eq for CalcIndex

Source§

impl StructuralPartialEq for CalcIndex

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for CalcIndex

Source§

fn clone(&self) -> CalcIndex

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CalcIndex

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<CalcIndex> for CalcIndex

Source§

fn from(value: CalcIndex) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for CalcIndex

Source§

fn eq(&self, other: &CalcIndex) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Copy for CalcIndex

Source§

impl Eq for CalcIndex

Source§

impl StructuralPartialEq for CalcIndex

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/enum.FilterWarrantExpiryDate.html b/v2/rust/longport/quote/enum.FilterWarrantExpiryDate.html index 41ec85058..78059d8ac 100644 --- a/v2/rust/longport/quote/enum.FilterWarrantExpiryDate.html +++ b/v2/rust/longport/quote/enum.FilterWarrantExpiryDate.html @@ -1,4 +1,4 @@ -FilterWarrantExpiryDate in longport::quote - Rust
longport::quote

Enum FilterWarrantExpiryDate

Source
#[repr(i32)]
pub enum FilterWarrantExpiryDate { +FilterWarrantExpiryDate in longport::quote - Rust
longport::quote

Enum FilterWarrantExpiryDate

Source
#[repr(i32)]
pub enum FilterWarrantExpiryDate { LT_3 = 1, Between_3_6 = 2, Between_6_12 = 3, @@ -8,33 +8,33 @@
§

Between_3_6 = 2

3 - 6 months

§

Between_6_12 = 3

6 - 12 months

§

GT_12 = 4

Greater than 12 months

-

Trait Implementations§

Source§

impl Clone for FilterWarrantExpiryDate

Source§

fn clone(&self) -> FilterWarrantExpiryDate

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FilterWarrantExpiryDate

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<FilterWarrantExpiryDate> for i32

Source§

fn from(enum_value: FilterWarrantExpiryDate) -> Self

Converts to this type from the input type.
Source§

impl Hash for FilterWarrantExpiryDate

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for FilterWarrantExpiryDate

Source§

fn eq(&self, other: &FilterWarrantExpiryDate) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Copy for FilterWarrantExpiryDate

Source§

impl Eq for FilterWarrantExpiryDate

Source§

impl StructuralPartialEq for FilterWarrantExpiryDate

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for FilterWarrantExpiryDate

Source§

fn clone(&self) -> FilterWarrantExpiryDate

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FilterWarrantExpiryDate

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<FilterWarrantExpiryDate> for i32

Source§

fn from(enum_value: FilterWarrantExpiryDate) -> Self

Converts to this type from the input type.
Source§

impl Hash for FilterWarrantExpiryDate

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for FilterWarrantExpiryDate

Source§

fn eq(&self, other: &FilterWarrantExpiryDate) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Copy for FilterWarrantExpiryDate

Source§

impl Eq for FilterWarrantExpiryDate

Source§

impl StructuralPartialEq for FilterWarrantExpiryDate

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/enum.FilterWarrantInOutBoundsType.html b/v2/rust/longport/quote/enum.FilterWarrantInOutBoundsType.html index 95deec2ab..7e84e317c 100644 --- a/v2/rust/longport/quote/enum.FilterWarrantInOutBoundsType.html +++ b/v2/rust/longport/quote/enum.FilterWarrantInOutBoundsType.html @@ -1,36 +1,36 @@ -FilterWarrantInOutBoundsType in longport::quote - Rust
longport::quote

Enum FilterWarrantInOutBoundsType

Source
#[repr(i32)]
pub enum FilterWarrantInOutBoundsType { +FilterWarrantInOutBoundsType in longport::quote - Rust
longport::quote

Enum FilterWarrantInOutBoundsType

Source
#[repr(i32)]
pub enum FilterWarrantInOutBoundsType { In = 1, Out = 2, }
Expand description

Filter warrant in/out of the bounds type

Variants§

§

In = 1

In bounds

§

Out = 2

Out bounds

-

Trait Implementations§

Source§

impl Clone for FilterWarrantInOutBoundsType

Source§

fn clone(&self) -> FilterWarrantInOutBoundsType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FilterWarrantInOutBoundsType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<FilterWarrantInOutBoundsType> for i32

Source§

fn from(enum_value: FilterWarrantInOutBoundsType) -> Self

Converts to this type from the input type.
Source§

impl Hash for FilterWarrantInOutBoundsType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for FilterWarrantInOutBoundsType

Source§

fn eq(&self, other: &FilterWarrantInOutBoundsType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Copy for FilterWarrantInOutBoundsType

Source§

impl Eq for FilterWarrantInOutBoundsType

Source§

impl StructuralPartialEq for FilterWarrantInOutBoundsType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for FilterWarrantInOutBoundsType

Source§

fn clone(&self) -> FilterWarrantInOutBoundsType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FilterWarrantInOutBoundsType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<FilterWarrantInOutBoundsType> for i32

Source§

fn from(enum_value: FilterWarrantInOutBoundsType) -> Self

Converts to this type from the input type.
Source§

impl Hash for FilterWarrantInOutBoundsType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for FilterWarrantInOutBoundsType

Source§

fn eq(&self, other: &FilterWarrantInOutBoundsType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Copy for FilterWarrantInOutBoundsType

Source§

impl Eq for FilterWarrantInOutBoundsType

Source§

impl StructuralPartialEq for FilterWarrantInOutBoundsType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/enum.OptionDirection.html b/v2/rust/longport/quote/enum.OptionDirection.html index 293d7172e..bf8b1bc90 100644 --- a/v2/rust/longport/quote/enum.OptionDirection.html +++ b/v2/rust/longport/quote/enum.OptionDirection.html @@ -1,4 +1,4 @@ -OptionDirection in longport::quote - Rust
longport::quote

Enum OptionDirection

Source
pub enum OptionDirection {
+OptionDirection in longport::quote - Rust
longport::quote

Enum OptionDirection

Source
pub enum OptionDirection {
     Unknown,
     Put,
     Call,
@@ -6,35 +6,35 @@
 

Variants§

§

Unknown

Unknown

§

Put

Put

§

Call

Call

-

Trait Implementations§

Source§

impl Clone for OptionDirection

Source§

fn clone(&self) -> OptionDirection

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OptionDirection

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for OptionDirection

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for OptionDirection

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl FromStr for OptionDirection

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<OptionDirection, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for OptionDirection

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for OptionDirection

Source§

fn eq(&self, other: &OptionDirection) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Serialize for OptionDirection

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for OptionDirection

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<OptionDirection, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for OptionDirection

Source§

impl Eq for OptionDirection

Source§

impl StructuralPartialEq for OptionDirection

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for OptionDirection

Source§

fn clone(&self) -> OptionDirection

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OptionDirection

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for OptionDirection

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for OptionDirection

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl FromStr for OptionDirection

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<OptionDirection, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for OptionDirection

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for OptionDirection

Source§

fn eq(&self, other: &OptionDirection) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for OptionDirection

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for OptionDirection

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<OptionDirection, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for OptionDirection

Source§

impl Eq for OptionDirection

Source§

impl StructuralPartialEq for OptionDirection

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/enum.OptionType.html b/v2/rust/longport/quote/enum.OptionType.html index 4d7c7cf7a..853d406c0 100644 --- a/v2/rust/longport/quote/enum.OptionType.html +++ b/v2/rust/longport/quote/enum.OptionType.html @@ -1,4 +1,4 @@ -OptionType in longport::quote - Rust
longport::quote

Enum OptionType

Source
pub enum OptionType {
+OptionType in longport::quote - Rust
longport::quote

Enum OptionType

Source
pub enum OptionType {
     Unknown,
     American,
     Europe,
@@ -6,35 +6,35 @@
 

Variants§

§

Unknown

Unknown

§

American

American

§

Europe

Europe

-

Trait Implementations§

Source§

impl Clone for OptionType

Source§

fn clone(&self) -> OptionType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OptionType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for OptionType

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for OptionType

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl FromStr for OptionType

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<OptionType, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for OptionType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for OptionType

Source§

fn eq(&self, other: &OptionType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Serialize for OptionType

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for OptionType

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<OptionType, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for OptionType

Source§

impl Eq for OptionType

Source§

impl StructuralPartialEq for OptionType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for OptionType

Source§

fn clone(&self) -> OptionType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OptionType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for OptionType

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for OptionType

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl FromStr for OptionType

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<OptionType, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for OptionType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for OptionType

Source§

fn eq(&self, other: &OptionType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for OptionType

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for OptionType

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<OptionType, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for OptionType

Source§

impl Eq for OptionType

Source§

impl StructuralPartialEq for OptionType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/enum.Period.html b/v2/rust/longport/quote/enum.Period.html index 9e932dfb3..6dbe807fb 100644 --- a/v2/rust/longport/quote/enum.Period.html +++ b/v2/rust/longport/quote/enum.Period.html @@ -1,4 +1,4 @@ -Period in longport::quote - Rust
longport::quote

Enum Period

#[repr(i32)]
pub enum Period { +Period in longport::quote - Rust
longport::quote

Enum Period

#[repr(i32)]
pub enum Period {
Show 19 variants UnknownPeriod = 0, OneMinute = 1, TwoMinute = 2, @@ -18,53 +18,53 @@ Month = 3_000, Quarter = 3_500, Year = 4_000, -
}

Variants§

§

UnknownPeriod = 0

§

OneMinute = 1

§

TwoMinute = 2

§

ThreeMinute = 3

§

FiveMinute = 5

§

TenMinute = 10

§

FifteenMinute = 15

§

TwentyMinute = 20

§

ThirtyMinute = 30

§

FortyFiveMinute = 45

§

SixtyMinute = 60

§

TwoHour = 120

§

ThreeHour = 180

§

FourHour = 240

§

Day = 1_000

§

Week = 2_000

§

Month = 3_000

§

Quarter = 3_500

§

Year = 4_000

Implementations§

§

impl Period

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of Period.

-

pub fn from_i32(value: i32) -> Option<Period>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a Period, or None if value is not a valid variant.

-
§

impl Period

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

+
}

Variants§

§

UnknownPeriod = 0

§

OneMinute = 1

§

TwoMinute = 2

§

ThreeMinute = 3

§

FiveMinute = 5

§

TenMinute = 10

§

FifteenMinute = 15

§

TwentyMinute = 20

§

ThirtyMinute = 30

§

FortyFiveMinute = 45

§

SixtyMinute = 60

§

TwoHour = 120

§

ThreeHour = 180

§

FourHour = 240

§

Day = 1_000

§

Week = 2_000

§

Month = 3_000

§

Quarter = 3_500

§

Year = 4_000

Implementations§

§

impl Period

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of Period.

+

pub fn from_i32(value: i32) -> Option<Period>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a Period, or None if value is not a valid variant.

+
§

impl Period

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.

-

pub fn from_str_name(value: &str) -> Option<Period>

Creates an enum from field names used in the ProtoBuf definition.

-

Trait Implementations§

§

impl Clone for Period

§

fn clone(&self) -> Period

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Period

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Period

§

fn default() -> Period

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for Period

§

fn deserialize<__D>( +

pub fn from_str_name(value: &str) -> Option<Period>

Creates an enum from field names used in the ProtoBuf definition.

+

Trait Implementations§

§

impl Clone for Period

§

fn clone(&self) -> Period

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Period

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Period

§

fn default() -> Period

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for Period

§

fn deserialize<__D>( __deserializer: __D, -) -> Result<Period, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for Period

§

fn hash<__H>(&self, state: &mut __H)
where - __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for Period

§

fn cmp(&self, other: &Period) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Period

§

fn eq(&self, other: &Period) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl PartialOrd for Period

§

fn partial_cmp(&self, other: &Period) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
§

impl Serialize for Period

§

fn serialize<__S>( +) -> Result<Period, <__D as Deserializer<'de>>::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for Period

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for Period

§

fn cmp(&self, other: &Period) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Period

§

fn eq(&self, other: &Period) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for Period

§

fn partial_cmp(&self, other: &Period) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl Serialize for Period

§

fn serialize<__S>( &self, __serializer: __S, -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl TryFrom<i32> for Period

§

type Error = UnknownEnumValue

The type returned in the event of a conversion error.
§

fn try_from(value: i32) -> Result<Period, UnknownEnumValue>

Performs the conversion.
§

impl Copy for Period

§

impl Eq for Period

§

impl StructuralPartialEq for Period

Auto Trait Implementations§

§

impl Freeze for Period

§

impl RefUnwindSafe for Period

§

impl Send for Period

§

impl Sync for Period

§

impl Unpin for Period

§

impl UnwindSafe for Period

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl TryFrom<i32> for Period

§

type Error = UnknownEnumValue

The type returned in the event of a conversion error.
§

fn try_from(value: i32) -> Result<Period, UnknownEnumValue>

Performs the conversion.
§

impl Copy for Period

§

impl Eq for Period

§

impl StructuralPartialEq for Period

Auto Trait Implementations§

§

impl Freeze for Period

§

impl RefUnwindSafe for Period

§

impl Send for Period

§

impl Sync for Period

§

impl Unpin for Period

§

impl UnwindSafe for Period

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/enum.PushEventDetail.html b/v2/rust/longport/quote/enum.PushEventDetail.html index a2630fa23..e07590662 100644 --- a/v2/rust/longport/quote/enum.PushEventDetail.html +++ b/v2/rust/longport/quote/enum.PushEventDetail.html @@ -1,4 +1,4 @@ -PushEventDetail in longport::quote - Rust
longport::quote

Enum PushEventDetail

Source
pub enum PushEventDetail {
+PushEventDetail in longport::quote - Rust
longport::quote

Enum PushEventDetail

Source
pub enum PushEventDetail {
     Quote(PushQuote),
     Depth(PushDepth),
     Brokers(PushBrokers),
@@ -10,28 +10,28 @@
 
§

Brokers(PushBrokers)

Brokers

§

Trade(PushTrades)

Trade

§

Candlestick(PushCandlestick)

Candlestick

-

Trait Implementations§

Source§

impl Debug for PushEventDetail

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Debug for PushEventDetail

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/enum.SecuritiesUpdateMode.html b/v2/rust/longport/quote/enum.SecuritiesUpdateMode.html index d120514ce..176f6dc6e 100644 --- a/v2/rust/longport/quote/enum.SecuritiesUpdateMode.html +++ b/v2/rust/longport/quote/enum.SecuritiesUpdateMode.html @@ -1,4 +1,4 @@ -SecuritiesUpdateMode in longport::quote - Rust
longport::quote

Enum SecuritiesUpdateMode

Source
pub enum SecuritiesUpdateMode {
+SecuritiesUpdateMode in longport::quote - Rust
longport::quote

Enum SecuritiesUpdateMode

Source
pub enum SecuritiesUpdateMode {
     Add,
     Remove,
     Replace,
@@ -6,31 +6,31 @@
 

Variants§

§

Add

Add securities

§

Remove

Remove securities

§

Replace

Replace securities

-

Trait Implementations§

Source§

impl Clone for SecuritiesUpdateMode

Source§

fn clone(&self) -> SecuritiesUpdateMode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecuritiesUpdateMode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SecuritiesUpdateMode

Source§

fn default() -> SecuritiesUpdateMode

Returns the “default value” for a type. Read more
Source§

impl Serialize for SecuritiesUpdateMode

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for SecuritiesUpdateMode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for SecuritiesUpdateMode

Source§

fn clone(&self) -> SecuritiesUpdateMode

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecuritiesUpdateMode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SecuritiesUpdateMode

Source§

fn default() -> SecuritiesUpdateMode

Returns the “default value” for a type. Read more
Source§

impl Serialize for SecuritiesUpdateMode

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for SecuritiesUpdateMode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/enum.SecurityBoard.html b/v2/rust/longport/quote/enum.SecurityBoard.html index 34031caf3..9b9fe061b 100644 --- a/v2/rust/longport/quote/enum.SecurityBoard.html +++ b/v2/rust/longport/quote/enum.SecurityBoard.html @@ -1,4 +1,4 @@ -SecurityBoard in longport::quote - Rust
longport::quote

Enum SecurityBoard

Source
pub enum SecurityBoard {
+SecurityBoard in longport::quote - Rust
longport::quote

Enum SecurityBoard

Source
pub enum SecurityBoard {
 
Show 25 variants Unknown, USMain, USPink, @@ -50,36 +50,36 @@
§

SGMain

SG Main Board

§

STI

Singapore Straits Index

§

SGSector

SG Industry Board

-

Trait Implementations§

Source§

impl Clone for SecurityBoard

Source§

fn clone(&self) -> SecurityBoard

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityBoard

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SecurityBoard

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for SecurityBoard

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for SecurityBoard

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for SecurityBoard

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<SecurityBoard, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for SecurityBoard

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for SecurityBoard

Source§

fn eq(&self, other: &SecurityBoard) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Serialize for SecurityBoard

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for SecurityBoard

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<SecurityBoard, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for SecurityBoard

Source§

impl Eq for SecurityBoard

Source§

impl StructuralPartialEq for SecurityBoard

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for SecurityBoard

Source§

fn clone(&self) -> SecurityBoard

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityBoard

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SecurityBoard

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for SecurityBoard

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for SecurityBoard

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for SecurityBoard

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<SecurityBoard, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for SecurityBoard

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for SecurityBoard

Source§

fn eq(&self, other: &SecurityBoard) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for SecurityBoard

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for SecurityBoard

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<SecurityBoard, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for SecurityBoard

Source§

impl Eq for SecurityBoard

Source§

impl StructuralPartialEq for SecurityBoard

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where - T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/enum.SecurityListCategory.html b/v2/rust/longport/quote/enum.SecurityListCategory.html index d491e61d8..163611e00 100644 --- a/v2/rust/longport/quote/enum.SecurityListCategory.html +++ b/v2/rust/longport/quote/enum.SecurityListCategory.html @@ -1,37 +1,37 @@ -SecurityListCategory in longport::quote - Rust
longport::quote

Enum SecurityListCategory

Source
pub enum SecurityListCategory {
+SecurityListCategory in longport::quote - Rust
longport::quote

Enum SecurityListCategory

Source
pub enum SecurityListCategory {
     Overnight,
 }
Expand description

Security list category

Variants§

§

Overnight

Overnight

-

Trait Implementations§

Source§

impl Clone for SecurityListCategory

Source§

fn clone(&self) -> SecurityListCategory

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityListCategory

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for SecurityListCategory

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for SecurityListCategory

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<SecurityListCategory, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for SecurityListCategory

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for SecurityListCategory

Source§

fn eq(&self, other: &SecurityListCategory) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Serialize for SecurityListCategory

Source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for SecurityListCategory

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from( - s: &str, -) -> Result<SecurityListCategory, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for SecurityListCategory

Source§

impl Eq for SecurityListCategory

Source§

impl StructuralPartialEq for SecurityListCategory

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for SecurityListCategory

Source§

fn clone(&self) -> SecurityListCategory

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityListCategory

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for SecurityListCategory

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl FromStr for SecurityListCategory

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<SecurityListCategory, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for SecurityListCategory

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for SecurityListCategory

Source§

fn eq(&self, other: &SecurityListCategory) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for SecurityListCategory

Source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for SecurityListCategory

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from( + s: &str, +) -> Result<SecurityListCategory, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl Copy for SecurityListCategory

Source§

impl Eq for SecurityListCategory

Source§

impl StructuralPartialEq for SecurityListCategory

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where - T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where + T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/enum.SortOrderType.html b/v2/rust/longport/quote/enum.SortOrderType.html index d8678e048..0b794159f 100644 --- a/v2/rust/longport/quote/enum.SortOrderType.html +++ b/v2/rust/longport/quote/enum.SortOrderType.html @@ -1,36 +1,36 @@ -SortOrderType in longport::quote - Rust
longport::quote

Enum SortOrderType

Source
#[repr(i32)]
pub enum SortOrderType { +SortOrderType in longport::quote - Rust
longport::quote

Enum SortOrderType

Source
#[repr(i32)]
pub enum SortOrderType { Ascending = 0, Descending = 1, }
Expand description

Sort order type

Variants§

§

Ascending = 0

Ascending

§

Descending = 1

Descending

-

Trait Implementations§

Source§

impl Clone for SortOrderType

Source§

fn clone(&self) -> SortOrderType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SortOrderType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<SortOrderType> for i32

Source§

fn from(enum_value: SortOrderType) -> Self

Converts to this type from the input type.
Source§

impl Hash for SortOrderType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for SortOrderType

Source§

fn eq(&self, other: &SortOrderType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Copy for SortOrderType

Source§

impl Eq for SortOrderType

Source§

impl StructuralPartialEq for SortOrderType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for SortOrderType

Source§

fn clone(&self) -> SortOrderType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SortOrderType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<SortOrderType> for i32

Source§

fn from(enum_value: SortOrderType) -> Self

Converts to this type from the input type.
Source§

impl Hash for SortOrderType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for SortOrderType

Source§

fn eq(&self, other: &SortOrderType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Copy for SortOrderType

Source§

impl Eq for SortOrderType

Source§

impl StructuralPartialEq for SortOrderType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/enum.TradeDirection.html b/v2/rust/longport/quote/enum.TradeDirection.html index 8762a6e26..381173774 100644 --- a/v2/rust/longport/quote/enum.TradeDirection.html +++ b/v2/rust/longport/quote/enum.TradeDirection.html @@ -1,4 +1,4 @@ -TradeDirection in longport::quote - Rust
longport::quote

Enum TradeDirection

Source
#[repr(i32)]
pub enum TradeDirection { +TradeDirection in longport::quote - Rust
longport::quote

Enum TradeDirection

Source
#[repr(i32)]
pub enum TradeDirection { Neutral = 0, Down = 1, Up = 2, @@ -6,35 +6,35 @@

Variants§

§

Neutral = 0

Neutral

§

Down = 1

Down

§

Up = 2

Up

-

Trait Implementations§

Source§

impl Clone for TradeDirection

Source§

fn clone(&self) -> TradeDirection

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TradeDirection

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for TradeDirection

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<i32> for TradeDirection

Source§

fn from(number: i32) -> Self

Converts to this type from the input type.
Source§

impl FromPrimitive for TradeDirection

Source§

type Primitive = i32

Source§

fn from_primitive(number: Self::Primitive) -> Self

Source§

impl Hash for TradeDirection

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for TradeDirection

Source§

fn eq(&self, other: &TradeDirection) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Serialize for TradeDirection

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for TradeDirection

Source§

impl Eq for TradeDirection

Source§

impl StructuralPartialEq for TradeDirection

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for TradeDirection

Source§

fn clone(&self) -> TradeDirection

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TradeDirection

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for TradeDirection

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<i32> for TradeDirection

Source§

fn from(number: i32) -> Self

Converts to this type from the input type.
Source§

impl FromPrimitive for TradeDirection

Source§

type Primitive = i32

Source§

fn from_primitive(number: Self::Primitive) -> Self

Source§

impl Hash for TradeDirection

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for TradeDirection

Source§

fn eq(&self, other: &TradeDirection) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for TradeDirection

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for TradeDirection

Source§

impl Eq for TradeDirection

Source§

impl StructuralPartialEq for TradeDirection

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/enum.TradeSession.html b/v2/rust/longport/quote/enum.TradeSession.html index facf1d332..8708fb94f 100644 --- a/v2/rust/longport/quote/enum.TradeSession.html +++ b/v2/rust/longport/quote/enum.TradeSession.html @@ -1,55 +1,55 @@ -TradeSession in longport::quote - Rust
longport::quote

Enum TradeSession

#[repr(i32)]
pub enum TradeSession { +TradeSession in longport::quote - Rust
longport::quote

Enum TradeSession

#[repr(i32)]
pub enum TradeSession { NormalTrade = 0, PreTrade = 1, PostTrade = 2, OvernightTrade = 3, -}

Variants§

§

NormalTrade = 0

§

PreTrade = 1

§

PostTrade = 2

§

OvernightTrade = 3

Implementations§

§

impl TradeSession

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of TradeSession.

-

pub fn from_i32(value: i32) -> Option<TradeSession>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a TradeSession, or None if value is not a valid variant.

-
§

impl TradeSession

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

+}

Variants§

§

NormalTrade = 0

§

PreTrade = 1

§

PostTrade = 2

§

OvernightTrade = 3

Implementations§

§

impl TradeSession

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of TradeSession.

+

pub fn from_i32(value: i32) -> Option<TradeSession>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a TradeSession, or None if value is not a valid variant.

+
§

impl TradeSession

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.

-

pub fn from_str_name(value: &str) -> Option<TradeSession>

Creates an enum from field names used in the ProtoBuf definition.

-

Trait Implementations§

§

impl Clone for TradeSession

§

fn clone(&self) -> TradeSession

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for TradeSession

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for TradeSession

§

fn default() -> TradeSession

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for TradeSession

§

fn deserialize<__D>( +

pub fn from_str_name(value: &str) -> Option<TradeSession>

Creates an enum from field names used in the ProtoBuf definition.

+

Trait Implementations§

§

impl Clone for TradeSession

§

fn clone(&self) -> TradeSession

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for TradeSession

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for TradeSession

§

fn default() -> TradeSession

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for TradeSession

§

fn deserialize<__D>( __deserializer: __D, -) -> Result<TradeSession, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for TradeSession

§

fn hash<__H>(&self, state: &mut __H)
where - __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for TradeSession

§

fn cmp(&self, other: &TradeSession) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for TradeSession

§

fn eq(&self, other: &TradeSession) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl PartialOrd for TradeSession

§

fn partial_cmp(&self, other: &TradeSession) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
§

impl Serialize for TradeSession

§

fn serialize<__S>( +) -> Result<TradeSession, <__D as Deserializer<'de>>::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for TradeSession

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for TradeSession

§

fn cmp(&self, other: &TradeSession) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for TradeSession

§

fn eq(&self, other: &TradeSession) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for TradeSession

§

fn partial_cmp(&self, other: &TradeSession) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl Serialize for TradeSession

§

fn serialize<__S>( &self, __serializer: __S, -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl TryFrom<i32> for TradeSession

§

type Error = UnknownEnumValue

The type returned in the event of a conversion error.
§

fn try_from(value: i32) -> Result<TradeSession, UnknownEnumValue>

Performs the conversion.
§

impl Copy for TradeSession

§

impl Eq for TradeSession

§

impl StructuralPartialEq for TradeSession

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl TryFrom<i32> for TradeSession

§

type Error = UnknownEnumValue

The type returned in the event of a conversion error.
§

fn try_from(value: i32) -> Result<TradeSession, UnknownEnumValue>

Performs the conversion.
§

impl Copy for TradeSession

§

impl Eq for TradeSession

§

impl StructuralPartialEq for TradeSession

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/enum.TradeStatus.html b/v2/rust/longport/quote/enum.TradeStatus.html index 0e55388d5..12f59d33c 100644 --- a/v2/rust/longport/quote/enum.TradeStatus.html +++ b/v2/rust/longport/quote/enum.TradeStatus.html @@ -1,4 +1,4 @@ -TradeStatus in longport::quote - Rust
longport::quote

Enum TradeStatus

#[repr(i32)]
pub enum TradeStatus { +TradeStatus in longport::quote - Rust
longport::quote

Enum TradeStatus

#[repr(i32)]
pub enum TradeStatus { Normal = 0, Halted = 1, Delisted = 2, @@ -10,53 +10,53 @@ Expired = 8, WarrantPrepareList = 9, SuspendTrade = 10, -}

Variants§

§

Normal = 0

§

Halted = 1

§

Delisted = 2

§

Fuse = 3

§

PrepareList = 4

§

CodeMoved = 5

§

ToBeOpened = 6

§

SplitStockHalts = 7

§

Expired = 8

§

WarrantPrepareList = 9

§

SuspendTrade = 10

Implementations§

§

impl TradeStatus

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of TradeStatus.

-

pub fn from_i32(value: i32) -> Option<TradeStatus>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a TradeStatus, or None if value is not a valid variant.

-
§

impl TradeStatus

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

+}

Variants§

§

Normal = 0

§

Halted = 1

§

Delisted = 2

§

Fuse = 3

§

PrepareList = 4

§

CodeMoved = 5

§

ToBeOpened = 6

§

SplitStockHalts = 7

§

Expired = 8

§

WarrantPrepareList = 9

§

SuspendTrade = 10

Implementations§

§

impl TradeStatus

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of TradeStatus.

+

pub fn from_i32(value: i32) -> Option<TradeStatus>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a TradeStatus, or None if value is not a valid variant.

+
§

impl TradeStatus

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.

-

pub fn from_str_name(value: &str) -> Option<TradeStatus>

Creates an enum from field names used in the ProtoBuf definition.

-

Trait Implementations§

§

impl Clone for TradeStatus

§

fn clone(&self) -> TradeStatus

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for TradeStatus

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for TradeStatus

§

fn default() -> TradeStatus

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for TradeStatus

§

fn deserialize<__D>( +

pub fn from_str_name(value: &str) -> Option<TradeStatus>

Creates an enum from field names used in the ProtoBuf definition.

+

Trait Implementations§

§

impl Clone for TradeStatus

§

fn clone(&self) -> TradeStatus

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for TradeStatus

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for TradeStatus

§

fn default() -> TradeStatus

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for TradeStatus

§

fn deserialize<__D>( __deserializer: __D, -) -> Result<TradeStatus, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for TradeStatus

§

fn hash<__H>(&self, state: &mut __H)
where - __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for TradeStatus

§

fn cmp(&self, other: &TradeStatus) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for TradeStatus

§

fn eq(&self, other: &TradeStatus) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl PartialOrd for TradeStatus

§

fn partial_cmp(&self, other: &TradeStatus) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
§

impl Serialize for TradeStatus

§

fn serialize<__S>( +) -> Result<TradeStatus, <__D as Deserializer<'de>>::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Hash for TradeStatus

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for TradeStatus

§

fn cmp(&self, other: &TradeStatus) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for TradeStatus

§

fn eq(&self, other: &TradeStatus) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for TradeStatus

§

fn partial_cmp(&self, other: &TradeStatus) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl Serialize for TradeStatus

§

fn serialize<__S>( &self, __serializer: __S, -) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl TryFrom<i32> for TradeStatus

§

type Error = UnknownEnumValue

The type returned in the event of a conversion error.
§

fn try_from(value: i32) -> Result<TradeStatus, UnknownEnumValue>

Performs the conversion.
§

impl Copy for TradeStatus

§

impl Eq for TradeStatus

§

impl StructuralPartialEq for TradeStatus

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
§

impl TryFrom<i32> for TradeStatus

§

type Error = UnknownEnumValue

The type returned in the event of a conversion error.
§

fn try_from(value: i32) -> Result<TradeStatus, UnknownEnumValue>

Performs the conversion.
§

impl Copy for TradeStatus

§

impl Eq for TradeStatus

§

impl StructuralPartialEq for TradeStatus

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/enum.WarrantSortBy.html b/v2/rust/longport/quote/enum.WarrantSortBy.html index 96f6296f1..480b5e754 100644 --- a/v2/rust/longport/quote/enum.WarrantSortBy.html +++ b/v2/rust/longport/quote/enum.WarrantSortBy.html @@ -1,4 +1,4 @@ -WarrantSortBy in longport::quote - Rust
longport::quote

Enum WarrantSortBy

Source
#[repr(i32)]
pub enum WarrantSortBy { +WarrantSortBy in longport::quote - Rust
longport::quote

Enum WarrantSortBy

Source
#[repr(i32)]
pub enum WarrantSortBy {
Show 22 variants LastDone = 0, ChangeRate = 1, ChangeValue = 2, @@ -44,33 +44,33 @@
§

ConversionRatio = 19

Conversion ratio

§

BalancePoint = 20

Breakeven point

§

Status = 21

Status

-

Trait Implementations§

Source§

impl Clone for WarrantSortBy

Source§

fn clone(&self) -> WarrantSortBy

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WarrantSortBy

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<WarrantSortBy> for i32

Source§

fn from(enum_value: WarrantSortBy) -> Self

Converts to this type from the input type.
Source§

impl Hash for WarrantSortBy

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for WarrantSortBy

Source§

fn eq(&self, other: &WarrantSortBy) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Copy for WarrantSortBy

Source§

impl Eq for WarrantSortBy

Source§

impl StructuralPartialEq for WarrantSortBy

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for WarrantSortBy

Source§

fn clone(&self) -> WarrantSortBy

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WarrantSortBy

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<WarrantSortBy> for i32

Source§

fn from(enum_value: WarrantSortBy) -> Self

Converts to this type from the input type.
Source§

impl Hash for WarrantSortBy

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for WarrantSortBy

Source§

fn eq(&self, other: &WarrantSortBy) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Copy for WarrantSortBy

Source§

impl Eq for WarrantSortBy

Source§

impl StructuralPartialEq for WarrantSortBy

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/enum.WarrantStatus.html b/v2/rust/longport/quote/enum.WarrantStatus.html index 1dd95d499..1751a1cb6 100644 --- a/v2/rust/longport/quote/enum.WarrantStatus.html +++ b/v2/rust/longport/quote/enum.WarrantStatus.html @@ -1,4 +1,4 @@ -WarrantStatus in longport::quote - Rust
longport::quote

Enum WarrantStatus

Source
#[repr(i32)]
pub enum WarrantStatus { +WarrantStatus in longport::quote - Rust
longport::quote

Enum WarrantStatus

Source
#[repr(i32)]
pub enum WarrantStatus { Suspend = 2, PrepareList = 3, Normal = 4, @@ -6,37 +6,37 @@

Variants§

§

Suspend = 2

Suspend

§

PrepareList = 3

Prepare List

§

Normal = 4

Normal

-

Trait Implementations§

Source§

impl Clone for WarrantStatus

Source§

fn clone(&self) -> WarrantStatus

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WarrantStatus

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WarrantStatus

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<WarrantStatus> for i32

Source§

fn from(enum_value: WarrantStatus) -> Self

Converts to this type from the input type.
Source§

impl Hash for WarrantStatus

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for WarrantStatus

Source§

fn eq(&self, other: &WarrantStatus) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Serialize for WarrantStatus

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<i32> for WarrantStatus

Source§

type Error = TryFromPrimitiveError<WarrantStatus>

The type returned in the event of a conversion error.
Source§

fn try_from(number: i32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for WarrantStatus

Source§

const NAME: &'static str = "WarrantStatus"

Source§

type Primitive = i32

Source§

type Error = TryFromPrimitiveError<WarrantStatus>

Source§

fn try_from_primitive( +

Trait Implementations§

Source§

impl Clone for WarrantStatus

Source§

fn clone(&self) -> WarrantStatus

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WarrantStatus

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WarrantStatus

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<WarrantStatus> for i32

Source§

fn from(enum_value: WarrantStatus) -> Self

Converts to this type from the input type.
Source§

impl Hash for WarrantStatus

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for WarrantStatus

Source§

fn eq(&self, other: &WarrantStatus) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for WarrantStatus

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<i32> for WarrantStatus

Source§

type Error = TryFromPrimitiveError<WarrantStatus>

The type returned in the event of a conversion error.
Source§

fn try_from(number: i32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for WarrantStatus

Source§

const NAME: &'static str = "WarrantStatus"

Source§

type Primitive = i32

Source§

type Error = TryFromPrimitiveError<WarrantStatus>

Source§

fn try_from_primitive( number: Self::Primitive, -) -> Result<Self, TryFromPrimitiveError<Self>>

Source§

impl Copy for WarrantStatus

Source§

impl Eq for WarrantStatus

Source§

impl StructuralPartialEq for WarrantStatus

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<Self, TryFromPrimitiveError<Self>>
Source§

impl Copy for WarrantStatus

Source§

impl Eq for WarrantStatus

Source§

impl StructuralPartialEq for WarrantStatus

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/enum.WarrantType.html b/v2/rust/longport/quote/enum.WarrantType.html index 547b7fdf0..e975a9b8a 100644 --- a/v2/rust/longport/quote/enum.WarrantType.html +++ b/v2/rust/longport/quote/enum.WarrantType.html @@ -1,4 +1,4 @@ -WarrantType in longport::quote - Rust
longport::quote

Enum WarrantType

Source
#[repr(i32)]
pub enum WarrantType { +WarrantType in longport::quote - Rust
longport::quote

Enum WarrantType

Source
#[repr(i32)]
pub enum WarrantType { Unknown = -1, Call = 0, Put = 1, @@ -12,37 +12,37 @@
§

Bull = 2

Bull

§

Bear = 3

Bear

§

Inline = 4

Inline

-

Trait Implementations§

Source§

impl Clone for WarrantType

Source§

fn clone(&self) -> WarrantType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WarrantType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for WarrantType

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for WarrantType

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<WarrantType> for i32

Source§

fn from(enum_value: WarrantType) -> Self

Converts to this type from the input type.
Source§

impl FromStr for WarrantType

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<WarrantType, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for WarrantType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for WarrantType

Source§

fn eq(&self, other: &WarrantType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl Serialize for WarrantType

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for WarrantType

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<WarrantType, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for WarrantType

Source§

type Error = TryFromPrimitiveError<WarrantType>

The type returned in the event of a conversion error.
Source§

fn try_from(number: i32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for WarrantType

Source§

const NAME: &'static str = "WarrantType"

Source§

type Primitive = i32

Source§

type Error = TryFromPrimitiveError<WarrantType>

Source§

fn try_from_primitive( +

Trait Implementations§

Source§

impl Clone for WarrantType

Source§

fn clone(&self) -> WarrantType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WarrantType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for WarrantType

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for WarrantType

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<WarrantType> for i32

Source§

fn from(enum_value: WarrantType) -> Self

Converts to this type from the input type.
Source§

impl FromStr for WarrantType

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<WarrantType, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for WarrantType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for WarrantType

Source§

fn eq(&self, other: &WarrantType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl Serialize for WarrantType

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<&str> for WarrantType

Source§

type Error = ParseError

The type returned in the event of a conversion error.
Source§

fn try_from(s: &str) -> Result<WarrantType, <Self as TryFrom<&str>>::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for WarrantType

Source§

type Error = TryFromPrimitiveError<WarrantType>

The type returned in the event of a conversion error.
Source§

fn try_from(number: i32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for WarrantType

Source§

const NAME: &'static str = "WarrantType"

Source§

type Primitive = i32

Source§

type Error = TryFromPrimitiveError<WarrantType>

Source§

fn try_from_primitive( number: Self::Primitive, -) -> Result<Self, TryFromPrimitiveError<Self>>

Source§

impl Copy for WarrantType

Source§

impl Eq for WarrantType

Source§

impl StructuralPartialEq for WarrantType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<Self, TryFromPrimitiveError<Self>>

Source§

impl Copy for WarrantType

Source§

impl Eq for WarrantType

Source§

impl StructuralPartialEq for WarrantType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/index.html b/v2/rust/longport/quote/index.html index 73ca4532d..b4da72ab8 100644 --- a/v2/rust/longport/quote/index.html +++ b/v2/rust/longport/quote/index.html @@ -1,2 +1,2 @@ -longport::quote - Rust
longport

Module quote

Source
Expand description

Quote related types

+longport::quote - Rust
longport

Module quote

Source
Expand description

Quote related types

Structs§

Enums§

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.Brokers.html b/v2/rust/longport/quote/struct.Brokers.html index f001f9a77..f4878f64d 100644 --- a/v2/rust/longport/quote/struct.Brokers.html +++ b/v2/rust/longport/quote/struct.Brokers.html @@ -1,35 +1,35 @@ -Brokers in longport::quote - Rust
longport::quote

Struct Brokers

Source
pub struct Brokers {
-    pub position: i32,
-    pub broker_ids: Vec<i32>,
+Brokers in longport::quote - Rust
longport::quote

Struct Brokers

Source
pub struct Brokers {
+    pub position: i32,
+    pub broker_ids: Vec<i32>,
 }
Expand description

Brokers

-

Fields§

§position: i32

Position

-
§broker_ids: Vec<i32>

Broker IDs

-

Trait Implementations§

Source§

impl Clone for Brokers

Source§

fn clone(&self) -> Brokers

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Brokers

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Brokers

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<Brokers> for Brokers

Source§

fn from(brokers: Brokers) -> Self

Converts to this type from the input type.
Source§

impl Serialize for Brokers

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§position: i32

Position

+
§broker_ids: Vec<i32>

Broker IDs

+

Trait Implementations§

Source§

impl Clone for Brokers

Source§

fn clone(&self) -> Brokers

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Brokers

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Brokers

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<Brokers> for Brokers

Source§

fn from(brokers: Brokers) -> Self

Converts to this type from the input type.
Source§

impl Serialize for Brokers

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.Candlestick.html b/v2/rust/longport/quote/struct.Candlestick.html index 9dabfdff4..31bfd83a8 100644 --- a/v2/rust/longport/quote/struct.Candlestick.html +++ b/v2/rust/longport/quote/struct.Candlestick.html @@ -1,9 +1,9 @@ -Candlestick in longport::quote - Rust
longport::quote

Struct Candlestick

Source
pub struct Candlestick {
+Candlestick in longport::quote - Rust
longport::quote

Struct Candlestick

Source
pub struct Candlestick {
     pub close: Decimal,
     pub open: Decimal,
     pub low: Decimal,
     pub high: Decimal,
-    pub volume: i64,
+    pub volume: i64,
     pub turnover: Decimal,
     pub timestamp: OffsetDateTime,
 }
Expand description

Candlestick

@@ -11,35 +11,35 @@
§open: Decimal

Open price

§low: Decimal

Low price

§high: Decimal

High price

-
§volume: i64

Volume

+
§volume: i64

Volume

§turnover: Decimal

Turnover

§timestamp: OffsetDateTime

Timestamp

-

Trait Implementations§

Source§

impl Clone for Candlestick

Source§

fn clone(&self) -> Candlestick

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Candlestick

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Candlestick

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<Candlestick> for Candlestick

Source§

fn from(candlestick: Candlestick) -> Self

Converts to this type from the input type.
Source§

impl From<Candlestick> for Candlestick

Source§

fn from(candlestick: Candlestick) -> Self

Converts to this type from the input type.
Source§

impl Serialize for Candlestick

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Candlestick> for Candlestick

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Candlestick) -> Result<Self>

Performs the conversion.
Source§

impl Copy for Candlestick

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for Candlestick

Source§

fn clone(&self) -> Candlestick

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Candlestick

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Candlestick

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<Candlestick> for Candlestick

Source§

fn from(candlestick: Candlestick) -> Self

Converts to this type from the input type.
Source§

impl From<Candlestick> for Candlestick

Source§

fn from(candlestick: Candlestick) -> Self

Converts to this type from the input type.
Source§

impl Serialize for Candlestick

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Candlestick> for Candlestick

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Candlestick) -> Result<Self>

Performs the conversion.
Source§

impl Copy for Candlestick

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.CapitalDistribution.html b/v2/rust/longport/quote/struct.CapitalDistribution.html index 8a9074639..f34b70cfd 100644 --- a/v2/rust/longport/quote/struct.CapitalDistribution.html +++ b/v2/rust/longport/quote/struct.CapitalDistribution.html @@ -1,4 +1,4 @@ -CapitalDistribution in longport::quote - Rust
longport::quote

Struct CapitalDistribution

Source
pub struct CapitalDistribution {
+CapitalDistribution in longport::quote - Rust
longport::quote

Struct CapitalDistribution

Source
pub struct CapitalDistribution {
     pub large: Decimal,
     pub medium: Decimal,
     pub small: Decimal,
@@ -6,32 +6,32 @@
 

Fields§

§large: Decimal

Large order

§medium: Decimal

Medium order

§small: Decimal

Small order

-

Trait Implementations§

Source§

impl Clone for CapitalDistribution

Source§

fn clone(&self) -> CapitalDistribution

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CapitalDistribution

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CapitalDistribution

Source§

fn default() -> CapitalDistribution

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for CapitalDistribution

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CapitalDistribution

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<CapitalDistribution> for CapitalDistribution

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: CapitalDistribution) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for CapitalDistribution

Source§

fn clone(&self) -> CapitalDistribution

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CapitalDistribution

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CapitalDistribution

Source§

fn default() -> CapitalDistribution

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for CapitalDistribution

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CapitalDistribution

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<CapitalDistribution> for CapitalDistribution

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: CapitalDistribution) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.CapitalDistributionResponse.html b/v2/rust/longport/quote/struct.CapitalDistributionResponse.html index 861d976ef..92954438a 100644 --- a/v2/rust/longport/quote/struct.CapitalDistributionResponse.html +++ b/v2/rust/longport/quote/struct.CapitalDistributionResponse.html @@ -1,4 +1,4 @@ -CapitalDistributionResponse in longport::quote - Rust
longport::quote

Struct CapitalDistributionResponse

Source
pub struct CapitalDistributionResponse {
+CapitalDistributionResponse in longport::quote - Rust
longport::quote

Struct CapitalDistributionResponse

Source
pub struct CapitalDistributionResponse {
     pub timestamp: OffsetDateTime,
     pub capital_in: CapitalDistribution,
     pub capital_out: CapitalDistribution,
@@ -6,32 +6,32 @@
 

Fields§

§timestamp: OffsetDateTime

Time

§capital_in: CapitalDistribution

Inflow capital data

§capital_out: CapitalDistribution

Outflow capital data

-

Trait Implementations§

Source§

impl Clone for CapitalDistributionResponse

Source§

fn clone(&self) -> CapitalDistributionResponse

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CapitalDistributionResponse

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CapitalDistributionResponse

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CapitalDistributionResponse

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<CapitalDistributionResponse> for CapitalDistributionResponse

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: CapitalDistributionResponse) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for CapitalDistributionResponse

Source§

fn clone(&self) -> CapitalDistributionResponse

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CapitalDistributionResponse

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CapitalDistributionResponse

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CapitalDistributionResponse

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<CapitalDistributionResponse> for CapitalDistributionResponse

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: CapitalDistributionResponse) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.CapitalFlowLine.html b/v2/rust/longport/quote/struct.CapitalFlowLine.html index a17f6bea9..21970e537 100644 --- a/v2/rust/longport/quote/struct.CapitalFlowLine.html +++ b/v2/rust/longport/quote/struct.CapitalFlowLine.html @@ -1,35 +1,35 @@ -CapitalFlowLine in longport::quote - Rust
longport::quote

Struct CapitalFlowLine

Source
pub struct CapitalFlowLine {
+CapitalFlowLine in longport::quote - Rust
longport::quote

Struct CapitalFlowLine

Source
pub struct CapitalFlowLine {
     pub inflow: Decimal,
     pub timestamp: OffsetDateTime,
 }
Expand description

Capital flow line

Fields§

§inflow: Decimal

Inflow capital data

§timestamp: OffsetDateTime

Time

-

Trait Implementations§

Source§

impl Clone for CapitalFlowLine

Source§

fn clone(&self) -> CapitalFlowLine

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CapitalFlowLine

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CapitalFlowLine

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CapitalFlowLine

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<CapitalFlowLine> for CapitalFlowLine

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: CapitalFlowLine) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for CapitalFlowLine

Source§

fn clone(&self) -> CapitalFlowLine

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CapitalFlowLine

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CapitalFlowLine

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CapitalFlowLine

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<CapitalFlowLine> for CapitalFlowLine

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: CapitalFlowLine) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.Depth.html b/v2/rust/longport/quote/struct.Depth.html index f98b28a5e..b41d590e5 100644 --- a/v2/rust/longport/quote/struct.Depth.html +++ b/v2/rust/longport/quote/struct.Depth.html @@ -1,39 +1,39 @@ -Depth in longport::quote - Rust
longport::quote

Struct Depth

Source
pub struct Depth {
-    pub position: i32,
-    pub price: Option<Decimal>,
-    pub volume: i64,
-    pub order_num: i64,
+Depth in longport::quote - Rust
longport::quote

Struct Depth

Source
pub struct Depth {
+    pub position: i32,
+    pub price: Option<Decimal>,
+    pub volume: i64,
+    pub order_num: i64,
 }
Expand description

Depth

-

Fields§

§position: i32

Position

-
§price: Option<Decimal>

Price

-
§volume: i64

Volume

-
§order_num: i64

Number of orders

-

Trait Implementations§

Source§

impl Clone for Depth

Source§

fn clone(&self) -> Depth

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Depth

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Depth

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Depth

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Depth> for Depth

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(depth: Depth) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

§

impl Freeze for Depth

§

impl RefUnwindSafe for Depth

§

impl Send for Depth

§

impl Sync for Depth

§

impl Unpin for Depth

§

impl UnwindSafe for Depth

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§position: i32

Position

+
§price: Option<Decimal>

Price

+
§volume: i64

Volume

+
§order_num: i64

Number of orders

+

Trait Implementations§

Source§

impl Clone for Depth

Source§

fn clone(&self) -> Depth

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Depth

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Depth

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Depth

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Depth> for Depth

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(depth: Depth) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

§

impl Freeze for Depth

§

impl RefUnwindSafe for Depth

§

impl Send for Depth

§

impl Sync for Depth

§

impl Unpin for Depth

§

impl UnwindSafe for Depth

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.DerivativeType.html b/v2/rust/longport/quote/struct.DerivativeType.html index b1414bbef..e2bc6308d 100644 --- a/v2/rust/longport/quote/struct.DerivativeType.html +++ b/v2/rust/longport/quote/struct.DerivativeType.html @@ -1,27 +1,27 @@ -DerivativeType in longport::quote - Rust
longport::quote

Struct DerivativeType

Source
pub struct DerivativeType(/* private fields */);
Expand description

Derivative type

+DerivativeType in longport::quote - Rust
longport::quote

Struct DerivativeType

Source
pub struct DerivativeType(/* private fields */);
Expand description

Derivative type

Implementations§

Source§

impl DerivativeType

Source

pub const OPTION: Self = _

US stock options

Source

pub const WARRANT: Self = _

HK warrants

Source§

impl DerivativeType

Source

pub const fn empty() -> Self

Get a flags value with all bits unset.

Source

pub const fn all() -> Self

Get a flags value with all known bits set.

-
Source

pub const fn bits(&self) -> u8

Get the underlying bits value.

+
Source

pub const fn bits(&self) -> u8

Get the underlying bits value.

The returned value is exactly the bits set in this flags value.

-
Source

pub const fn from_bits(bits: u8) -> Option<Self>

Convert from a bits value.

+
Source

pub const fn from_bits(bits: u8) -> Option<Self>

Convert from a bits value.

This method will return None if any unknown bits are set.

-
Source

pub const fn from_bits_truncate(bits: u8) -> Self

Convert from a bits value, unsetting any unknown bits.

-
Source

pub const fn from_bits_retain(bits: u8) -> Self

Convert from a bits value exactly.

-
Source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+
Source

pub const fn from_bits_truncate(bits: u8) -> Self

Convert from a bits value, unsetting any unknown bits.

+
Source

pub const fn from_bits_retain(bits: u8) -> Self

Convert from a bits value exactly.

+
Source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

This method will return None if name is empty or doesn’t correspond to any named flag.

-
Source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

-
Source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

-
Source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

-
Source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
Source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
Source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
Source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
Source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

Source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

Source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

Source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

-
Source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
Source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

Source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

Source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

Source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

@@ -35,54 +35,54 @@
Source

pub const fn iter_names(&self) -> IterNames<DerivativeType>

Yield a set of contained named flags values.

This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

-

Trait Implementations§

Source§

impl Binary for DerivativeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl BitAnd for DerivativeType

Source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

-
Source§

type Output = DerivativeType

The resulting type after applying the & operator.
Source§

impl BitAndAssign for DerivativeType

Source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

-
Source§

impl BitOr for DerivativeType

Source§

fn bitor(self, other: DerivativeType) -> Self

The bitwise or (|) of the bits in two flags values.

-
Source§

type Output = DerivativeType

The resulting type after applying the | operator.
Source§

impl BitOrAssign for DerivativeType

Source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

-
Source§

impl BitXor for DerivativeType

Source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

-
Source§

type Output = DerivativeType

The resulting type after applying the ^ operator.
Source§

impl BitXorAssign for DerivativeType

Source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

-
Source§

impl Clone for DerivativeType

Source§

fn clone(&self) -> DerivativeType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DerivativeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for DerivativeType

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Extend<DerivativeType> for DerivativeType

Source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

-
Source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
Source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
Source§

impl Flags for DerivativeType

Source§

const FLAGS: &'static [Flag<DerivativeType>] = _

The set of defined flags.
Source§

type Bits = u8

The underlying bits type.
Source§

fn bits(&self) -> u8

Get the underlying bits value. Read more
Source§

fn from_bits_retain(bits: u8) -> DerivativeType

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn contains_unknown_bits(&self) -> bool

This method will return true if any unknown bits are set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where - Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where - Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn truncate(&mut self)
where - Self: Sized,

Remove any unknown bits from the flags.
§

fn insert(&mut self, other: Self)
where - Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where - Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where - Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where - Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
Source§

impl FromIterator<DerivativeType> for DerivativeType

Source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

-
Source§

impl IntoIterator for DerivativeType

Source§

type Item = DerivativeType

The type of the elements being iterated over.
Source§

type IntoIter = Iter<DerivativeType>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl LowerHex for DerivativeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Not for DerivativeType

Source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

-
Source§

type Output = DerivativeType

The resulting type after applying the ! operator.
Source§

impl Octal for DerivativeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PublicFlags for DerivativeType

Source§

type Primitive = u8

The type of the underlying storage.
Source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
Source§

impl Serialize for DerivativeType

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Sub for DerivativeType

Source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

Trait Implementations§

Source§

impl Binary for DerivativeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl BitAnd for DerivativeType

Source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
Source§

type Output = DerivativeType

The resulting type after applying the & operator.
Source§

impl BitAndAssign for DerivativeType

Source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
Source§

impl BitOr for DerivativeType

Source§

fn bitor(self, other: DerivativeType) -> Self

The bitwise or (|) of the bits in two flags values.

+
Source§

type Output = DerivativeType

The resulting type after applying the | operator.
Source§

impl BitOrAssign for DerivativeType

Source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
Source§

impl BitXor for DerivativeType

Source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
Source§

type Output = DerivativeType

The resulting type after applying the ^ operator.
Source§

impl BitXorAssign for DerivativeType

Source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
Source§

impl Clone for DerivativeType

Source§

fn clone(&self) -> DerivativeType

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DerivativeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for DerivativeType

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Extend<DerivativeType> for DerivativeType

Source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
Source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
Source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
Source§

impl Flags for DerivativeType

Source§

const FLAGS: &'static [Flag<DerivativeType>] = _

The set of defined flags.
Source§

type Bits = u8

The underlying bits type.
Source§

fn bits(&self) -> u8

Get the underlying bits value. Read more
Source§

fn from_bits_retain(bits: u8) -> DerivativeType

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn contains_unknown_bits(&self) -> bool

This method will return true if any unknown bits are set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn truncate(&mut self)
where + Self: Sized,

Remove any unknown bits from the flags.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
Source§

impl FromIterator<DerivativeType> for DerivativeType

Source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
Source§

impl IntoIterator for DerivativeType

Source§

type Item = DerivativeType

The type of the elements being iterated over.
Source§

type IntoIter = Iter<DerivativeType>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl LowerHex for DerivativeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Not for DerivativeType

Source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
Source§

type Output = DerivativeType

The resulting type after applying the ! operator.
Source§

impl Octal for DerivativeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PublicFlags for DerivativeType

Source§

type Primitive = u8

The type of the underlying storage.
Source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
Source§

impl Serialize for DerivativeType

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Sub for DerivativeType

Source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

-
Source§

type Output = DerivativeType

The resulting type after applying the - operator.
Source§

impl SubAssign for DerivativeType

Source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+
Source§

type Output = DerivativeType

The resulting type after applying the - operator.
Source§

impl SubAssign for DerivativeType

Source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

-
Source§

impl UpperHex for DerivativeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for DerivativeType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl UpperHex for DerivativeType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for DerivativeType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.IntradayLine.html b/v2/rust/longport/quote/struct.IntradayLine.html index a751474ac..2ceefa4c3 100644 --- a/v2/rust/longport/quote/struct.IntradayLine.html +++ b/v2/rust/longport/quote/struct.IntradayLine.html @@ -1,41 +1,41 @@ -IntradayLine in longport::quote - Rust
longport::quote

Struct IntradayLine

Source
pub struct IntradayLine {
+IntradayLine in longport::quote - Rust
longport::quote

Struct IntradayLine

Source
pub struct IntradayLine {
     pub price: Decimal,
     pub timestamp: OffsetDateTime,
-    pub volume: i64,
+    pub volume: i64,
     pub turnover: Decimal,
     pub avg_price: Decimal,
 }
Expand description

Intraday line

Fields§

§price: Decimal

Close price of the minute

§timestamp: OffsetDateTime

Start time of the minute

-
§volume: i64

Volume

+
§volume: i64

Volume

§turnover: Decimal

Turnover

§avg_price: Decimal

Average price

-

Trait Implementations§

Source§

impl Clone for IntradayLine

Source§

fn clone(&self) -> IntradayLine

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IntradayLine

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for IntradayLine

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for IntradayLine

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Line> for IntradayLine

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Line) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for IntradayLine

Source§

fn clone(&self) -> IntradayLine

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IntradayLine

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for IntradayLine

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for IntradayLine

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Line> for IntradayLine

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Line) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.IssuerInfo.html b/v2/rust/longport/quote/struct.IssuerInfo.html index cdd43ee3d..8f03c9dd3 100644 --- a/v2/rust/longport/quote/struct.IssuerInfo.html +++ b/v2/rust/longport/quote/struct.IssuerInfo.html @@ -1,39 +1,39 @@ -IssuerInfo in longport::quote - Rust
longport::quote

Struct IssuerInfo

Source
pub struct IssuerInfo {
-    pub issuer_id: i32,
-    pub name_cn: String,
-    pub name_en: String,
-    pub name_hk: String,
+IssuerInfo in longport::quote - Rust
longport::quote

Struct IssuerInfo

Source
pub struct IssuerInfo {
+    pub issuer_id: i32,
+    pub name_cn: String,
+    pub name_en: String,
+    pub name_hk: String,
 }
Expand description

Issuer info

-

Fields§

§issuer_id: i32

Issuer ID

-
§name_cn: String

Issuer name (zh-CN)

-
§name_en: String

Issuer name (en)

-
§name_hk: String

Issuer name (zh-HK)

-

Trait Implementations§

Source§

impl Clone for IssuerInfo

Source§

fn clone(&self) -> IssuerInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IssuerInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for IssuerInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<IssuerInfo> for IssuerInfo

Source§

fn from(info: IssuerInfo) -> Self

Converts to this type from the input type.
Source§

impl Serialize for IssuerInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§issuer_id: i32

Issuer ID

+
§name_cn: String

Issuer name (zh-CN)

+
§name_en: String

Issuer name (en)

+
§name_hk: String

Issuer name (zh-HK)

+

Trait Implementations§

Source§

impl Clone for IssuerInfo

Source§

fn clone(&self) -> IssuerInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IssuerInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for IssuerInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<IssuerInfo> for IssuerInfo

Source§

fn from(info: IssuerInfo) -> Self

Converts to this type from the input type.
Source§

impl Serialize for IssuerInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.MarketTradingDays.html b/v2/rust/longport/quote/struct.MarketTradingDays.html index acc0b4c7f..d98f523f2 100644 --- a/v2/rust/longport/quote/struct.MarketTradingDays.html +++ b/v2/rust/longport/quote/struct.MarketTradingDays.html @@ -1,35 +1,35 @@ -MarketTradingDays in longport::quote - Rust
longport::quote

Struct MarketTradingDays

Source
pub struct MarketTradingDays {
-    pub trading_days: Vec<Date>,
-    pub half_trading_days: Vec<Date>,
+MarketTradingDays in longport::quote - Rust
longport::quote

Struct MarketTradingDays

Source
pub struct MarketTradingDays {
+    pub trading_days: Vec<Date>,
+    pub half_trading_days: Vec<Date>,
 }
Expand description

Market trading days

-

Fields§

§trading_days: Vec<Date>

Trading days

-
§half_trading_days: Vec<Date>

Half trading days

-

Trait Implementations§

Source§

impl Clone for MarketTradingDays

Source§

fn clone(&self) -> MarketTradingDays

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MarketTradingDays

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MarketTradingDays

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for MarketTradingDays

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§trading_days: Vec<Date>

Trading days

+
§half_trading_days: Vec<Date>

Half trading days

+

Trait Implementations§

Source§

impl Clone for MarketTradingDays

Source§

fn clone(&self) -> MarketTradingDays

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MarketTradingDays

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MarketTradingDays

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for MarketTradingDays

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.MarketTradingSession.html b/v2/rust/longport/quote/struct.MarketTradingSession.html index 4885bcac4..ce3a34300 100644 --- a/v2/rust/longport/quote/struct.MarketTradingSession.html +++ b/v2/rust/longport/quote/struct.MarketTradingSession.html @@ -1,35 +1,35 @@ -MarketTradingSession in longport::quote - Rust
longport::quote

Struct MarketTradingSession

Source
pub struct MarketTradingSession {
+MarketTradingSession in longport::quote - Rust
longport::quote

Struct MarketTradingSession

Source
pub struct MarketTradingSession {
     pub market: Market,
-    pub trade_sessions: Vec<TradingSessionInfo>,
+    pub trade_sessions: Vec<TradingSessionInfo>,
 }
Expand description

Market trading session

Fields§

§market: Market

Market

-
§trade_sessions: Vec<TradingSessionInfo>

Trading session

-

Trait Implementations§

Source§

impl Clone for MarketTradingSession

Source§

fn clone(&self) -> MarketTradingSession

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MarketTradingSession

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MarketTradingSession

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for MarketTradingSession

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<MarketTradePeriod> for MarketTradingSession

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: MarketTradePeriod) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§trade_sessions: Vec<TradingSessionInfo>

Trading session

+

Trait Implementations§

Source§

impl Clone for MarketTradingSession

Source§

fn clone(&self) -> MarketTradingSession

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MarketTradingSession

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MarketTradingSession

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for MarketTradingSession

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<MarketTradePeriod> for MarketTradingSession

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: MarketTradePeriod) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.OptionQuote.html b/v2/rust/longport/quote/struct.OptionQuote.html index bbb885043..5ec528af4 100644 --- a/v2/rust/longport/quote/struct.OptionQuote.html +++ b/v2/rust/longport/quote/struct.OptionQuote.html @@ -1,16 +1,16 @@ -OptionQuote in longport::quote - Rust
longport::quote

Struct OptionQuote

Source
pub struct OptionQuote {
Show 20 fields - pub symbol: String, +OptionQuote in longport::quote - Rust
longport::quote

Struct OptionQuote

Source
pub struct OptionQuote {
Show 20 fields + pub symbol: String, pub last_done: Decimal, pub prev_close: Decimal, pub open: Decimal, pub high: Decimal, pub low: Decimal, pub timestamp: OffsetDateTime, - pub volume: i64, + pub volume: i64, pub turnover: Decimal, pub trade_status: TradeStatus, pub implied_volatility: Decimal, - pub open_interest: i64, + pub open_interest: i64, pub expiry_date: Date, pub strike_price: Decimal, pub contract_multiplier: Decimal, @@ -18,20 +18,20 @@ pub contract_size: Decimal, pub direction: OptionDirection, pub historical_volatility: Decimal, - pub underlying_symbol: String, + pub underlying_symbol: String,
}
Expand description

Quote of option

-

Fields§

§symbol: String

Security code

+

Fields§

§symbol: String

Security code

§last_done: Decimal

Latest price

§prev_close: Decimal

Yesterday’s close

§open: Decimal

Open

§high: Decimal

High

§low: Decimal

Low

§timestamp: OffsetDateTime

Time of latest price

-
§volume: i64

Volume

+
§volume: i64

Volume

§turnover: Decimal

Turnover

§trade_status: TradeStatus

Security trading status

§implied_volatility: Decimal

Implied volatility

-
§open_interest: i64

Number of open positions

+
§open_interest: i64

Number of open positions

§expiry_date: Date

Exprity date

§strike_price: Decimal

Strike price

§contract_multiplier: Decimal

Contract multiplier

@@ -39,33 +39,33 @@
§contract_size: Decimal

Contract size

§direction: OptionDirection

Option direction

§historical_volatility: Decimal

Underlying security historical volatility of the option

-
§underlying_symbol: String

Underlying security symbol of the option

-

Trait Implementations§

Source§

impl Clone for OptionQuote

Source§

fn clone(&self) -> OptionQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OptionQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for OptionQuote

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for OptionQuote

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<OptionQuote> for OptionQuote

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(quote: OptionQuote) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§underlying_symbol: String

Underlying security symbol of the option

+

Trait Implementations§

Source§

impl Clone for OptionQuote

Source§

fn clone(&self) -> OptionQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OptionQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for OptionQuote

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for OptionQuote

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<OptionQuote> for OptionQuote

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(quote: OptionQuote) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.ParticipantInfo.html b/v2/rust/longport/quote/struct.ParticipantInfo.html index c07a2d599..9f0b508b7 100644 --- a/v2/rust/longport/quote/struct.ParticipantInfo.html +++ b/v2/rust/longport/quote/struct.ParticipantInfo.html @@ -1,39 +1,39 @@ -ParticipantInfo in longport::quote - Rust
longport::quote

Struct ParticipantInfo

Source
pub struct ParticipantInfo {
-    pub broker_ids: Vec<i32>,
-    pub name_cn: String,
-    pub name_en: String,
-    pub name_hk: String,
+ParticipantInfo in longport::quote - Rust
longport::quote

Struct ParticipantInfo

Source
pub struct ParticipantInfo {
+    pub broker_ids: Vec<i32>,
+    pub name_cn: String,
+    pub name_en: String,
+    pub name_hk: String,
 }
Expand description

Participant info

-

Fields§

§broker_ids: Vec<i32>

Broker IDs

-
§name_cn: String

Participant name (zh-CN)

-
§name_en: String

Participant name (en)

-
§name_hk: String

Participant name (zh-HK)

-

Trait Implementations§

Source§

impl Clone for ParticipantInfo

Source§

fn clone(&self) -> ParticipantInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ParticipantInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ParticipantInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<ParticipantInfo> for ParticipantInfo

Source§

fn from(info: ParticipantInfo) -> Self

Converts to this type from the input type.
Source§

impl Serialize for ParticipantInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§broker_ids: Vec<i32>

Broker IDs

+
§name_cn: String

Participant name (zh-CN)

+
§name_en: String

Participant name (en)

+
§name_hk: String

Participant name (zh-HK)

+

Trait Implementations§

Source§

impl Clone for ParticipantInfo

Source§

fn clone(&self) -> ParticipantInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ParticipantInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ParticipantInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<ParticipantInfo> for ParticipantInfo

Source§

fn from(info: ParticipantInfo) -> Self

Converts to this type from the input type.
Source§

impl Serialize for ParticipantInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.PrePostQuote.html b/v2/rust/longport/quote/struct.PrePostQuote.html index d37dd9b04..e996d229e 100644 --- a/v2/rust/longport/quote/struct.PrePostQuote.html +++ b/v2/rust/longport/quote/struct.PrePostQuote.html @@ -1,7 +1,7 @@ -PrePostQuote in longport::quote - Rust
longport::quote

Struct PrePostQuote

Source
pub struct PrePostQuote {
+PrePostQuote in longport::quote - Rust
longport::quote

Struct PrePostQuote

Source
pub struct PrePostQuote {
     pub last_done: Decimal,
     pub timestamp: OffsetDateTime,
-    pub volume: i64,
+    pub volume: i64,
     pub turnover: Decimal,
     pub high: Decimal,
     pub low: Decimal,
@@ -9,37 +9,37 @@
 }
Expand description

Quote of US pre/post market

Fields§

§last_done: Decimal

Latest price

§timestamp: OffsetDateTime

Time of latest price

-
§volume: i64

Volume

+
§volume: i64

Volume

§turnover: Decimal

Turnover

§high: Decimal

High

§low: Decimal

Low

§prev_close: Decimal

Close of the last trade session

-

Trait Implementations§

Source§

impl Clone for PrePostQuote

Source§

fn clone(&self) -> PrePostQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PrePostQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PrePostQuote

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for PrePostQuote

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<PrePostQuote> for PrePostQuote

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(quote: PrePostQuote) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for PrePostQuote

Source§

fn clone(&self) -> PrePostQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PrePostQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PrePostQuote

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for PrePostQuote

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<PrePostQuote> for PrePostQuote

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(quote: PrePostQuote) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.PushBrokers.html b/v2/rust/longport/quote/struct.PushBrokers.html index fffa2cb7a..8e1680f01 100644 --- a/v2/rust/longport/quote/struct.PushBrokers.html +++ b/v2/rust/longport/quote/struct.PushBrokers.html @@ -1,31 +1,31 @@ -PushBrokers in longport::quote - Rust
longport::quote

Struct PushBrokers

Source
pub struct PushBrokers {
-    pub ask_brokers: Vec<Brokers>,
-    pub bid_brokers: Vec<Brokers>,
+PushBrokers in longport::quote - Rust
longport::quote

Struct PushBrokers

Source
pub struct PushBrokers {
+    pub ask_brokers: Vec<Brokers>,
+    pub bid_brokers: Vec<Brokers>,
 }
Expand description

Brokers message

-

Fields§

§ask_brokers: Vec<Brokers>

Ask brokers

-
§bid_brokers: Vec<Brokers>

Bid brokers

-

Trait Implementations§

Source§

impl Debug for PushBrokers

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§ask_brokers: Vec<Brokers>

Ask brokers

+
§bid_brokers: Vec<Brokers>

Bid brokers

+

Trait Implementations§

Source§

impl Debug for PushBrokers

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.PushCandlestick.html b/v2/rust/longport/quote/struct.PushCandlestick.html index c55a77ee8..57b0e0d45 100644 --- a/v2/rust/longport/quote/struct.PushCandlestick.html +++ b/v2/rust/longport/quote/struct.PushCandlestick.html @@ -1,35 +1,35 @@ -PushCandlestick in longport::quote - Rust
longport::quote

Struct PushCandlestick

Source
pub struct PushCandlestick {
+PushCandlestick in longport::quote - Rust
longport::quote

Struct PushCandlestick

Source
pub struct PushCandlestick {
     pub period: Period,
     pub candlestick: Candlestick,
-    pub is_confirmed: bool,
+    pub is_confirmed: bool,
 }
Expand description

Candlestick updated message

Fields§

§period: Period

Period type

§candlestick: Candlestick

Candlestick

-
§is_confirmed: bool

Is confirmed

-

Trait Implementations§

Source§

impl Clone for PushCandlestick

Source§

fn clone(&self) -> PushCandlestick

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PushCandlestick

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for PushCandlestick

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§is_confirmed: bool

Is confirmed

+

Trait Implementations§

Source§

impl Clone for PushCandlestick

Source§

fn clone(&self) -> PushCandlestick

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PushCandlestick

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for PushCandlestick

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.PushDepth.html b/v2/rust/longport/quote/struct.PushDepth.html index 81eb3b315..1cba03d1f 100644 --- a/v2/rust/longport/quote/struct.PushDepth.html +++ b/v2/rust/longport/quote/struct.PushDepth.html @@ -1,31 +1,31 @@ -PushDepth in longport::quote - Rust
longport::quote

Struct PushDepth

Source
pub struct PushDepth {
-    pub asks: Vec<Depth>,
-    pub bids: Vec<Depth>,
+PushDepth in longport::quote - Rust
longport::quote

Struct PushDepth

Source
pub struct PushDepth {
+    pub asks: Vec<Depth>,
+    pub bids: Vec<Depth>,
 }
Expand description

Depth message

-

Fields§

§asks: Vec<Depth>

Ask depth

-
§bids: Vec<Depth>

Bid depth

-

Trait Implementations§

Source§

impl Debug for PushDepth

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§asks: Vec<Depth>

Ask depth

+
§bids: Vec<Depth>

Bid depth

+

Trait Implementations§

Source§

impl Debug for PushDepth

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.PushEvent.html b/v2/rust/longport/quote/struct.PushEvent.html index 652c8b83e..44e968f9b 100644 --- a/v2/rust/longport/quote/struct.PushEvent.html +++ b/v2/rust/longport/quote/struct.PushEvent.html @@ -1,32 +1,32 @@ -PushEvent in longport::quote - Rust
longport::quote

Struct PushEvent

Source
pub struct PushEvent {
-    pub symbol: String,
+PushEvent in longport::quote - Rust
longport::quote

Struct PushEvent

Source
pub struct PushEvent {
+    pub symbol: String,
     pub detail: PushEventDetail,
     /* private fields */
 }
Expand description

Push event

-

Fields§

§symbol: String

Security code

+

Fields§

§symbol: String

Security code

§detail: PushEventDetail

Event detail

-

Trait Implementations§

Source§

impl Debug for PushEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Debug for PushEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.PushQuote.html b/v2/rust/longport/quote/struct.PushQuote.html index 513928d61..00b606c0c 100644 --- a/v2/rust/longport/quote/struct.PushQuote.html +++ b/v2/rust/longport/quote/struct.PushQuote.html @@ -1,14 +1,14 @@ -PushQuote in longport::quote - Rust
longport::quote

Struct PushQuote

Source
pub struct PushQuote {
+PushQuote in longport::quote - Rust
longport::quote

Struct PushQuote

Source
pub struct PushQuote {
     pub last_done: Decimal,
     pub open: Decimal,
     pub high: Decimal,
     pub low: Decimal,
     pub timestamp: OffsetDateTime,
-    pub volume: i64,
+    pub volume: i64,
     pub turnover: Decimal,
     pub trade_status: TradeStatus,
     pub trade_session: TradeSession,
-    pub current_volume: i64,
+    pub current_volume: i64,
     pub current_turnover: Decimal,
 }
Expand description

Quote message

Fields§

§last_done: Decimal

Latest price

@@ -16,36 +16,36 @@
§high: Decimal

High

§low: Decimal

Low

§timestamp: OffsetDateTime

Time of latest price

-
§volume: i64

Volume

+
§volume: i64

Volume

§turnover: Decimal

Turnover

§trade_status: TradeStatus

Security trading status

§trade_session: TradeSession

Trade session

-
§current_volume: i64

Increase volume between pushes

+
§current_volume: i64

Increase volume between pushes

§current_turnover: Decimal

Increase turnover between pushes

-

Trait Implementations§

Source§

impl Clone for PushQuote

Source§

fn clone(&self) -> PushQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PushQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PushQuote

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for PushQuote

Source§

fn clone(&self) -> PushQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PushQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PushQuote

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.PushTrades.html b/v2/rust/longport/quote/struct.PushTrades.html index edb1afcb9..faec3b81a 100644 --- a/v2/rust/longport/quote/struct.PushTrades.html +++ b/v2/rust/longport/quote/struct.PushTrades.html @@ -1,29 +1,29 @@ -PushTrades in longport::quote - Rust
longport::quote

Struct PushTrades

Source
pub struct PushTrades {
-    pub trades: Vec<Trade>,
+PushTrades in longport::quote - Rust
longport::quote

Struct PushTrades

Source
pub struct PushTrades {
+    pub trades: Vec<Trade>,
 }
Expand description

Trades message

-

Fields§

§trades: Vec<Trade>

Trades data

-

Trait Implementations§

Source§

impl Debug for PushTrades

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§trades: Vec<Trade>

Trades data

+

Trait Implementations§

Source§

impl Debug for PushTrades

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.QuoteContext.html b/v2/rust/longport/quote/struct.QuoteContext.html index 2d55eac76..916ce73c0 100644 --- a/v2/rust/longport/quote/struct.QuoteContext.html +++ b/v2/rust/longport/quote/struct.QuoteContext.html @@ -1,19 +1,19 @@ -QuoteContext in longport::quote - Rust
longport::quote

Struct QuoteContext

Source
pub struct QuoteContext { /* private fields */ }
Expand description

Quote context

-

Implementations§

Source§

impl QuoteContext

Source

pub async fn try_new( - config: Arc<Config>, +QuoteContext in longport::quote - Rust
longport::quote

Struct QuoteContext

Source
pub struct QuoteContext { /* private fields */ }
Expand description

Quote context

+

Implementations§

Source§

impl QuoteContext

Source

pub async fn try_new( + config: Arc<Config>, ) -> Result<(Self, UnboundedReceiver<PushEvent>)>

Create a QuoteContext

-
Source

pub fn log_subscriber(&self) -> Arc<dyn Subscriber + Send + Sync>

Returns the log subscriber

-
Source

pub fn member_id(&self) -> i64

Returns the member ID

-
Source

pub fn quote_level(&self) -> &str

Returns the quote level

-
Source

pub fn quote_package_details(&self) -> &[QuotePackageDetail]

Returns the quote package details

-
Source

pub async fn subscribe<I, T>( +

Source

pub fn log_subscriber(&self) -> Arc<dyn Subscriber + Send + Sync>

Returns the log subscriber

+
Source

pub fn member_id(&self) -> i64

Returns the member ID

+
Source

pub fn quote_level(&self) -> &str

Returns the quote level

+
Source

pub fn quote_package_details(&self) -> &[QuotePackageDetail]

Returns the quote package details

+
Source

pub async fn subscribe<I, T>( &self, symbols: I, - sub_types: impl Into<SubFlags>, - is_first_push: bool, -) -> Result<()>
where - I: IntoIterator<Item = T>, - T: AsRef<str>,

Subscribe

+ sub_types: impl Into<SubFlags>, + is_first_push: bool, +) -> Result<()>
where + I: IntoIterator<Item = T>, + T: AsRef<str>,

Subscribe

Reference: https://open.longportapp.com/en/docs/quote/subscribe/subscribe

§Examples
use std::sync::Arc;
@@ -31,13 +31,13 @@ 
§Examples
while let Some(msg) = receiver.recv().await { println!("{:?}", msg); }
-
Source

pub async fn unsubscribe<I, T>( +

Source

pub async fn unsubscribe<I, T>( &self, symbols: I, - sub_types: impl Into<SubFlags>, -) -> Result<()>
where - I: IntoIterator<Item = T>, - T: AsRef<str>,

Unsubscribe

+ sub_types: impl Into<SubFlags>, +) -> Result<()>
where + I: IntoIterator<Item = T>, + T: AsRef<str>,

Unsubscribe

Reference: https://open.longportapp.com/en/docs/quote/subscribe/unsubscribe

§Examples
use std::sync::Arc;
@@ -53,12 +53,12 @@ 
§Examples
ctx.subscribe(["700.HK", "AAPL.US"], SubFlags::QUOTE, false) .await?; ctx.unsubscribe(["AAPL.US"], SubFlags::QUOTE).await?;
-
Source

pub async fn subscribe_candlesticks<T>( +

Source

pub async fn subscribe_candlesticks<T>( &self, symbol: T, period: Period, -) -> Result<Vec<Candlestick>>
where - T: AsRef<str>,

Subscribe security candlesticks

+) -> Result<Vec<Candlestick>>
where + T: AsRef<str>,

Subscribe security candlesticks

§Examples
use std::sync::Arc;
 
@@ -75,13 +75,13 @@ 
§Examples
while let Some(msg) = receiver.recv().await { println!("{:?}", msg); }
-
Source

pub async fn unsubscribe_candlesticks<T>( +

Source

pub async fn unsubscribe_candlesticks<T>( &self, symbol: T, period: Period, -) -> Result<()>
where - T: AsRef<str>,

Unsubscribe security candlesticks

-
Source

pub async fn subscriptions(&self) -> Result<Vec<Subscription>>

Get subscription information

+) -> Result<()>
where + T: AsRef<str>,

Unsubscribe security candlesticks

+
Source

pub async fn subscriptions(&self) -> Result<Vec<Subscription>>

Get subscription information

§Examples
use std::sync::Arc;
 
@@ -97,12 +97,12 @@ 
§Examples
.await?; let resp = ctx.subscriptions().await?; println!("{:?}", resp);
-
Source

pub async fn static_info<I, T>( +

Source

pub async fn static_info<I, T>( &self, symbols: I, -) -> Result<Vec<SecurityStaticInfo>>
where - I: IntoIterator<Item = T>, - T: Into<String>,

Get basic information of securities

+) -> Result<Vec<SecurityStaticInfo>>
where + I: IntoIterator<Item = T>, + T: Into<String>,

Get basic information of securities

Reference: https://open.longportapp.com/en/docs/quote/pull/static

§Examples
use std::sync::Arc;
@@ -116,9 +116,9 @@ 
§Examples
.static_info(["700.HK", "AAPL.US", "TSLA.US", "NFLX.US"]) .await?; println!("{:?}", resp);
-
Source

pub async fn quote<I, T>(&self, symbols: I) -> Result<Vec<SecurityQuote>>
where - I: IntoIterator<Item = T>, - T: Into<String>,

Get quote of securities

+
Source

pub async fn quote<I, T>(&self, symbols: I) -> Result<Vec<SecurityQuote>>
where + I: IntoIterator<Item = T>, + T: Into<String>,

Get quote of securities

Reference: https://open.longportapp.com/en/docs/quote/pull/quote

§Examples
use std::sync::Arc;
@@ -132,9 +132,9 @@ 
§Examples
.quote(["700.HK", "AAPL.US", "TSLA.US", "NFLX.US"]) .await?; println!("{:?}", resp);
-
Source

pub async fn option_quote<I, T>(&self, symbols: I) -> Result<Vec<OptionQuote>>
where - I: IntoIterator<Item = T>, - T: Into<String>,

Get quote of option securities

+
Source

pub async fn option_quote<I, T>(&self, symbols: I) -> Result<Vec<OptionQuote>>
where + I: IntoIterator<Item = T>, + T: Into<String>,

Get quote of option securities

Reference: https://open.longportapp.com/en/docs/quote/pull/option-quote

§Examples
use std::sync::Arc;
@@ -146,9 +146,9 @@ 
§Examples
let resp = ctx.option_quote(["AAPL230317P160000.US"]).await?; println!("{:?}", resp);
-
Source

pub async fn warrant_quote<I, T>(&self, symbols: I) -> Result<Vec<WarrantQuote>>
where - I: IntoIterator<Item = T>, - T: Into<String>,

Get quote of warrant securities

+
Source

pub async fn warrant_quote<I, T>(&self, symbols: I) -> Result<Vec<WarrantQuote>>
where + I: IntoIterator<Item = T>, + T: Into<String>,

Get quote of warrant securities

Reference: https://open.longportapp.com/en/docs/quote/pull/warrant-quote

§Examples
use std::sync::Arc;
@@ -160,7 +160,7 @@ 
§Examples
let resp = ctx.warrant_quote(["21125.HK"]).await?; println!("{:?}", resp);
-
Source

pub async fn depth(&self, symbol: impl Into<String>) -> Result<SecurityDepth>

Get security depth

+
Source

pub async fn depth(&self, symbol: impl Into<String>) -> Result<SecurityDepth>

Get security depth

Reference: https://open.longportapp.com/en/docs/quote/pull/depth

§Examples
use std::sync::Arc;
@@ -172,9 +172,9 @@ 
§Examples
let resp = ctx.depth("700.HK").await?; println!("{:?}", resp);
-
Source

pub async fn brokers( +

Source

pub async fn brokers( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, ) -> Result<SecurityBrokers>

Get security brokers

Reference: https://open.longportapp.com/en/docs/quote/pull/brokers

§Examples
@@ -187,7 +187,7 @@
§Examples
let resp = ctx.brokers("700.HK").await?; println!("{:?}", resp);
-
Source

pub async fn participants(&self) -> Result<Vec<ParticipantInfo>>

Get participants

+
Source

pub async fn participants(&self) -> Result<Vec<ParticipantInfo>>

Get participants

Reference: https://open.longportapp.com/en/docs/quote/pull/broker-ids

§Examples
use std::sync::Arc;
@@ -199,11 +199,11 @@ 
§Exampleslet resp = ctx.participants().await?; println!("{:?}", resp);
-
Source

pub async fn trades( +

Source

pub async fn trades( &self, - symbol: impl Into<String>, - count: usize, -) -> Result<Vec<Trade>>

Get security trades

+ symbol: impl Into<String>, + count: usize, +) -> Result<Vec<Trade>>

Get security trades

Reference: https://open.longportapp.com/en/docs/quote/pull/trade

§Examples
use std::sync::Arc;
@@ -215,10 +215,10 @@ 
§Exampleslet resp = ctx.trades("700.HK", 10).await?; println!("{:?}", resp);
-
Source

pub async fn intraday( +

Source

pub async fn intraday( &self, - symbol: impl Into<String>, -) -> Result<Vec<IntradayLine>>

Get security intraday lines

+ symbol: impl Into<String>, +) -> Result<Vec<IntradayLine>>

Get security intraday lines

Reference: https://open.longportapp.com/en/docs/quote/pull/intraday

§Examples
use std::sync::Arc;
@@ -230,13 +230,13 @@ 
§Exampleslet resp = ctx.intraday("700.HK").await?; println!("{:?}", resp);
-
Source

pub async fn candlesticks( +

Source

pub async fn candlesticks( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, period: Period, - count: usize, + count: usize, adjust_type: AdjustType, -) -> Result<Vec<Candlestick>>

Get security candlesticks

+) -> Result<Vec<Candlestick>>

Get security candlesticks

Reference: https://open.longportapp.com/en/docs/quote/pull/candlestick

§Examples
use std::sync::Arc;
@@ -253,27 +253,27 @@ 
§Examples"700.HK", Period::Day, 10, AdjustType::NoAdjust) .await?; println!("{:?}", resp);
-
Source

pub async fn history_candlesticks_by_offset( +

Source

pub async fn history_candlesticks_by_offset( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, period: Period, adjust_type: AdjustType, - forward: bool, - time: Option<PrimitiveDateTime>, - count: usize, -) -> Result<Vec<Candlestick>>

Get security history candlesticks by offset

-
Source

pub async fn history_candlesticks_by_date( + forward: bool, + time: Option<PrimitiveDateTime>, + count: usize, +) -> Result<Vec<Candlestick>>

Get security history candlesticks by offset

+
Source

pub async fn history_candlesticks_by_date( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, period: Period, adjust_type: AdjustType, - start: Option<Date>, - end: Option<Date>, -) -> Result<Vec<Candlestick>>

Get security history candlesticks by date

-
Source

pub async fn option_chain_expiry_date_list( + start: Option<Date>, + end: Option<Date>, +) -> Result<Vec<Candlestick>>

Get security history candlesticks by date

+
Source

pub async fn option_chain_expiry_date_list( &self, - symbol: impl Into<String>, -) -> Result<Vec<Date>>

Get option chain expiry date list

+ symbol: impl Into<String>, +) -> Result<Vec<Date>>

Get option chain expiry date list

Reference: https://open.longportapp.com/en/docs/quote/pull/optionchain-date

§Examples
use std::sync::Arc;
@@ -285,11 +285,11 @@ 
§Exampleslet resp = ctx.option_chain_expiry_date_list("AAPL.US").await?; println!("{:?}", resp);
-
Source

pub async fn option_chain_info_by_date( +

Source

pub async fn option_chain_info_by_date( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, expiry_date: Date, -) -> Result<Vec<StrikePriceInfo>>

Get option chain info by date

+) -> Result<Vec<StrikePriceInfo>>

Get option chain info by date

Reference: https://open.longportapp.com/en/docs/quote/pull/optionchain-date-strike

§Examples
use std::sync::Arc;
@@ -304,7 +304,7 @@ 
§Examples"AAPL.US", date!(2023 - 01 - 20)) .await?; println!("{:?}", resp);
-
Source

pub async fn warrant_issuers(&self) -> Result<Vec<IssuerInfo>>

Get warrant issuers

+
Source

pub async fn warrant_issuers(&self) -> Result<Vec<IssuerInfo>>

Get warrant issuers

Reference: https://open.longportapp.com/en/docs/quote/pull/issuer

§Examples
use std::sync::Arc;
@@ -316,18 +316,18 @@ 
§Exampleslet resp = ctx.warrant_issuers().await?; println!("{:?}", resp);
-
Source

pub async fn warrant_list( +

Source

pub async fn warrant_list( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, sort_by: WarrantSortBy, sort_order: SortOrderType, - warrant_type: Option<&[WarrantType]>, - issuer: Option<&[i32]>, - expiry_date: Option<&[FilterWarrantExpiryDate]>, - price_type: Option<&[FilterWarrantInOutBoundsType]>, - status: Option<&[WarrantStatus]>, -) -> Result<Vec<WarrantInfo>>

Query warrant list

-
Source

pub async fn trading_session(&self) -> Result<Vec<MarketTradingSession>>

Get trading session of the day

+ warrant_type: Option<&[WarrantType]>, + issuer: Option<&[i32]>, + expiry_date: Option<&[FilterWarrantExpiryDate]>, + price_type: Option<&[FilterWarrantInOutBoundsType]>, + status: Option<&[WarrantStatus]>, +) -> Result<Vec<WarrantInfo>>

Query warrant list

+
Source

pub async fn trading_session(&self) -> Result<Vec<MarketTradingSession>>

Get trading session of the day

Reference: https://open.longportapp.com/en/docs/quote/pull/trade-session

§Examples
use std::sync::Arc;
@@ -339,7 +339,7 @@ 
§Exampleslet resp = ctx.trading_session().await?; println!("{:?}", resp);
-
Source

pub async fn trading_days( +

Source

pub async fn trading_days( &self, market: Market, begin: Date, @@ -361,10 +361,10 @@

§Examplesdate!(2022 - 01 - 20), date!(2022 - 02 - 20)) .await?; println!("{:?}", resp); -
Source

pub async fn capital_flow( +

Source

pub async fn capital_flow( &self, - symbol: impl Into<String>, -) -> Result<Vec<CapitalFlowLine>>

Get capital flow intraday

+ symbol: impl Into<String>, +) -> Result<Vec<CapitalFlowLine>>

Get capital flow intraday

Reference: https://open.longportapp.com/en/docs/quote/pull/capital-flow-intraday

§Examples
use std::sync::Arc;
@@ -376,9 +376,9 @@ 
§Exampleslet resp = ctx.capital_flow("700.HK").await?; println!("{:?}", resp);
-
Source

pub async fn capital_distribution( +

Source

pub async fn capital_distribution( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, ) -> Result<CapitalDistributionResponse>

Get capital distribution

Reference: https://open.longportapp.com/en/docs/quote/pull/capital-distribution

§Examples
@@ -391,15 +391,15 @@
§Exampleslet resp = ctx.capital_distribution("700.HK").await?; println!("{:?}", resp);
-
Source

pub async fn calc_indexes<I, T, J>( +

Source

pub async fn calc_indexes<I, T, J>( &self, symbols: I, indexes: J, -) -> Result<Vec<SecurityCalcIndex>>
where - I: IntoIterator<Item = T>, - T: Into<String>, - J: IntoIterator<Item = CalcIndex>,

Get calc indexes

-
Source

pub async fn watchlist(&self) -> Result<Vec<WatchlistGroup>>

Get watchlist

+) -> Result<Vec<SecurityCalcIndex>>
where + I: IntoIterator<Item = T>, + T: Into<String>, + J: IntoIterator<Item = CalcIndex>,

Get calc indexes

+
Source

pub async fn watchlist(&self) -> Result<Vec<WatchlistGroup>>

Get watchlist

Reference: https://open.longportapp.com/en/docs/quote/individual/watchlist_groups

§Examples
use std::sync::Arc;
@@ -411,10 +411,10 @@ 
§Exampleslet resp = ctx.watchlist().await?; println!("{:?}", resp);
-
Source

pub async fn create_watchlist_group( +

Source

pub async fn create_watchlist_group( &self, req: RequestCreateWatchlistGroup, -) -> Result<i64>

Create watchlist group

+) -> Result<i64>

Create watchlist group

Reference: https://open.longportapp.com/en/docs/quote/individual/watchlist_create_group

§Examples
use std::sync::Arc;
@@ -430,7 +430,7 @@ 
§Exampleslet req = RequestCreateWatchlistGroup::new("Watchlist1").securities(["700.HK", "BABA.US"]); let group_id = ctx.create_watchlist_group(req).await?; println!("{}", group_id);
-
Source

pub async fn delete_watchlist_group(&self, id: i64, purge: bool) -> Result<()>

Delete watchlist group

+
Source

pub async fn delete_watchlist_group(&self, id: i64, purge: bool) -> Result<()>

Delete watchlist group

Reference: https://open.longportapp.com/en/docs/quote/individual/watchlist_delete_group

§Examples
use std::sync::Arc;
@@ -441,10 +441,10 @@ 
§Exampleslet (ctx, _) = QuoteContext::try_new(config).await?; ctx.delete_watchlist_group(10086, true).await?;
-
Source

pub async fn update_watchlist_group( +

Source

pub async fn update_watchlist_group( &self, req: RequestUpdateWatchlistGroup, -) -> Result<()>

Update watchlist group

+) -> Result<()>

Update watchlist group

Reference: https://open.longportapp.com/en/docs/quote/individual/watchlist_update_group Reference: https://open.longportapp.com/en/docs/quote/individual/watchlist_update_group_securities

§Examples
@@ -461,17 +461,17 @@
§Examples"Watchlist2") .securities(["700.HK", "BABA.US"]); ctx.update_watchlist_group(req).await?;
-
Source

pub async fn security_list( +

Source

pub async fn security_list( &self, market: Market, category: SecurityListCategory, -) -> Result<Vec<Security>>

Get security list

-
Source

pub async fn realtime_quote<I, T>( +) -> Result<Vec<Security>>

Get security list

+
Source

pub async fn realtime_quote<I, T>( &self, symbols: I, -) -> Result<Vec<RealtimeQuote>>
where - I: IntoIterator<Item = T>, - T: Into<String>,

Get real-time quotes

+) -> Result<Vec<RealtimeQuote>>
where + I: IntoIterator<Item = T>, + T: Into<String>,

Get real-time quotes

Get real-time quotes of the subscribed symbols, it always returns the data in the local storage.

§Examples
@@ -491,9 +491,9 @@
§Exampleslet resp = ctx.realtime_quote(["700.HK", "AAPL.US"]).await?; println!("{:?}", resp);
-
Source

pub async fn realtime_depth( +

Source

pub async fn realtime_depth( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, ) -> Result<SecurityDepth>

Get real-time depth

Get real-time depth of the subscribed symbols, it always returns the data in the local storage.

@@ -514,11 +514,11 @@
§Exampleslet resp = ctx.realtime_depth("700.HK").await?; println!("{:?}", resp);
-
Source

pub async fn realtime_trades( +

Source

pub async fn realtime_trades( &self, - symbol: impl Into<String>, - count: usize, -) -> Result<Vec<Trade>>

Get real-time trades

+ symbol: impl Into<String>, + count: usize, +) -> Result<Vec<Trade>>

Get real-time trades

Get real-time trades of the subscribed symbols, it always returns the data in the local storage.

§Examples
@@ -538,9 +538,9 @@
§Exampleslet resp = ctx.realtime_trades("700.HK", 10).await?; println!("{:?}", resp);
-
Source

pub async fn realtime_brokers( +

Source

pub async fn realtime_brokers( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, ) -> Result<SecurityBrokers>

Get real-time broker queue

Get real-time broker queue of the subscribed symbols, it always returns the data in the local storage.

@@ -561,12 +561,12 @@
§Exampleslet resp = ctx.realtime_brokers("700.HK").await?; println!("{:?}", resp);
-
Source

pub async fn realtime_candlesticks( +

Source

pub async fn realtime_candlesticks( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, period: Period, - count: usize, -) -> Result<Vec<Candlestick>>

Get real-time candlesticks

+ count: usize, +) -> Result<Vec<Candlestick>>

Get real-time candlesticks

Get real-time candlesticks of the subscribed symbols, it always returns the data in the local storage.

§Examples
@@ -588,30 +588,30 @@
§Examples"AAPL.US", Period::OneMinute, 10) .await?; println!("{:?}", resp);
-

Trait Implementations§

Source§

impl Clone for QuoteContext

Source§

fn clone(&self) -> QuoteContext

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for QuoteContext

Source§

fn clone(&self) -> QuoteContext

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Drop for QuoteContext

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.QuotePackageDetail.html b/v2/rust/longport/quote/struct.QuotePackageDetail.html index 0a24e3737..ca5ce7e99 100644 --- a/v2/rust/longport/quote/struct.QuotePackageDetail.html +++ b/v2/rust/longport/quote/struct.QuotePackageDetail.html @@ -1,39 +1,39 @@ -QuotePackageDetail in longport::quote - Rust
longport::quote

Struct QuotePackageDetail

Source
pub struct QuotePackageDetail {
-    pub key: String,
-    pub name: String,
-    pub description: String,
+QuotePackageDetail in longport::quote - Rust
longport::quote

Struct QuotePackageDetail

Source
pub struct QuotePackageDetail {
+    pub key: String,
+    pub name: String,
+    pub description: String,
     pub start_at: OffsetDateTime,
     pub end_at: OffsetDateTime,
 }
Expand description

Quote package detail

-

Fields§

§key: String

Key

-
§name: String

Name

-
§description: String

Description

+

Fields§

§key: String

Key

+
§name: String

Name

+
§description: String

Description

§start_at: OffsetDateTime

Start time

§end_at: OffsetDateTime

End time

-

Trait Implementations§

Source§

impl Clone for QuotePackageDetail

Source§

fn clone(&self) -> QuotePackageDetail

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for QuotePackageDetail

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl TryFrom<PackageDetail> for QuotePackageDetail

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(quote: PackageDetail) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for QuotePackageDetail

Source§

fn clone(&self) -> QuotePackageDetail

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for QuotePackageDetail

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl TryFrom<PackageDetail> for QuotePackageDetail

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(quote: PackageDetail) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.RealtimeQuote.html b/v2/rust/longport/quote/struct.RealtimeQuote.html index 8d157f337..e41e83726 100644 --- a/v2/rust/longport/quote/struct.RealtimeQuote.html +++ b/v2/rust/longport/quote/struct.RealtimeQuote.html @@ -1,49 +1,49 @@ -RealtimeQuote in longport::quote - Rust
longport::quote

Struct RealtimeQuote

Source
pub struct RealtimeQuote {
-    pub symbol: String,
+RealtimeQuote in longport::quote - Rust
longport::quote

Struct RealtimeQuote

Source
pub struct RealtimeQuote {
+    pub symbol: String,
     pub last_done: Decimal,
     pub open: Decimal,
     pub high: Decimal,
     pub low: Decimal,
     pub timestamp: OffsetDateTime,
-    pub volume: i64,
+    pub volume: i64,
     pub turnover: Decimal,
     pub trade_status: TradeStatus,
 }
Expand description

Real-time quote

-

Fields§

§symbol: String

Security code

+

Fields§

§symbol: String

Security code

§last_done: Decimal

Latest price

§open: Decimal

Open

§high: Decimal

High

§low: Decimal

Low

§timestamp: OffsetDateTime

Time of latest price

-
§volume: i64

Volume

+
§volume: i64

Volume

§turnover: Decimal

Turnover

§trade_status: TradeStatus

Security trading status

-

Trait Implementations§

Source§

impl Clone for RealtimeQuote

Source§

fn clone(&self) -> RealtimeQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RealtimeQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for RealtimeQuote

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for RealtimeQuote

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for RealtimeQuote

Source§

fn clone(&self) -> RealtimeQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RealtimeQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for RealtimeQuote

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for RealtimeQuote

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.RequestCreateWatchlistGroup.html b/v2/rust/longport/quote/struct.RequestCreateWatchlistGroup.html index f558e4181..e12cd0ec6 100644 --- a/v2/rust/longport/quote/struct.RequestCreateWatchlistGroup.html +++ b/v2/rust/longport/quote/struct.RequestCreateWatchlistGroup.html @@ -1,37 +1,37 @@ -RequestCreateWatchlistGroup in longport::quote - Rust
longport::quote

Struct RequestCreateWatchlistGroup

Source
pub struct RequestCreateWatchlistGroup {
-    pub name: String,
-    pub securities: Option<Vec<String>>,
+RequestCreateWatchlistGroup in longport::quote - Rust
longport::quote

Struct RequestCreateWatchlistGroup

Source
pub struct RequestCreateWatchlistGroup {
+    pub name: String,
+    pub securities: Option<Vec<String>>,
 }
Expand description

An request for create watchlist group

-

Fields§

§name: String

Group name

-
§securities: Option<Vec<String>>

Securities

-

Implementations§

Source§

impl RequestCreateWatchlistGroup

Source

pub fn new(name: impl Into<String>) -> Self

Create a new request for create watchlist group

+

Fields§

§name: String

Group name

+
§securities: Option<Vec<String>>

Securities

+

Implementations§

Source§

impl RequestCreateWatchlistGroup

Source

pub fn new(name: impl Into<String>) -> Self

Create a new request for create watchlist group

Source

pub fn securities<I, T>(self, securities: I) -> Self
where - I: IntoIterator<Item = T>, - T: Into<String>,

Set securities to the request

-

Trait Implementations§

Source§

impl Clone for RequestCreateWatchlistGroup

Source§

fn clone(&self) -> RequestCreateWatchlistGroup

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RequestCreateWatchlistGroup

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+ I: IntoIterator<Item = T>, + T: Into<String>,

Set securities to the request

+

Trait Implementations§

Source§

impl Clone for RequestCreateWatchlistGroup

Source§

fn clone(&self) -> RequestCreateWatchlistGroup

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RequestCreateWatchlistGroup

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.RequestUpdateWatchlistGroup.html b/v2/rust/longport/quote/struct.RequestUpdateWatchlistGroup.html index 5d4230f79..adb0deaec 100644 --- a/v2/rust/longport/quote/struct.RequestUpdateWatchlistGroup.html +++ b/v2/rust/longport/quote/struct.RequestUpdateWatchlistGroup.html @@ -1,43 +1,43 @@ -RequestUpdateWatchlistGroup in longport::quote - Rust
longport::quote

Struct RequestUpdateWatchlistGroup

Source
pub struct RequestUpdateWatchlistGroup {
-    pub id: i64,
-    pub name: Option<String>,
-    pub securities: Option<Vec<String>>,
+RequestUpdateWatchlistGroup in longport::quote - Rust
longport::quote

Struct RequestUpdateWatchlistGroup

Source
pub struct RequestUpdateWatchlistGroup {
+    pub id: i64,
+    pub name: Option<String>,
+    pub securities: Option<Vec<String>>,
     pub mode: SecuritiesUpdateMode,
 }
Expand description

An request for update watchlist group

-

Fields§

§id: i64

Group id

-
§name: Option<String>

Group name

-
§securities: Option<Vec<String>>

Securities

+

Fields§

§id: i64

Group id

+
§name: Option<String>

Group name

+
§securities: Option<Vec<String>>

Securities

§mode: SecuritiesUpdateMode

Securities Update mode

-

Implementations§

Source§

impl RequestUpdateWatchlistGroup

Source

pub fn new(id: i64) -> Self

Create a new request for update watchlist group

-
Source

pub fn name(self, name: impl Into<String>) -> Self

Set group name to the request

+

Implementations§

Source§

impl RequestUpdateWatchlistGroup

Source

pub fn new(id: i64) -> Self

Create a new request for update watchlist group

+
Source

pub fn name(self, name: impl Into<String>) -> Self

Set group name to the request

Source

pub fn securities<I, T>(self, securities: I) -> Self
where - I: IntoIterator<Item = T>, - T: Into<String>,

Set securities to the request

+ I: IntoIterator<Item = T>, + T: Into<String>,

Set securities to the request

Source

pub fn mode(self, mode: SecuritiesUpdateMode) -> Self

Set securities update mode to the request

-

Trait Implementations§

Source§

impl Clone for RequestUpdateWatchlistGroup

Source§

fn clone(&self) -> RequestUpdateWatchlistGroup

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RequestUpdateWatchlistGroup

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for RequestUpdateWatchlistGroup

Source§

fn clone(&self) -> RequestUpdateWatchlistGroup

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RequestUpdateWatchlistGroup

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.Security.html b/v2/rust/longport/quote/struct.Security.html index f5789eab0..2624039a0 100644 --- a/v2/rust/longport/quote/struct.Security.html +++ b/v2/rust/longport/quote/struct.Security.html @@ -1,37 +1,37 @@ -Security in longport::quote - Rust
longport::quote

Struct Security

Source
pub struct Security {
-    pub symbol: String,
-    pub name_cn: String,
-    pub name_en: String,
-    pub name_hk: String,
+Security in longport::quote - Rust
longport::quote

Struct Security

Source
pub struct Security {
+    pub symbol: String,
+    pub name_cn: String,
+    pub name_en: String,
+    pub name_hk: String,
 }
Expand description

The basic information of securities

-

Fields§

§symbol: String

Security code

-
§name_cn: String

Security name (zh-CN)

-
§name_en: String

Security name (en)

-
§name_hk: String

Security name (zh-HK)

-

Trait Implementations§

Source§

impl Debug for Security

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Security

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Security

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§symbol: String

Security code

+
§name_cn: String

Security name (zh-CN)

+
§name_en: String

Security name (en)

+
§name_hk: String

Security name (zh-HK)

+

Trait Implementations§

Source§

impl Debug for Security

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Security

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Security

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.SecurityBrokers.html b/v2/rust/longport/quote/struct.SecurityBrokers.html index dab5f7dc6..56d12e76d 100644 --- a/v2/rust/longport/quote/struct.SecurityBrokers.html +++ b/v2/rust/longport/quote/struct.SecurityBrokers.html @@ -1,35 +1,35 @@ -SecurityBrokers in longport::quote - Rust
longport::quote

Struct SecurityBrokers

Source
pub struct SecurityBrokers {
-    pub ask_brokers: Vec<Brokers>,
-    pub bid_brokers: Vec<Brokers>,
+SecurityBrokers in longport::quote - Rust
longport::quote

Struct SecurityBrokers

Source
pub struct SecurityBrokers {
+    pub ask_brokers: Vec<Brokers>,
+    pub bid_brokers: Vec<Brokers>,
 }
Expand description

Security brokers

-

Fields§

§ask_brokers: Vec<Brokers>

Ask brokers

-
§bid_brokers: Vec<Brokers>

Bid brokers

-

Trait Implementations§

Source§

impl Clone for SecurityBrokers

Source§

fn clone(&self) -> SecurityBrokers

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityBrokers

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SecurityBrokers

Source§

fn default() -> SecurityBrokers

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for SecurityBrokers

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SecurityBrokers

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§ask_brokers: Vec<Brokers>

Ask brokers

+
§bid_brokers: Vec<Brokers>

Bid brokers

+

Trait Implementations§

Source§

impl Clone for SecurityBrokers

Source§

fn clone(&self) -> SecurityBrokers

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityBrokers

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SecurityBrokers

Source§

fn default() -> SecurityBrokers

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for SecurityBrokers

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SecurityBrokers

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.SecurityCalcIndex.html b/v2/rust/longport/quote/struct.SecurityCalcIndex.html index c45a17b64..8e273c9d9 100644 --- a/v2/rust/longport/quote/struct.SecurityCalcIndex.html +++ b/v2/rust/longport/quote/struct.SecurityCalcIndex.html @@ -1,113 +1,113 @@ -SecurityCalcIndex in longport::quote - Rust
longport::quote

Struct SecurityCalcIndex

Source
pub struct SecurityCalcIndex {
Show 41 fields - pub symbol: String, - pub last_done: Option<Decimal>, - pub change_value: Option<Decimal>, - pub change_rate: Option<Decimal>, - pub volume: Option<i64>, - pub turnover: Option<Decimal>, - pub ytd_change_rate: Option<Decimal>, - pub turnover_rate: Option<Decimal>, - pub total_market_value: Option<Decimal>, - pub capital_flow: Option<Decimal>, - pub amplitude: Option<Decimal>, - pub volume_ratio: Option<Decimal>, - pub pe_ttm_ratio: Option<Decimal>, - pub pb_ratio: Option<Decimal>, - pub dividend_ratio_ttm: Option<Decimal>, - pub five_day_change_rate: Option<Decimal>, - pub ten_day_change_rate: Option<Decimal>, - pub half_year_change_rate: Option<Decimal>, - pub five_minutes_change_rate: Option<Decimal>, - pub expiry_date: Option<Date>, - pub strike_price: Option<Decimal>, - pub upper_strike_price: Option<Decimal>, - pub lower_strike_price: Option<Decimal>, - pub outstanding_qty: Option<i64>, - pub outstanding_ratio: Option<Decimal>, - pub premium: Option<Decimal>, - pub itm_otm: Option<Decimal>, - pub implied_volatility: Option<Decimal>, - pub warrant_delta: Option<Decimal>, - pub call_price: Option<Decimal>, - pub to_call_price: Option<Decimal>, - pub effective_leverage: Option<Decimal>, - pub leverage_ratio: Option<Decimal>, - pub conversion_ratio: Option<Decimal>, - pub balance_point: Option<Decimal>, - pub open_interest: Option<i64>, - pub delta: Option<Decimal>, - pub gamma: Option<Decimal>, - pub theta: Option<Decimal>, - pub vega: Option<Decimal>, - pub rho: Option<Decimal>, +SecurityCalcIndex in longport::quote - Rust
longport::quote

Struct SecurityCalcIndex

Source
pub struct SecurityCalcIndex {
Show 41 fields + pub symbol: String, + pub last_done: Option<Decimal>, + pub change_value: Option<Decimal>, + pub change_rate: Option<Decimal>, + pub volume: Option<i64>, + pub turnover: Option<Decimal>, + pub ytd_change_rate: Option<Decimal>, + pub turnover_rate: Option<Decimal>, + pub total_market_value: Option<Decimal>, + pub capital_flow: Option<Decimal>, + pub amplitude: Option<Decimal>, + pub volume_ratio: Option<Decimal>, + pub pe_ttm_ratio: Option<Decimal>, + pub pb_ratio: Option<Decimal>, + pub dividend_ratio_ttm: Option<Decimal>, + pub five_day_change_rate: Option<Decimal>, + pub ten_day_change_rate: Option<Decimal>, + pub half_year_change_rate: Option<Decimal>, + pub five_minutes_change_rate: Option<Decimal>, + pub expiry_date: Option<Date>, + pub strike_price: Option<Decimal>, + pub upper_strike_price: Option<Decimal>, + pub lower_strike_price: Option<Decimal>, + pub outstanding_qty: Option<i64>, + pub outstanding_ratio: Option<Decimal>, + pub premium: Option<Decimal>, + pub itm_otm: Option<Decimal>, + pub implied_volatility: Option<Decimal>, + pub warrant_delta: Option<Decimal>, + pub call_price: Option<Decimal>, + pub to_call_price: Option<Decimal>, + pub effective_leverage: Option<Decimal>, + pub leverage_ratio: Option<Decimal>, + pub conversion_ratio: Option<Decimal>, + pub balance_point: Option<Decimal>, + pub open_interest: Option<i64>, + pub delta: Option<Decimal>, + pub gamma: Option<Decimal>, + pub theta: Option<Decimal>, + pub vega: Option<Decimal>, + pub rho: Option<Decimal>,
}
Expand description

Security calc index response

-

Fields§

§symbol: String

Security code

-
§last_done: Option<Decimal>

Latest price

-
§change_value: Option<Decimal>

Change value

-
§change_rate: Option<Decimal>

Change ratio

-
§volume: Option<i64>

Volume

-
§turnover: Option<Decimal>

Turnover

-
§ytd_change_rate: Option<Decimal>

Year-to-date change ratio

-
§turnover_rate: Option<Decimal>

Turnover rate

-
§total_market_value: Option<Decimal>

Total market value

-
§capital_flow: Option<Decimal>

Capital flow

-
§amplitude: Option<Decimal>

Amplitude

-
§volume_ratio: Option<Decimal>

Volume ratio

-
§pe_ttm_ratio: Option<Decimal>

PE (TTM)

-
§pb_ratio: Option<Decimal>

PB

-
§dividend_ratio_ttm: Option<Decimal>

Dividend ratio (TTM)

-
§five_day_change_rate: Option<Decimal>

Five days change ratio

-
§ten_day_change_rate: Option<Decimal>

Ten days change ratio

-
§half_year_change_rate: Option<Decimal>

Half year change ratio

-
§five_minutes_change_rate: Option<Decimal>

Five minutes change ratio

-
§expiry_date: Option<Date>

Expiry date

-
§strike_price: Option<Decimal>

Strike price

-
§upper_strike_price: Option<Decimal>

Upper bound price

-
§lower_strike_price: Option<Decimal>

Lower bound price

-
§outstanding_qty: Option<i64>

Outstanding quantity

-
§outstanding_ratio: Option<Decimal>

Outstanding ratio

-
§premium: Option<Decimal>

Premium

-
§itm_otm: Option<Decimal>

In/out of the bound

-
§implied_volatility: Option<Decimal>

Implied volatility

-
§warrant_delta: Option<Decimal>

Warrant delta

-
§call_price: Option<Decimal>

Call price

-
§to_call_price: Option<Decimal>

Price interval from the call price

-
§effective_leverage: Option<Decimal>

Effective leverage

-
§leverage_ratio: Option<Decimal>

Leverage ratio

-
§conversion_ratio: Option<Decimal>

Conversion ratio

-
§balance_point: Option<Decimal>

Breakeven point

-
§open_interest: Option<i64>

Open interest

-
§delta: Option<Decimal>

Delta

-
§gamma: Option<Decimal>

Gamma

-
§theta: Option<Decimal>

Theta

-
§vega: Option<Decimal>

Vega

-
§rho: Option<Decimal>

Rho

-

Trait Implementations§

Source§

impl Clone for SecurityCalcIndex

Source§

fn clone(&self) -> SecurityCalcIndex

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityCalcIndex

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SecurityCalcIndex

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SecurityCalcIndex

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§symbol: String

Security code

+
§last_done: Option<Decimal>

Latest price

+
§change_value: Option<Decimal>

Change value

+
§change_rate: Option<Decimal>

Change ratio

+
§volume: Option<i64>

Volume

+
§turnover: Option<Decimal>

Turnover

+
§ytd_change_rate: Option<Decimal>

Year-to-date change ratio

+
§turnover_rate: Option<Decimal>

Turnover rate

+
§total_market_value: Option<Decimal>

Total market value

+
§capital_flow: Option<Decimal>

Capital flow

+
§amplitude: Option<Decimal>

Amplitude

+
§volume_ratio: Option<Decimal>

Volume ratio

+
§pe_ttm_ratio: Option<Decimal>

PE (TTM)

+
§pb_ratio: Option<Decimal>

PB

+
§dividend_ratio_ttm: Option<Decimal>

Dividend ratio (TTM)

+
§five_day_change_rate: Option<Decimal>

Five days change ratio

+
§ten_day_change_rate: Option<Decimal>

Ten days change ratio

+
§half_year_change_rate: Option<Decimal>

Half year change ratio

+
§five_minutes_change_rate: Option<Decimal>

Five minutes change ratio

+
§expiry_date: Option<Date>

Expiry date

+
§strike_price: Option<Decimal>

Strike price

+
§upper_strike_price: Option<Decimal>

Upper bound price

+
§lower_strike_price: Option<Decimal>

Lower bound price

+
§outstanding_qty: Option<i64>

Outstanding quantity

+
§outstanding_ratio: Option<Decimal>

Outstanding ratio

+
§premium: Option<Decimal>

Premium

+
§itm_otm: Option<Decimal>

In/out of the bound

+
§implied_volatility: Option<Decimal>

Implied volatility

+
§warrant_delta: Option<Decimal>

Warrant delta

+
§call_price: Option<Decimal>

Call price

+
§to_call_price: Option<Decimal>

Price interval from the call price

+
§effective_leverage: Option<Decimal>

Effective leverage

+
§leverage_ratio: Option<Decimal>

Leverage ratio

+
§conversion_ratio: Option<Decimal>

Conversion ratio

+
§balance_point: Option<Decimal>

Breakeven point

+
§open_interest: Option<i64>

Open interest

+
§delta: Option<Decimal>

Delta

+
§gamma: Option<Decimal>

Gamma

+
§theta: Option<Decimal>

Theta

+
§vega: Option<Decimal>

Vega

+
§rho: Option<Decimal>

Rho

+

Trait Implementations§

Source§

impl Clone for SecurityCalcIndex

Source§

fn clone(&self) -> SecurityCalcIndex

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityCalcIndex

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SecurityCalcIndex

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SecurityCalcIndex

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.SecurityDepth.html b/v2/rust/longport/quote/struct.SecurityDepth.html index f66d9c395..d029855e9 100644 --- a/v2/rust/longport/quote/struct.SecurityDepth.html +++ b/v2/rust/longport/quote/struct.SecurityDepth.html @@ -1,35 +1,35 @@ -SecurityDepth in longport::quote - Rust
longport::quote

Struct SecurityDepth

Source
pub struct SecurityDepth {
-    pub asks: Vec<Depth>,
-    pub bids: Vec<Depth>,
+SecurityDepth in longport::quote - Rust
longport::quote

Struct SecurityDepth

Source
pub struct SecurityDepth {
+    pub asks: Vec<Depth>,
+    pub bids: Vec<Depth>,
 }
Expand description

Security depth

-

Fields§

§asks: Vec<Depth>

Ask depth

-
§bids: Vec<Depth>

Bid depth

-

Trait Implementations§

Source§

impl Clone for SecurityDepth

Source§

fn clone(&self) -> SecurityDepth

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityDepth

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SecurityDepth

Source§

fn default() -> SecurityDepth

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for SecurityDepth

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SecurityDepth

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§asks: Vec<Depth>

Ask depth

+
§bids: Vec<Depth>

Bid depth

+

Trait Implementations§

Source§

impl Clone for SecurityDepth

Source§

fn clone(&self) -> SecurityDepth

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityDepth

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SecurityDepth

Source§

fn default() -> SecurityDepth

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for SecurityDepth

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SecurityDepth

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.SecurityQuote.html b/v2/rust/longport/quote/struct.SecurityQuote.html index 9a6754837..bfdd8d8ba 100644 --- a/v2/rust/longport/quote/struct.SecurityQuote.html +++ b/v2/rust/longport/quote/struct.SecurityQuote.html @@ -1,57 +1,57 @@ -SecurityQuote in longport::quote - Rust
longport::quote

Struct SecurityQuote

Source
pub struct SecurityQuote {
Show 13 fields - pub symbol: String, +SecurityQuote in longport::quote - Rust
longport::quote

Struct SecurityQuote

Source
pub struct SecurityQuote {
Show 13 fields + pub symbol: String, pub last_done: Decimal, pub prev_close: Decimal, pub open: Decimal, pub high: Decimal, pub low: Decimal, pub timestamp: OffsetDateTime, - pub volume: i64, + pub volume: i64, pub turnover: Decimal, pub trade_status: TradeStatus, - pub pre_market_quote: Option<PrePostQuote>, - pub post_market_quote: Option<PrePostQuote>, - pub overnight_quote: Option<PrePostQuote>, + pub pre_market_quote: Option<PrePostQuote>, + pub post_market_quote: Option<PrePostQuote>, + pub overnight_quote: Option<PrePostQuote>,
}
Expand description

Quote of securitity

-

Fields§

§symbol: String

Security code

+

Fields§

§symbol: String

Security code

§last_done: Decimal

Latest price

§prev_close: Decimal

Yesterday’s close

§open: Decimal

Open

§high: Decimal

High

§low: Decimal

Low

§timestamp: OffsetDateTime

Time of latest price

-
§volume: i64

Volume

+
§volume: i64

Volume

§turnover: Decimal

Turnover

§trade_status: TradeStatus

Security trading status

-
§pre_market_quote: Option<PrePostQuote>

Quote of US pre market

-
§post_market_quote: Option<PrePostQuote>

Quote of US post market

-
§overnight_quote: Option<PrePostQuote>

Quote of US overnight market

-

Trait Implementations§

Source§

impl Clone for SecurityQuote

Source§

fn clone(&self) -> SecurityQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SecurityQuote

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SecurityQuote

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<SecurityQuote> for SecurityQuote

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(quote: SecurityQuote) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§pre_market_quote: Option<PrePostQuote>

Quote of US pre market

+
§post_market_quote: Option<PrePostQuote>

Quote of US post market

+
§overnight_quote: Option<PrePostQuote>

Quote of US overnight market

+

Trait Implementations§

Source§

impl Clone for SecurityQuote

Source§

fn clone(&self) -> SecurityQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SecurityQuote

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SecurityQuote

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<SecurityQuote> for SecurityQuote

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(quote: SecurityQuote) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.SecurityStaticInfo.html b/v2/rust/longport/quote/struct.SecurityStaticInfo.html index 7f3e38af0..367ba3a54 100644 --- a/v2/rust/longport/quote/struct.SecurityStaticInfo.html +++ b/v2/rust/longport/quote/struct.SecurityStaticInfo.html @@ -1,14 +1,14 @@ -SecurityStaticInfo in longport::quote - Rust
longport::quote

Struct SecurityStaticInfo

Source
pub struct SecurityStaticInfo {
Show 16 fields - pub symbol: String, - pub name_cn: String, - pub name_en: String, - pub name_hk: String, - pub exchange: String, - pub currency: String, - pub lot_size: i32, - pub total_shares: i64, - pub circulating_shares: i64, - pub hk_shares: i64, +SecurityStaticInfo in longport::quote - Rust
longport::quote

Struct SecurityStaticInfo

Source
pub struct SecurityStaticInfo {
Show 16 fields + pub symbol: String, + pub name_cn: String, + pub name_en: String, + pub name_hk: String, + pub exchange: String, + pub currency: String, + pub lot_size: i32, + pub total_shares: i64, + pub circulating_shares: i64, + pub hk_shares: i64, pub eps: Decimal, pub eps_ttm: Decimal, pub bps: Decimal, @@ -16,46 +16,46 @@ pub stock_derivatives: DerivativeType, pub board: SecurityBoard,
}
Expand description

The basic information of securities

-

Fields§

§symbol: String

Security code

-
§name_cn: String

Security name (zh-CN)

-
§name_en: String

Security name (en)

-
§name_hk: String

Security name (zh-HK)

-
§exchange: String

Exchange which the security belongs to

-
§currency: String

Trading currency

-
§lot_size: i32

Lot size

-
§total_shares: i64

Total shares

-
§circulating_shares: i64

Circulating shares

-
§hk_shares: i64

HK shares (only HK stocks)

+

Fields§

§symbol: String

Security code

+
§name_cn: String

Security name (zh-CN)

+
§name_en: String

Security name (en)

+
§name_hk: String

Security name (zh-HK)

+
§exchange: String

Exchange which the security belongs to

+
§currency: String

Trading currency

+
§lot_size: i32

Lot size

+
§total_shares: i64

Total shares

+
§circulating_shares: i64

Circulating shares

+
§hk_shares: i64

HK shares (only HK stocks)

§eps: Decimal

Earnings per share

§eps_ttm: Decimal

Earnings per share (TTM)

§bps: Decimal

Net assets per share

§dividend_yield: Decimal

Dividend yield

§stock_derivatives: DerivativeType

Types of supported derivatives

§board: SecurityBoard

Board

-

Trait Implementations§

Source§

impl Debug for SecurityStaticInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SecurityStaticInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SecurityStaticInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<StaticInfo> for SecurityStaticInfo

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(resp: StaticInfo) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Debug for SecurityStaticInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SecurityStaticInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for SecurityStaticInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<StaticInfo> for SecurityStaticInfo

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(resp: StaticInfo) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.StrikePriceInfo.html b/v2/rust/longport/quote/struct.StrikePriceInfo.html index 286a5f8c0..3a788b9f3 100644 --- a/v2/rust/longport/quote/struct.StrikePriceInfo.html +++ b/v2/rust/longport/quote/struct.StrikePriceInfo.html @@ -1,39 +1,39 @@ -StrikePriceInfo in longport::quote - Rust
longport::quote

Struct StrikePriceInfo

Source
pub struct StrikePriceInfo {
+StrikePriceInfo in longport::quote - Rust
longport::quote

Struct StrikePriceInfo

Source
pub struct StrikePriceInfo {
     pub price: Decimal,
-    pub call_symbol: String,
-    pub put_symbol: String,
-    pub standard: bool,
+    pub call_symbol: String,
+    pub put_symbol: String,
+    pub standard: bool,
 }
Expand description

Strike price info

Fields§

§price: Decimal

Strike price

-
§call_symbol: String

Security code of call option

-
§put_symbol: String

Security code of put option

-
§standard: bool

Is standard

-

Trait Implementations§

Source§

impl Clone for StrikePriceInfo

Source§

fn clone(&self) -> StrikePriceInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StrikePriceInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for StrikePriceInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for StrikePriceInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<StrikePriceInfo> for StrikePriceInfo

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: StrikePriceInfo) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§call_symbol: String

Security code of call option

+
§put_symbol: String

Security code of put option

+
§standard: bool

Is standard

+

Trait Implementations§

Source§

impl Clone for StrikePriceInfo

Source§

fn clone(&self) -> StrikePriceInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StrikePriceInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for StrikePriceInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for StrikePriceInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<StrikePriceInfo> for StrikePriceInfo

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: StrikePriceInfo) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.SubFlags.html b/v2/rust/longport/quote/struct.SubFlags.html index be20ef79b..5ee63147e 100644 --- a/v2/rust/longport/quote/struct.SubFlags.html +++ b/v2/rust/longport/quote/struct.SubFlags.html @@ -1,29 +1,29 @@ -SubFlags in longport::quote - Rust
longport::quote

Struct SubFlags

Source
pub struct SubFlags(/* private fields */);
Expand description

Subscription flags

+SubFlags in longport::quote - Rust
longport::quote

Struct SubFlags

Source
pub struct SubFlags(/* private fields */);
Expand description

Subscription flags

Implementations§

Source§

impl SubFlags

Source

pub const QUOTE: Self = _

Quote

Source

pub const DEPTH: Self = _

Depth

Source

pub const BROKER: Self = _

Broker

Source

pub const TRADE: Self = _

Trade

Source§

impl SubFlags

Source

pub const fn empty() -> Self

Get a flags value with all bits unset.

Source

pub const fn all() -> Self

Get a flags value with all known bits set.

-
Source

pub const fn bits(&self) -> u8

Get the underlying bits value.

+
Source

pub const fn bits(&self) -> u8

Get the underlying bits value.

The returned value is exactly the bits set in this flags value.

-
Source

pub const fn from_bits(bits: u8) -> Option<Self>

Convert from a bits value.

+
Source

pub const fn from_bits(bits: u8) -> Option<Self>

Convert from a bits value.

This method will return None if any unknown bits are set.

-
Source

pub const fn from_bits_truncate(bits: u8) -> Self

Convert from a bits value, unsetting any unknown bits.

-
Source

pub const fn from_bits_retain(bits: u8) -> Self

Convert from a bits value exactly.

-
Source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

+
Source

pub const fn from_bits_truncate(bits: u8) -> Self

Convert from a bits value, unsetting any unknown bits.

+
Source

pub const fn from_bits_retain(bits: u8) -> Self

Convert from a bits value exactly.

+
Source

pub fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set.

This method will return None if name is empty or doesn’t correspond to any named flag.

-
Source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

-
Source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

-
Source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

-
Source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

+
Source

pub const fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.

+
Source

pub const fn is_all(&self) -> bool

Whether all known bits in this flags value are set.

+
Source

pub const fn intersects(&self, other: Self) -> bool

Whether any set bits in a source flags value are also set in a target flags value.

+
Source

pub const fn contains(&self, other: Self) -> bool

Whether all set bits in a source flags value are also set in a target flags value.

Source

pub fn insert(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

Source

pub fn remove(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

Source

pub fn toggle(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

-
Source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

+
Source

pub fn set(&mut self, other: Self, value: bool)

Call insert when value is true or remove when value is false.

Source

pub const fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

Source

pub const fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.

Source

pub const fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

@@ -37,55 +37,55 @@
Source

pub const fn iter_names(&self) -> IterNames<SubFlags>

Yield a set of contained named flags values.

This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

-

Trait Implementations§

Source§

impl Binary for SubFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl BitAnd for SubFlags

Source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

-
Source§

type Output = SubFlags

The resulting type after applying the & operator.
Source§

impl BitAndAssign for SubFlags

Source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

-
Source§

impl BitOr for SubFlags

Source§

fn bitor(self, other: SubFlags) -> Self

The bitwise or (|) of the bits in two flags values.

-
Source§

type Output = SubFlags

The resulting type after applying the | operator.
Source§

impl BitOrAssign for SubFlags

Source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

-
Source§

impl BitXor for SubFlags

Source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

-
Source§

type Output = SubFlags

The resulting type after applying the ^ operator.
Source§

impl BitXorAssign for SubFlags

Source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

-
Source§

impl Clone for SubFlags

Source§

fn clone(&self) -> SubFlags

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SubFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Extend<SubFlags> for SubFlags

Source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

-
Source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
Source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
Source§

impl Flags for SubFlags

Source§

const FLAGS: &'static [Flag<SubFlags>] = _

The set of defined flags.
Source§

type Bits = u8

The underlying bits type.
Source§

fn bits(&self) -> u8

Get the underlying bits value. Read more
Source§

fn from_bits_retain(bits: u8) -> SubFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn contains_unknown_bits(&self) -> bool

This method will return true if any unknown bits are set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where - Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where - Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn truncate(&mut self)
where - Self: Sized,

Remove any unknown bits from the flags.
§

fn insert(&mut self, other: Self)
where - Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where - Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where - Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where - Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
Source§

impl From<SubFlags> for Vec<i32>

Source§

fn from(flags: SubFlags) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<i32>> for SubFlags

Source§

fn from(sub_types: Vec<i32>) -> Self

Converts to this type from the input type.
Source§

impl FromIterator<SubFlags> for SubFlags

Source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

-
Source§

impl Hash for SubFlags

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl IntoIterator for SubFlags

Source§

type Item = SubFlags

The type of the elements being iterated over.
Source§

type IntoIter = Iter<SubFlags>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl LowerHex for SubFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Not for SubFlags

Source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

-
Source§

type Output = SubFlags

The resulting type after applying the ! operator.
Source§

impl Octal for SubFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for SubFlags

Source§

fn eq(&self, other: &SubFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
Source§

impl PublicFlags for SubFlags

Source§

type Primitive = u8

The type of the underlying storage.
Source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
Source§

impl Sub for SubFlags

Source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

+

Trait Implementations§

Source§

impl Binary for SubFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl BitAnd for SubFlags

Source§

fn bitand(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.

+
Source§

type Output = SubFlags

The resulting type after applying the & operator.
Source§

impl BitAndAssign for SubFlags

Source§

fn bitand_assign(&mut self, other: Self)

The bitwise and (&) of the bits in two flags values.

+
Source§

impl BitOr for SubFlags

Source§

fn bitor(self, other: SubFlags) -> Self

The bitwise or (|) of the bits in two flags values.

+
Source§

type Output = SubFlags

The resulting type after applying the | operator.
Source§

impl BitOrAssign for SubFlags

Source§

fn bitor_assign(&mut self, other: Self)

The bitwise or (|) of the bits in two flags values.

+
Source§

impl BitXor for SubFlags

Source§

fn bitxor(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.

+
Source§

type Output = SubFlags

The resulting type after applying the ^ operator.
Source§

impl BitXorAssign for SubFlags

Source§

fn bitxor_assign(&mut self, other: Self)

The bitwise exclusive-or (^) of the bits in two flags values.

+
Source§

impl Clone for SubFlags

Source§

fn clone(&self) -> SubFlags

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SubFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Extend<SubFlags> for SubFlags

Source§

fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

The bitwise or (|) of the bits in each flags value.

+
Source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
Source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
Source§

impl Flags for SubFlags

Source§

const FLAGS: &'static [Flag<SubFlags>] = _

The set of defined flags.
Source§

type Bits = u8

The underlying bits type.
Source§

fn bits(&self) -> u8

Get the underlying bits value. Read more
Source§

fn from_bits_retain(bits: u8) -> SubFlags

Convert from a bits value exactly.
§

fn empty() -> Self

Get a flags value with all bits unset.
§

fn all() -> Self

Get a flags value with all known bits set.
§

fn contains_unknown_bits(&self) -> bool

This method will return true if any unknown bits are set.
§

fn from_bits(bits: Self::Bits) -> Option<Self>

Convert from a bits value. Read more
§

fn from_bits_truncate(bits: Self::Bits) -> Self

Convert from a bits value, unsetting any unknown bits.
§

fn from_name(name: &str) -> Option<Self>

Get a flags value with the bits of a flag with the given name set. Read more
§

fn iter(&self) -> Iter<Self>

Yield a set of contained flags values. Read more
§

fn iter_names(&self) -> IterNames<Self>

Yield a set of contained named flags values. Read more
§

fn is_empty(&self) -> bool

Whether all bits in this flags value are unset.
§

fn is_all(&self) -> bool

Whether all known bits in this flags value are set.
§

fn intersects(&self, other: Self) -> bool
where + Self: Sized,

Whether any set bits in a source flags value are also set in a target flags value.
§

fn contains(&self, other: Self) -> bool
where + Self: Sized,

Whether all set bits in a source flags value are also set in a target flags value.
§

fn truncate(&mut self)
where + Self: Sized,

Remove any unknown bits from the flags.
§

fn insert(&mut self, other: Self)
where + Self: Sized,

The bitwise or (|) of the bits in two flags values.
§

fn remove(&mut self, other: Self)
where + Self: Sized,

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn toggle(&mut self, other: Self)
where + Self: Sized,

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn set(&mut self, other: Self, value: bool)
where + Self: Sized,

Call [Flags::insert] when value is true or [Flags::remove] when value is false.
§

fn intersection(self, other: Self) -> Self

The bitwise and (&) of the bits in two flags values.
§

fn union(self, other: Self) -> Self

The bitwise or (|) of the bits in two flags values.
§

fn difference(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!). Read more
§

fn symmetric_difference(self, other: Self) -> Self

The bitwise exclusive-or (^) of the bits in two flags values.
§

fn complement(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.
Source§

impl From<SubFlags> for Vec<i32>

Source§

fn from(flags: SubFlags) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<i32>> for SubFlags

Source§

fn from(sub_types: Vec<i32>) -> Self

Converts to this type from the input type.
Source§

impl FromIterator<SubFlags> for SubFlags

Source§

fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

The bitwise or (|) of the bits in each flags value.

+
Source§

impl Hash for SubFlags

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl IntoIterator for SubFlags

Source§

type Item = SubFlags

The type of the elements being iterated over.
Source§

type IntoIter = Iter<SubFlags>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl LowerHex for SubFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Not for SubFlags

Source§

fn not(self) -> Self

The bitwise negation (!) of the bits in a flags value, truncating the result.

+
Source§

type Output = SubFlags

The resulting type after applying the ! operator.
Source§

impl Octal for SubFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for SubFlags

Source§

fn eq(&self, other: &SubFlags) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
Source§

impl PublicFlags for SubFlags

Source§

type Primitive = u8

The type of the underlying storage.
Source§

type Internal = InternalBitFlags

The type of the internal field on the generated flags type.
Source§

impl Sub for SubFlags

Source§

fn sub(self, other: Self) -> Self

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

-
Source§

type Output = SubFlags

The resulting type after applying the - operator.
Source§

impl SubAssign for SubFlags

Source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

+
Source§

type Output = SubFlags

The resulting type after applying the - operator.
Source§

impl SubAssign for SubFlags

Source§

fn sub_assign(&mut self, other: Self)

The intersection of a source flags value with the complement of a target flags value (&!).

This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

-
Source§

impl UpperHex for SubFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for SubFlags

Source§

impl Eq for SubFlags

Source§

impl StructuralPartialEq for SubFlags

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
Source§

impl UpperHex for SubFlags

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for SubFlags

Source§

impl Eq for SubFlags

Source§

impl StructuralPartialEq for SubFlags

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.Subscription.html b/v2/rust/longport/quote/struct.Subscription.html index 36f8bbd44..9ba41ed4f 100644 --- a/v2/rust/longport/quote/struct.Subscription.html +++ b/v2/rust/longport/quote/struct.Subscription.html @@ -1,35 +1,35 @@ -Subscription in longport::quote - Rust
longport::quote

Struct Subscription

Source
pub struct Subscription {
-    pub symbol: String,
+Subscription in longport::quote - Rust
longport::quote

Struct Subscription

Source
pub struct Subscription {
+    pub symbol: String,
     pub sub_types: SubFlags,
-    pub candlesticks: Vec<Period>,
+    pub candlesticks: Vec<Period>,
 }
Expand description

Subscription

-

Fields§

§symbol: String

Security code

+

Fields§

§symbol: String

Security code

§sub_types: SubFlags

Subscription flags

-
§candlesticks: Vec<Period>

Candlesticks

-

Trait Implementations§

Source§

impl Clone for Subscription

Source§

fn clone(&self) -> Subscription

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Subscription

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§candlesticks: Vec<Period>

Candlesticks

+

Trait Implementations§

Source§

impl Clone for Subscription

Source§

fn clone(&self) -> Subscription

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Subscription

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

\ No newline at end of file diff --git a/v2/rust/longport/quote/struct.Trade.html b/v2/rust/longport/quote/struct.Trade.html index e8f941aea..42cda96d1 100644 --- a/v2/rust/longport/quote/struct.Trade.html +++ b/v2/rust/longport/quote/struct.Trade.html @@ -1,15 +1,15 @@ -Trade in longport::quote - Rust
longport::quote

Struct Trade

Source
pub struct Trade {
+Trade in longport::quote - Rust
longport::quote

Struct Trade

Source
pub struct Trade {
     pub price: Decimal,
-    pub volume: i64,
+    pub volume: i64,
     pub timestamp: OffsetDateTime,
-    pub trade_type: String,
+    pub trade_type: String,
     pub direction: TradeDirection,
     pub trade_session: TradeSession,
 }
Expand description

Trade

Fields§

§price: Decimal

Price

-
§volume: i64

Volume

+
§volume: i64

Volume

§timestamp: OffsetDateTime

Time of trading

-
§trade_type: String

Trade type

+
§trade_type: String

Trade type

HK

  • * - Overseas trade
  • @@ -43,32 +43,32 @@
§direction: TradeDirection

Trade direction

§trade_session: TradeSession

Trade session

-

Trait Implementations§

Source§

impl Clone for Trade

Source§

fn clone(&self) -> Trade

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Trade

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Trade

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Trade

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Trade> for Trade

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(trade: Trade) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

§

impl Freeze for Trade

§

impl RefUnwindSafe for Trade

§

impl Send for Trade

§

impl Sync for Trade

§

impl Unpin for Trade

§

impl UnwindSafe for Trade

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for Trade

Source§

fn clone(&self) -> Trade

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Trade

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Trade

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Trade

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<Trade> for Trade

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(trade: Trade) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

§

impl Freeze for Trade

§

impl RefUnwindSafe for Trade

§

impl Send for Trade

§

impl Sync for Trade

§

impl Unpin for Trade

§

impl UnwindSafe for Trade

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.TradingSessionInfo.html b/v2/rust/longport/quote/struct.TradingSessionInfo.html index 8eedb6b14..a4e810220 100644 --- a/v2/rust/longport/quote/struct.TradingSessionInfo.html +++ b/v2/rust/longport/quote/struct.TradingSessionInfo.html @@ -1,4 +1,4 @@ -TradingSessionInfo in longport::quote - Rust
longport::quote

Struct TradingSessionInfo

Source
pub struct TradingSessionInfo {
+TradingSessionInfo in longport::quote - Rust
longport::quote

Struct TradingSessionInfo

Source
pub struct TradingSessionInfo {
     pub begin_time: Time,
     pub end_time: Time,
     pub trade_session: TradeSession,
@@ -6,32 +6,32 @@
 

Fields§

§begin_time: Time

Being trading time

§end_time: Time

End trading time

§trade_session: TradeSession

Trading session

-

Trait Implementations§

Source§

impl Clone for TradingSessionInfo

Source§

fn clone(&self) -> TradingSessionInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TradingSessionInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for TradingSessionInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for TradingSessionInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<TradePeriod> for TradingSessionInfo

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: TradePeriod) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for TradingSessionInfo

Source§

fn clone(&self) -> TradingSessionInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TradingSessionInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for TradingSessionInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for TradingSessionInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<TradePeriod> for TradingSessionInfo

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: TradePeriod) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.WarrantInfo.html b/v2/rust/longport/quote/struct.WarrantInfo.html index b48cf38b6..88cf18223 100644 --- a/v2/rust/longport/quote/struct.WarrantInfo.html +++ b/v2/rust/longport/quote/struct.WarrantInfo.html @@ -1,81 +1,81 @@ -WarrantInfo in longport::quote - Rust
longport::quote

Struct WarrantInfo

Source
pub struct WarrantInfo {
Show 25 fields - pub symbol: String, +WarrantInfo in longport::quote - Rust
longport::quote

Struct WarrantInfo

Source
pub struct WarrantInfo {
Show 25 fields + pub symbol: String, pub warrant_type: WarrantType, - pub name: String, + pub name: String, pub last_done: Decimal, pub change_rate: Decimal, pub change_value: Decimal, - pub volume: i64, + pub volume: i64, pub turnover: Decimal, pub expiry_date: Date, - pub strike_price: Option<Decimal>, - pub upper_strike_price: Option<Decimal>, - pub lower_strike_price: Option<Decimal>, - pub outstanding_qty: i64, + pub strike_price: Option<Decimal>, + pub upper_strike_price: Option<Decimal>, + pub lower_strike_price: Option<Decimal>, + pub outstanding_qty: i64, pub outstanding_ratio: Decimal, pub premium: Decimal, - pub itm_otm: Option<Decimal>, - pub implied_volatility: Option<Decimal>, - pub delta: Option<Decimal>, - pub call_price: Option<Decimal>, - pub to_call_price: Option<Decimal>, - pub effective_leverage: Option<Decimal>, + pub itm_otm: Option<Decimal>, + pub implied_volatility: Option<Decimal>, + pub delta: Option<Decimal>, + pub call_price: Option<Decimal>, + pub to_call_price: Option<Decimal>, + pub effective_leverage: Option<Decimal>, pub leverage_ratio: Decimal, - pub conversion_ratio: Option<Decimal>, - pub balance_point: Option<Decimal>, + pub conversion_ratio: Option<Decimal>, + pub balance_point: Option<Decimal>, pub status: WarrantStatus,
}
Expand description

Warrant info

-

Fields§

§symbol: String

Security code

+

Fields§

§symbol: String

Security code

§warrant_type: WarrantType

Warrant type

-
§name: String

Security name

+
§name: String

Security name

§last_done: Decimal

Latest price

§change_rate: Decimal

Quote change rate

§change_value: Decimal

Quote change

-
§volume: i64

Volume

+
§volume: i64

Volume

§turnover: Decimal

Turnover

§expiry_date: Date

Expiry date

-
§strike_price: Option<Decimal>

Strike price

-
§upper_strike_price: Option<Decimal>

Upper strike price

-
§lower_strike_price: Option<Decimal>

Lower strike price

-
§outstanding_qty: i64

Outstanding quantity

+
§strike_price: Option<Decimal>

Strike price

+
§upper_strike_price: Option<Decimal>

Upper strike price

+
§lower_strike_price: Option<Decimal>

Lower strike price

+
§outstanding_qty: i64

Outstanding quantity

§outstanding_ratio: Decimal

Outstanding ratio

§premium: Decimal

Premium

-
§itm_otm: Option<Decimal>

In/out of the bound

-
§implied_volatility: Option<Decimal>

Implied volatility

-
§delta: Option<Decimal>

Delta

-
§call_price: Option<Decimal>

Call price

-
§to_call_price: Option<Decimal>

Price interval from the call price

-
§effective_leverage: Option<Decimal>

Effective leverage

+
§itm_otm: Option<Decimal>

In/out of the bound

+
§implied_volatility: Option<Decimal>

Implied volatility

+
§delta: Option<Decimal>

Delta

+
§call_price: Option<Decimal>

Call price

+
§to_call_price: Option<Decimal>

Price interval from the call price

+
§effective_leverage: Option<Decimal>

Effective leverage

§leverage_ratio: Decimal

Leverage ratio

-
§conversion_ratio: Option<Decimal>

Conversion ratio

-
§balance_point: Option<Decimal>

Breakeven point

+
§conversion_ratio: Option<Decimal>

Conversion ratio

+
§balance_point: Option<Decimal>

Breakeven point

§status: WarrantStatus

Status

-

Trait Implementations§

Source§

impl Clone for WarrantInfo

Source§

fn clone(&self) -> WarrantInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WarrantInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WarrantInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for WarrantInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<FilterWarrant> for WarrantInfo

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(info: FilterWarrant) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for WarrantInfo

Source§

fn clone(&self) -> WarrantInfo

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WarrantInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WarrantInfo

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for WarrantInfo

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<FilterWarrant> for WarrantInfo

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(info: FilterWarrant) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.WarrantQuote.html b/v2/rust/longport/quote/struct.WarrantQuote.html index 2e28586f7..47f22c7da 100644 --- a/v2/rust/longport/quote/struct.WarrantQuote.html +++ b/v2/rust/longport/quote/struct.WarrantQuote.html @@ -1,75 +1,75 @@ -WarrantQuote in longport::quote - Rust
longport::quote

Struct WarrantQuote

Source
pub struct WarrantQuote {
Show 22 fields - pub symbol: String, +WarrantQuote in longport::quote - Rust
longport::quote

Struct WarrantQuote

Source
pub struct WarrantQuote {
Show 22 fields + pub symbol: String, pub last_done: Decimal, pub prev_close: Decimal, pub open: Decimal, pub high: Decimal, pub low: Decimal, pub timestamp: OffsetDateTime, - pub volume: i64, + pub volume: i64, pub turnover: Decimal, pub trade_status: TradeStatus, pub implied_volatility: Decimal, pub expiry_date: Date, pub last_trade_date: Date, pub outstanding_ratio: Decimal, - pub outstanding_quantity: i64, + pub outstanding_quantity: i64, pub conversion_ratio: Decimal, pub category: WarrantType, pub strike_price: Decimal, pub upper_strike_price: Decimal, pub lower_strike_price: Decimal, pub call_price: Decimal, - pub underlying_symbol: String, + pub underlying_symbol: String,
}
Expand description

Quote of warrant

-

Fields§

§symbol: String

Security code

+

Fields§

§symbol: String

Security code

§last_done: Decimal

Latest price

§prev_close: Decimal

Yesterday’s close

§open: Decimal

Open

§high: Decimal

High

§low: Decimal

Low

§timestamp: OffsetDateTime

Time of latest price

-
§volume: i64

Volume

+
§volume: i64

Volume

§turnover: Decimal

Turnover

§trade_status: TradeStatus

Security trading status

§implied_volatility: Decimal

Implied volatility

§expiry_date: Date

Exprity date

§last_trade_date: Date

Last tradalbe date

§outstanding_ratio: Decimal

Outstanding ratio

-
§outstanding_quantity: i64

Outstanding quantity

+
§outstanding_quantity: i64

Outstanding quantity

§conversion_ratio: Decimal

Conversion ratio

§category: WarrantType

Warrant type

§strike_price: Decimal

Strike price

§upper_strike_price: Decimal

Upper bound price

§lower_strike_price: Decimal

Lower bound price

§call_price: Decimal

Call price

-
§underlying_symbol: String

Underlying security symbol of the warrant

-

Trait Implementations§

Source§

impl Clone for WarrantQuote

Source§

fn clone(&self) -> WarrantQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WarrantQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WarrantQuote

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for WarrantQuote

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<WarrantQuote> for WarrantQuote

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(quote: WarrantQuote) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+
§underlying_symbol: String

Underlying security symbol of the warrant

+

Trait Implementations§

Source§

impl Clone for WarrantQuote

Source§

fn clone(&self) -> WarrantQuote

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WarrantQuote

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WarrantQuote

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for WarrantQuote

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<WarrantQuote> for WarrantQuote

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(quote: WarrantQuote) -> Result<Self>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.WatchlistGroup.html b/v2/rust/longport/quote/struct.WatchlistGroup.html index e86204bdf..becefc7da 100644 --- a/v2/rust/longport/quote/struct.WatchlistGroup.html +++ b/v2/rust/longport/quote/struct.WatchlistGroup.html @@ -1,37 +1,37 @@ -WatchlistGroup in longport::quote - Rust
longport::quote

Struct WatchlistGroup

Source
pub struct WatchlistGroup {
-    pub id: i64,
-    pub name: String,
-    pub securities: Vec<WatchlistSecurity>,
+WatchlistGroup in longport::quote - Rust
longport::quote

Struct WatchlistGroup

Source
pub struct WatchlistGroup {
+    pub id: i64,
+    pub name: String,
+    pub securities: Vec<WatchlistSecurity>,
 }
Expand description

Watchlist group

-

Fields§

§id: i64

Group id

-
§name: String

Group name

-
§securities: Vec<WatchlistSecurity>

Securities

-

Trait Implementations§

Source§

impl Clone for WatchlistGroup

Source§

fn clone(&self) -> WatchlistGroup

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WatchlistGroup

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WatchlistGroup

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for WatchlistGroup

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Fields§

§id: i64

Group id

+
§name: String

Group name

+
§securities: Vec<WatchlistSecurity>

Securities

+

Trait Implementations§

Source§

impl Clone for WatchlistGroup

Source§

fn clone(&self) -> WatchlistGroup

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WatchlistGroup

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WatchlistGroup

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for WatchlistGroup

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/quote/struct.WatchlistSecurity.html b/v2/rust/longport/quote/struct.WatchlistSecurity.html index e0f80c5c1..a432c7d44 100644 --- a/v2/rust/longport/quote/struct.WatchlistSecurity.html +++ b/v2/rust/longport/quote/struct.WatchlistSecurity.html @@ -1,41 +1,41 @@ -WatchlistSecurity in longport::quote - Rust
longport::quote

Struct WatchlistSecurity

Source
pub struct WatchlistSecurity {
-    pub symbol: String,
+WatchlistSecurity in longport::quote - Rust
longport::quote

Struct WatchlistSecurity

Source
pub struct WatchlistSecurity {
+    pub symbol: String,
     pub market: Market,
-    pub name: String,
-    pub watched_price: Option<Decimal>,
+    pub name: String,
+    pub watched_price: Option<Decimal>,
     pub watched_at: OffsetDateTime,
 }
Expand description

Watchlist security

-

Fields§

§symbol: String

Security symbol

+

Fields§

§symbol: String

Security symbol

§market: Market

Market

-
§name: String

Security name

-
§watched_price: Option<Decimal>

Watched price

+
§name: String

Security name

+
§watched_price: Option<Decimal>

Watched price

§watched_at: OffsetDateTime

Watched time

-

Trait Implementations§

Source§

impl Clone for WatchlistSecurity

Source§

fn clone(&self) -> WatchlistSecurity

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WatchlistSecurity

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WatchlistSecurity

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for WatchlistSecurity

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where - T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Clone for WatchlistSecurity

Source§

fn clone(&self) -> WatchlistSecurity

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for WatchlistSecurity

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for WatchlistSecurity

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for WatchlistSecurity

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where + T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

+
Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where - F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where - T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where +otherwise. Read more

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where + T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where diff --git a/v2/rust/longport/struct.Config.html b/v2/rust/longport/struct.Config.html index 6d98bf687..26c320626 100644 --- a/v2/rust/longport/struct.Config.html +++ b/v2/rust/longport/struct.Config.html @@ -1,8 +1,8 @@ -Config in longport - Rust
longport

Struct Config

Source
pub struct Config { /* private fields */ }
Expand description

Configuration options for LongPort sdk

+Config in longport - Rust
longport

Struct Config

Source
pub struct Config { /* private fields */ }
Expand description

Configuration options for LongPort sdk

Implementations§

Source§

impl Config

Source

pub fn new( - app_key: impl Into<String>, - app_secret: impl Into<String>, - access_token: impl Into<String>, + app_key: impl Into<String>, + app_secret: impl Into<String>, + access_token: impl Into<String>, ) -> Self

Create a new Config

Source

pub fn from_env() -> Result<Self>

Create a new Config from the given environment variables

It first gets the environment variables from the .env file in the @@ -25,13 +25,13 @@

§Variables
true or false (Default: true)
  • LONGPORT_LOG_PATH - Set the path of the log files (Default: no logs)
  • -
    Source

    pub fn http_url(self, url: impl Into<String>) -> Self

    Specifies the url of the OpenAPI server.

    +
    Source

    pub fn http_url(self, url: impl Into<String>) -> Self

    Specifies the url of the OpenAPI server.

    Default: https://openapi.longportapp.com

    NOTE: Usually you don’t need to change it.

    -
    Source

    pub fn quote_ws_url(self, url: impl Into<String>) -> Self

    Specifies the url of the OpenAPI quote websocket server.

    +
    Source

    pub fn quote_ws_url(self, url: impl Into<String>) -> Self

    Specifies the url of the OpenAPI quote websocket server.

    Default: wss://openapi-quote.longportapp.com

    NOTE: Usually you don’t need to change it.

    -
    Source

    pub fn trade_ws_url(self, url: impl Into<String>) -> Self

    Specifies the url of the OpenAPI trade websocket server.

    +
    Source

    pub fn trade_ws_url(self, url: impl Into<String>) -> Self

    Specifies the url of the OpenAPI trade websocket server.

    Default: wss://openapi-trade.longportapp.com/v2

    NOTE: Usually you don’t need to change it.

    Source

    pub fn language(self, language: Language) -> Self

    Specifies the language

    @@ -41,40 +41,40 @@
    §Variables
    Source

    pub fn push_candlestick_mode(self, mode: PushCandlestickMode) -> Self

    Specifies the push candlestick mode

    Default: PushCandlestickMode::Realtime

    Source

    pub fn dont_print_quote_packages(self) -> Self

    Disable printing the opened quote packages when connected to the server.

    -
    Source

    pub fn create_metadata(&self) -> HashMap<String, String>

    Create metadata for auth/reconnect request

    +
    Source

    pub fn create_metadata(&self) -> HashMap<String, String>

    Create metadata for auth/reconnect request

    Source

    pub async fn refresh_access_token( &self, - expired_at: Option<OffsetDateTime>, -) -> Result<String>

    Gets a new access_token

    + expired_at: Option<OffsetDateTime>, +) -> Result<String>

    Gets a new access_token

    expired_at - The expiration time of the access token, defaults to 90 days.

    Reference: https://open.longportapp.com/en/docs/refresh-token-api

    -
    Source

    pub fn log_path(self, path: impl Into<PathBuf>) -> Self

    Specifies the path of the log file

    +
    Source

    pub fn log_path(self, path: impl Into<PathBuf>) -> Self

    Specifies the path of the log file

    Default: None

    -

    Trait Implementations§

    Source§

    impl Clone for Config

    Source§

    fn clone(&self) -> Config

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Config

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Config

    §

    impl RefUnwindSafe for Config

    §

    impl Send for Config

    §

    impl Sync for Config

    §

    impl Unpin for Config

    §

    impl UnwindSafe for Config

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for Config

    Source§

    fn clone(&self) -> Config

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Config

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Config

    §

    impl RefUnwindSafe for Config

    §

    impl Send for Config

    §

    impl Sync for Config

    §

    impl Unpin for Config

    §

    impl UnwindSafe for Config

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/struct.Decimal.html b/v2/rust/longport/struct.Decimal.html index 6086e5471..d8c80869c 100644 --- a/v2/rust/longport/struct.Decimal.html +++ b/v2/rust/longport/struct.Decimal.html @@ -1,4 +1,4 @@ -Decimal in longport - Rust
    longport

    Struct Decimal

    pub struct Decimal { /* private fields */ }
    Expand description

    Decimal represents a 128 bit representation of a fixed-precision decimal number. +Decimal in longport - Rust

    longport

    Struct Decimal

    pub struct Decimal { /* private fields */ }
    Expand description

    Decimal represents a 128 bit representation of a fixed-precision decimal number. The finite set of values of type Decimal are of the form m / 10e, where m is an integer such that -296 < m < 296, and e is an integer between 0 and 28 inclusive.

    @@ -77,7 +77,7 @@
    §ExamplesBasic usage:

    assert_eq!(Decimal::E_INVERSE, dec!(0.3678794411714423215955237702));
    -

    pub fn new(num: i64, scale: u32) -> Decimal

    Returns a Decimal with a 64 bit m representation and corresponding e scale.

    +

    pub fn new(num: i64, scale: u32) -> Decimal

    Returns a Decimal with a 64 bit m representation and corresponding e scale.

    §Arguments
    • num - An i64 that represents the m portion of the decimal number
    • @@ -88,11 +88,11 @@
      §Panics
      §Example
      let pi = Decimal::new(3141, 3);
       assert_eq!(pi.to_string(), "3.141");
      -

    pub const fn try_new(num: i64, scale: u32) -> Result<Decimal, Error>

    Checked version of Decimal::new. Will return Err instead of panicking at run-time.

    +

    pub const fn try_new(num: i64, scale: u32) -> Result<Decimal, Error>

    Checked version of Decimal::new. Will return Err instead of panicking at run-time.

    §Example
    let max = Decimal::try_new(i64::MAX, u32::MAX);
     assert!(max.is_err());
    -

    pub fn from_i128_with_scale(num: i128, scale: u32) -> Decimal

    Creates a Decimal using a 128 bit signed m representation and corresponding e scale.

    +

    pub fn from_i128_with_scale(num: i128, scale: u32) -> Decimal

    Creates a Decimal using a 128 bit signed m representation and corresponding e scale.

    §Arguments
    • num - An i128 that represents the m portion of the decimal number
    • @@ -104,19 +104,19 @@
      §Example
      let pi = Decimal::from_i128_with_scale(3141i128, 3);
       assert_eq!(pi.to_string(), "3.141");

    pub const fn try_from_i128_with_scale( - num: i128, - scale: u32, -) -> Result<Decimal, Error>

    Checked version of Decimal::from_i128_with_scale. Will return Err instead + num: i128, + scale: u32, +) -> Result<Decimal, Error>

    Checked version of Decimal::from_i128_with_scale. Will return Err instead of panicking at run-time.

    §Example
    let max = Decimal::try_from_i128_with_scale(i128::MAX, u32::MAX);
     assert!(max.is_err());

    pub const fn from_parts( - lo: u32, - mid: u32, - hi: u32, - negative: bool, - scale: u32, + lo: u32, + mid: u32, + hi: u32, + negative: bool, + scale: u32, ) -> Decimal

    Returns a Decimal using the instances constituent parts.

    §Arguments
      @@ -134,7 +134,7 @@
      §Example
      let pi = Decimal::from_parts(1102470952, 185874565, 1703060790, false, 28);
       assert_eq!(pi.to_string(), "3.1415926535897932384626433832");
      -

    pub fn from_scientific(value: &str) -> Result<Decimal, Error>

    Returns a Result which if successful contains the Decimal constitution of +

    pub fn from_scientific(value: &str) -> Result<Decimal, Error>

    Returns a Result which if successful contains the Decimal constitution of the scientific notation provided by value.

    §Arguments
      @@ -143,7 +143,7 @@
      §Arguments§Example
      let value = Decimal::from_scientific("9.7e-7")?;
       assert_eq!(value.to_string(), "0.00000097");
      -

    pub fn from_str_radix(str: &str, radix: u32) -> Result<Decimal, Error>

    Converts a string slice in a given base to a decimal.

    +

    pub fn from_str_radix(str: &str, radix: u32) -> Result<Decimal, Error>

    Converts a string slice in a given base to a decimal.

    The string is expected to be an optional + sign followed by digits. Digits are a subset of these characters, depending on radix, and will return an error if outside the expected range:

    @@ -156,7 +156,7 @@
    §ExamplesBasic usage:

    assert_eq!(Decimal::from_str_radix("A", 16)?.to_string(), "10");
    -

    pub fn from_str_exact(str: &str) -> Result<Decimal, Error>

    Parses a string slice into a decimal. If the value underflows and cannot be represented with the +

    pub fn from_str_exact(str: &str) -> Result<Decimal, Error>

    Parses a string slice into a decimal. If the value underflows and cannot be represented with the given scale then this will return an error.

    §Examples

    Basic usage:

    @@ -164,29 +164,29 @@
    §Examples
    assert_eq!(Decimal::from_str_exact("0.001")?.to_string(), "0.001");
     assert_eq!(Decimal::from_str_exact("0.00000_00000_00000_00000_00000_001")?.to_string(), "0.0000000000000000000000000001");
     assert_eq!(Decimal::from_str_exact("0.00000_00000_00000_00000_00000_0001"), Err(Error::Underflow));
    -

    pub const fn scale(&self) -> u32

    Returns the scale of the decimal number, otherwise known as e.

    +

    pub const fn scale(&self) -> u32

    Returns the scale of the decimal number, otherwise known as e.

    §Example
    let num = Decimal::new(1234, 3);
     assert_eq!(num.scale(), 3u32);
    -

    pub const fn mantissa(&self) -> i128

    Returns the mantissa of the decimal number.

    +

    pub const fn mantissa(&self) -> i128

    Returns the mantissa of the decimal number.

    §Example
    use rust_decimal_macros::dec;
     
     let num = dec!(-1.2345678);
     assert_eq!(num.mantissa(), -12345678i128);
     assert_eq!(num.scale(), 7);
    -

    pub const fn is_zero(&self) -> bool

    Returns true if this Decimal number is equivalent to zero.

    +

    pub const fn is_zero(&self) -> bool

    Returns true if this Decimal number is equivalent to zero.

    §Example
    let num = Decimal::ZERO;
     assert!(num.is_zero());
    -

    pub fn is_integer(&self) -> bool

    Returns true if this Decimal number has zero fractional part (is equal to an integer)

    +

    pub fn is_integer(&self) -> bool

    Returns true if this Decimal number has zero fractional part (is equal to an integer)

    §Example
    assert_eq!(dec!(5).is_integer(), true);
     // Trailing zeros are also ignored
     assert_eq!(dec!(5.0000).is_integer(), true);
     // If there is a fractional part then it is not an integer
     assert_eq!(dec!(5.1).is_integer(), false);
    -

    pub fn set_sign(&mut self, positive: bool)

    👎Deprecated since 1.4.0: please use set_sign_positive instead

    An optimized method for changing the sign of a decimal number.

    +

    pub fn set_sign(&mut self, positive: bool)

    👎Deprecated since 1.4.0: please use set_sign_positive instead

    An optimized method for changing the sign of a decimal number.

    §Arguments
    • positive: true if the resulting decimal should be positive.
    • @@ -195,7 +195,7 @@
      §Example
      let mut one = Decimal::ONE;
       one.set_sign(false);
       assert_eq!(one.to_string(), "-1");
      -

    pub fn set_sign_positive(&mut self, positive: bool)

    An optimized method for changing the sign of a decimal number.

    +

    pub fn set_sign_positive(&mut self, positive: bool)

    An optimized method for changing the sign of a decimal number.

    §Arguments
    • positive: true if the resulting decimal should be positive.
    • @@ -204,7 +204,7 @@
      §Example
      let mut one = Decimal::ONE;
       one.set_sign_positive(false);
       assert_eq!(one.to_string(), "-1");
      -

    pub fn set_sign_negative(&mut self, negative: bool)

    An optimized method for changing the sign of a decimal number.

    +

    pub fn set_sign_negative(&mut self, negative: bool)

    An optimized method for changing the sign of a decimal number.

    §Arguments
    • negative: true if the resulting decimal should be negative.
    • @@ -213,7 +213,7 @@
      §Example
      let mut one = Decimal::ONE;
       one.set_sign_negative(true);
       assert_eq!(one.to_string(), "-1");
      -

    pub fn set_scale(&mut self, scale: u32) -> Result<(), Error>

    An optimized method for changing the scale of a decimal number.

    +

    pub fn set_scale(&mut self, scale: u32) -> Result<(), Error>

    An optimized method for changing the scale of a decimal number.

    §Arguments
    • scale: the new scale of the number
    • @@ -222,7 +222,7 @@
      §Example
      let mut one = Decimal::ONE;
       one.set_scale(5)?;
       assert_eq!(one.to_string(), "0.00001");
      -

    pub fn rescale(&mut self, scale: u32)

    Modifies the Decimal towards the desired scale, attempting to do so without changing the +

    pub fn rescale(&mut self, scale: u32)

    Modifies the Decimal towards the desired scale, attempting to do so without changing the underlying number itself.

    Setting the scale to something less then the current Decimals scale will cause the newly created Decimal to perform rounding using the MidpointAwayFromZero strategy.

    @@ -259,7 +259,7 @@
    §Example
    // a number with a scale of 27 assert_eq!(number.to_string(), "11.764705882352940000000000000"); assert_eq!(number.scale(), 27);
    -

    pub const fn serialize(&self) -> [u8; 16]

    Returns a serialized version of the decimal number. +

    pub const fn serialize(&self) -> [u8; 16]

    Returns a serialized version of the decimal number. The resulting byte array will have the following representation:

    • Bytes 1-4: flags
    • @@ -267,7 +267,7 @@
      §Example
    • Bytes 9-12: mid portion of m
    • Bytes 13-16: high portion of m
    -

    pub fn deserialize(bytes: [u8; 16]) -> Decimal

    Deserializes the given bytes into a decimal number. +

    pub fn deserialize(bytes: [u8; 16]) -> Decimal

    Deserializes the given bytes into a decimal number. The deserialized byte representation must be 16 bytes and adhere to the following convention:

    • Bytes 1-4: flags
    • @@ -275,13 +275,13 @@
      §Example
    • Bytes 9-12: mid portion of m
    • Bytes 13-16: high portion of m
    -

    pub fn is_negative(&self) -> bool

    👎Deprecated since 0.6.3: please use is_sign_negative instead

    Returns true if the decimal is negative.

    -

    pub fn is_positive(&self) -> bool

    👎Deprecated since 0.6.3: please use is_sign_positive instead

    Returns true if the decimal is positive.

    -

    pub const fn is_sign_negative(&self) -> bool

    Returns true if the sign bit of the decimal is negative.

    +

    pub fn is_negative(&self) -> bool

    👎Deprecated since 0.6.3: please use is_sign_negative instead

    Returns true if the decimal is negative.

    +

    pub fn is_positive(&self) -> bool

    👎Deprecated since 0.6.3: please use is_sign_positive instead

    Returns true if the decimal is positive.

    +

    pub const fn is_sign_negative(&self) -> bool

    Returns true if the sign bit of the decimal is negative.

    §Example
    assert_eq!(true, Decimal::new(-1, 0).is_sign_negative());
     assert_eq!(false, Decimal::new(1, 0).is_sign_negative());
    -

    pub const fn is_sign_positive(&self) -> bool

    Returns true if the sign bit of the decimal is positive.

    +

    pub const fn is_sign_positive(&self) -> bool

    Returns true if the sign bit of the decimal is positive.

    §Example
    assert_eq!(false, Decimal::new(-1, 0).is_sign_positive());
     assert_eq!(true, Decimal::new(1, 0).is_sign_positive());
    @@ -296,7 +296,7 @@
    §Example
    // Negative numbers are similarly truncated without rounding let neg = dec!(-1.98765); assert_eq!(neg.trunc(), Decimal::NEGATIVE_ONE);
    -

    pub fn trunc_with_scale(&self, scale: u32) -> Decimal

    Returns a new Decimal with the fractional portion delimited by scale. +

    pub fn trunc_with_scale(&self, scale: u32) -> Decimal

    Returns a new Decimal with the fractional portion delimited by scale. This is a true truncation whereby no rounding is performed.

    §Example
    let pi = dec!(3.141592);
    @@ -355,7 +355,7 @@ 
    §Example
    assert_eq!(number_up.round().to_string(), "8");

    pub fn round_dp_with_strategy( &self, - dp: u32, + dp: u32, strategy: RoundingStrategy, ) -> Decimal

    Returns a new Decimal number with the specified number of decimal points for fractional portion. @@ -368,7 +368,7 @@

    §Arguments§Example
    let tax = dec!(3.4395);
     assert_eq!(tax.round_dp_with_strategy(2, RoundingStrategy::MidpointAwayFromZero).to_string(), "3.44");
    -

    pub fn round_dp(&self, dp: u32) -> Decimal

    Returns a new Decimal number with the specified number of decimal points for fractional portion. +

    pub fn round_dp(&self, dp: u32) -> Decimal

    Returns a new Decimal number with the specified number of decimal points for fractional portion. Rounding currently follows “Bankers Rounding” rules. e.g. 6.5 -> 6, 7.5 -> 8

    §Arguments
      @@ -377,7 +377,7 @@
      §Arguments
      §Example
      let pi = dec!(3.1415926535897932384626433832);
       assert_eq!(pi.round_dp(2).to_string(), "3.14");
      -

    pub fn round_sf(&self, digits: u32) -> Option<Decimal>

    Returns Some(Decimal) number rounded to the specified number of significant digits. If +

    pub fn round_sf(&self, digits: u32) -> Option<Decimal>

    Returns Some(Decimal) number rounded to the specified number of significant digits. If the resulting number is unable to be represented by the Decimal number then None will be returned. When the number of significant figures of the Decimal being rounded is greater than the requested @@ -412,9 +412,9 @@

    §Example
    assert_eq!(value.round_sf(3), Some(dec!(0.0123)));

    pub fn round_sf_with_strategy( &self, - digits: u32, + digits: u32, strategy: RoundingStrategy, -) -> Option<Decimal>

    Returns Some(Decimal) number rounded to the specified number of significant digits. If +) -> Option<Decimal>

    Returns Some(Decimal) number rounded to the specified number of significant digits. If the resulting number is unable to be represented by the Decimal number then None will be returned. When the number of significant figures of the Decimal being rounded is greater than the requested @@ -461,7 +461,7 @@

    §Example
    assert_eq!(format!("{:?}", pi.unpack()), "UnpackedDecimal { \ negative: false, scale: 28, hi: 1703060790, mid: 185874565, lo: 1102470952 \ }");
    -

    pub fn from_f32_retain(n: f32) -> Option<Decimal>

    Parses a 32-bit float into a Decimal number whilst retaining any non-guaranteed precision.

    +

    pub fn from_f32_retain(n: f32) -> Option<Decimal>

    Parses a 32-bit float into a Decimal number whilst retaining any non-guaranteed precision.

    Typically when a float is parsed in Rust Decimal, any excess bits (after ~7.22 decimal points for f32 as per IEEE-754) are removed due to any digits following this are considered an approximation at best. This function bypasses this additional step and retains these excess bits.

    @@ -471,7 +471,7 @@
    §Example
    // Sometimes, we may want to represent the approximation exactly. assert_eq!("0.100000001490116119384765625", Decimal::from_f32_retain(0.1_f32).unwrap().to_string());
    -

    pub fn from_f64_retain(n: f64) -> Option<Decimal>

    Parses a 64-bit float into a Decimal number whilst retaining any non-guaranteed precision.

    +

    pub fn from_f64_retain(n: f64) -> Option<Decimal>

    Parses a 64-bit float into a Decimal number whilst retaining any non-guaranteed precision.

    Typically when a float is parsed in Rust Decimal, any excess bits (after ~15.95 decimal points for f64 as per IEEE-754) are removed due to any digits following this are considered an approximation at best. This function bypasses this additional step and retains these excess bits.

    @@ -481,146 +481,146 @@
    §Example
    // Sometimes, we may want to represent the approximation exactly. assert_eq!("0.1000000000000000055511151231", Decimal::from_f64_retain(0.1_f64).unwrap().to_string());
    -
    §

    impl Decimal

    pub fn checked_add(self, other: Decimal) -> Option<Decimal>

    Checked addition. Computes self + other, returning None if overflow occurred.

    +
    §

    impl Decimal

    pub fn checked_add(self, other: Decimal) -> Option<Decimal>

    Checked addition. Computes self + other, returning None if overflow occurred.

    pub fn saturating_add(self, other: Decimal) -> Decimal

    Saturating addition. Computes self + other, saturating at the relevant upper or lower boundary.

    -

    pub fn checked_mul(self, other: Decimal) -> Option<Decimal>

    Checked multiplication. Computes self * other, returning None if overflow occurred.

    +

    pub fn checked_mul(self, other: Decimal) -> Option<Decimal>

    Checked multiplication. Computes self * other, returning None if overflow occurred.

    pub fn saturating_mul(self, other: Decimal) -> Decimal

    Saturating multiplication. Computes self * other, saturating at the relevant upper or lower boundary.

    -

    pub fn checked_sub(self, other: Decimal) -> Option<Decimal>

    Checked subtraction. Computes self - other, returning None if overflow occurred.

    +

    pub fn checked_sub(self, other: Decimal) -> Option<Decimal>

    Checked subtraction. Computes self - other, returning None if overflow occurred.

    pub fn saturating_sub(self, other: Decimal) -> Decimal

    Saturating subtraction. Computes self - other, saturating at the relevant upper or lower boundary.

    -

    pub fn checked_div(self, other: Decimal) -> Option<Decimal>

    Checked division. Computes self / other, returning None if overflow occurred.

    -

    pub fn checked_rem(self, other: Decimal) -> Option<Decimal>

    Checked remainder. Computes self % other, returning None if overflow occurred.

    -

    Trait Implementations§

    §

    impl<'a, 'b> Add<&'b Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the + operator.
    §

    fn add(self, other: &Decimal) -> Decimal

    Performs the + operation. Read more
    §

    impl<'a> Add<&'a Decimal> for Decimal

    §

    type Output = Decimal

    The resulting type after applying the + operator.
    §

    fn add(self, other: &Decimal) -> Decimal

    Performs the + operation. Read more
    §

    impl<'a> Add<Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the + operator.
    §

    fn add(self, other: Decimal) -> Decimal

    Performs the + operation. Read more
    §

    impl Add for Decimal

    §

    type Output = Decimal

    The resulting type after applying the + operator.
    §

    fn add(self, other: Decimal) -> Decimal

    Performs the + operation. Read more
    §

    impl<'a> AddAssign<&'a Decimal> for &'a mut Decimal

    §

    fn add_assign(&mut self, other: &'a Decimal)

    Performs the += operation. Read more
    §

    impl<'a> AddAssign<&'a Decimal> for Decimal

    §

    fn add_assign(&mut self, other: &'a Decimal)

    Performs the += operation. Read more
    §

    impl<'a> AddAssign<Decimal> for &'a mut Decimal

    §

    fn add_assign(&mut self, other: Decimal)

    Performs the += operation. Read more
    §

    impl AddAssign for Decimal

    §

    fn add_assign(&mut self, other: Decimal)

    Performs the += operation. Read more
    §

    impl CheckedAdd for Decimal

    §

    fn checked_add(&self, v: &Decimal) -> Option<Decimal>

    Adds two numbers, checking for overflow. If overflow happens, None is -returned.
    §

    impl CheckedDiv for Decimal

    §

    fn checked_div(&self, v: &Decimal) -> Option<Decimal>

    Divides two numbers, checking for underflow, overflow and division by -zero. If any of that happens, None is returned.
    §

    impl CheckedMul for Decimal

    §

    fn checked_mul(&self, v: &Decimal) -> Option<Decimal>

    Multiplies two numbers, checking for underflow or overflow. If underflow -or overflow happens, None is returned.
    §

    impl CheckedRem for Decimal

    §

    fn checked_rem(&self, v: &Decimal) -> Option<Decimal>

    Finds the remainder of dividing two numbers, checking for underflow, overflow and division -by zero. If any of that happens, None is returned. Read more
    §

    impl CheckedSub for Decimal

    §

    fn checked_sub(&self, v: &Decimal) -> Option<Decimal>

    Subtracts two numbers, checking for underflow. If underflow happens, -None is returned.
    §

    impl Clone for Decimal

    §

    fn clone(&self) -> Decimal

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Decimal

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Decimal

    §

    fn default() -> Decimal

    Returns the default value for a Decimal (equivalent to Decimal::ZERO). Read more

    +

    pub fn checked_div(self, other: Decimal) -> Option<Decimal>

    Checked division. Computes self / other, returning None if overflow occurred.

    +

    pub fn checked_rem(self, other: Decimal) -> Option<Decimal>

    Checked remainder. Computes self % other, returning None if overflow occurred.

    +

    Trait Implementations§

    §

    impl<'a, 'b> Add<&'b Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the + operator.
    §

    fn add(self, other: &Decimal) -> Decimal

    Performs the + operation. Read more
    §

    impl<'a> Add<&'a Decimal> for Decimal

    §

    type Output = Decimal

    The resulting type after applying the + operator.
    §

    fn add(self, other: &Decimal) -> Decimal

    Performs the + operation. Read more
    §

    impl<'a> Add<Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the + operator.
    §

    fn add(self, other: Decimal) -> Decimal

    Performs the + operation. Read more
    §

    impl Add for Decimal

    §

    type Output = Decimal

    The resulting type after applying the + operator.
    §

    fn add(self, other: Decimal) -> Decimal

    Performs the + operation. Read more
    §

    impl<'a> AddAssign<&'a Decimal> for &'a mut Decimal

    §

    fn add_assign(&mut self, other: &'a Decimal)

    Performs the += operation. Read more
    §

    impl<'a> AddAssign<&'a Decimal> for Decimal

    §

    fn add_assign(&mut self, other: &'a Decimal)

    Performs the += operation. Read more
    §

    impl<'a> AddAssign<Decimal> for &'a mut Decimal

    §

    fn add_assign(&mut self, other: Decimal)

    Performs the += operation. Read more
    §

    impl AddAssign for Decimal

    §

    fn add_assign(&mut self, other: Decimal)

    Performs the += operation. Read more
    §

    impl CheckedAdd for Decimal

    §

    fn checked_add(&self, v: &Decimal) -> Option<Decimal>

    Adds two numbers, checking for overflow. If overflow happens, None is +returned.
    §

    impl CheckedDiv for Decimal

    §

    fn checked_div(&self, v: &Decimal) -> Option<Decimal>

    Divides two numbers, checking for underflow, overflow and division by +zero. If any of that happens, None is returned.
    §

    impl CheckedMul for Decimal

    §

    fn checked_mul(&self, v: &Decimal) -> Option<Decimal>

    Multiplies two numbers, checking for underflow or overflow. If underflow +or overflow happens, None is returned.
    §

    impl CheckedRem for Decimal

    §

    fn checked_rem(&self, v: &Decimal) -> Option<Decimal>

    Finds the remainder of dividing two numbers, checking for underflow, overflow and division +by zero. If any of that happens, None is returned. Read more
    §

    impl CheckedSub for Decimal

    §

    fn checked_sub(&self, v: &Decimal) -> Option<Decimal>

    Subtracts two numbers, checking for underflow. If underflow happens, +None is returned.
    §

    impl Clone for Decimal

    §

    fn clone(&self) -> Decimal

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Decimal

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Default for Decimal

    §

    fn default() -> Decimal

    Returns the default value for a Decimal (equivalent to Decimal::ZERO). Read more

    §

    impl<'de> Deserialize<'de> for Decimal

    §

    fn deserialize<D>( deserializer: D, -) -> Result<Decimal, <D as Deserializer<'de>>::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for Decimal

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a, 'b> Div<&'b Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the / operator.
    §

    fn div(self, other: &Decimal) -> Decimal

    Performs the / operation. Read more
    §

    impl<'a> Div<&'a Decimal> for Decimal

    §

    type Output = Decimal

    The resulting type after applying the / operator.
    §

    fn div(self, other: &Decimal) -> Decimal

    Performs the / operation. Read more
    §

    impl<'a> Div<Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the / operator.
    §

    fn div(self, other: Decimal) -> Decimal

    Performs the / operation. Read more
    §

    impl Div for Decimal

    §

    type Output = Decimal

    The resulting type after applying the / operator.
    §

    fn div(self, other: Decimal) -> Decimal

    Performs the / operation. Read more
    §

    impl<'a> DivAssign<&'a Decimal> for &'a mut Decimal

    §

    fn div_assign(&mut self, other: &'a Decimal)

    Performs the /= operation. Read more
    §

    impl<'a> DivAssign<&'a Decimal> for Decimal

    §

    fn div_assign(&mut self, other: &'a Decimal)

    Performs the /= operation. Read more
    §

    impl<'a> DivAssign<Decimal> for &'a mut Decimal

    §

    fn div_assign(&mut self, other: Decimal)

    Performs the /= operation. Read more
    §

    impl DivAssign for Decimal

    §

    fn div_assign(&mut self, other: Decimal)

    Performs the /= operation. Read more
    §

    impl From<i128> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: i128) -> Decimal

    Converts to this type from the input type.
    §

    impl From<i16> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: i16) -> Decimal

    Converts to this type from the input type.
    §

    impl From<i32> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: i32) -> Decimal

    Converts to this type from the input type.
    §

    impl From<i64> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: i64) -> Decimal

    Converts to this type from the input type.
    §

    impl From<i8> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: i8) -> Decimal

    Converts to this type from the input type.
    §

    impl From<isize> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: isize) -> Decimal

    Converts to this type from the input type.
    §

    impl From<u128> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: u128) -> Decimal

    Converts to this type from the input type.
    §

    impl From<u16> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: u16) -> Decimal

    Converts to this type from the input type.
    §

    impl From<u32> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: u32) -> Decimal

    Converts to this type from the input type.
    §

    impl From<u64> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: u64) -> Decimal

    Converts to this type from the input type.
    §

    impl From<u8> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: u8) -> Decimal

    Converts to this type from the input type.
    §

    impl From<usize> for Decimal

    Conversion to Decimal.

    -
    §

    fn from(t: usize) -> Decimal

    Converts to this type from the input type.
    §

    impl FromPrimitive for Decimal

    §

    fn from_i32(n: i32) -> Option<Decimal>

    Converts an i32 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    fn from_i64(n: i64) -> Option<Decimal>

    Converts an i64 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    fn from_i128(n: i128) -> Option<Decimal>

    Converts an i128 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned. Read more
    §

    fn from_u32(n: u32) -> Option<Decimal>

    Converts an u32 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    fn from_u64(n: u64) -> Option<Decimal>

    Converts an u64 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    fn from_u128(n: u128) -> Option<Decimal>

    Converts an u128 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned. Read more
    §

    fn from_f32(n: f32) -> Option<Decimal>

    Converts a f32 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    fn from_f64(n: f64) -> Option<Decimal>

    Converts a f64 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned. Read more
    Source§

    fn from_isize(n: isize) -> Option<Self>

    Converts an isize to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    Source§

    fn from_i8(n: i8) -> Option<Self>

    Converts an i8 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    Source§

    fn from_i16(n: i16) -> Option<Self>

    Converts an i16 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    Source§

    fn from_usize(n: usize) -> Option<Self>

    Converts a usize to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    Source§

    fn from_u8(n: u8) -> Option<Self>

    Converts an u8 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    Source§

    fn from_u16(n: u16) -> Option<Self>

    Converts an u16 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    impl FromStr for Decimal

    §

    type Err = Error

    The associated error which can be returned from parsing.
    §

    fn from_str(value: &str) -> Result<Decimal, <Decimal as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    §

    impl Hash for Decimal

    §

    fn hash<H>(&self, state: &mut H)
    where - H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Inv for Decimal

    §

    type Output = Decimal

    The result after applying the operator.
    §

    fn inv(self) -> Decimal

    Returns the multiplicative inverse of self. Read more
    §

    impl LowerExp for Decimal

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl MathematicalOps for Decimal

    §

    fn exp(&self) -> Decimal

    The estimated exponential function, ex. Stops calculating when it is within -tolerance of roughly 0.0000002.
    §

    fn checked_exp(&self) -> Option<Decimal>

    The estimated exponential function, ex. Stops calculating when it is within +) -> Result<Decimal, <D as Deserializer<'de>>::Error>
    where + D: Deserializer<'de>,
    Deserialize this value from the given Serde deserializer. Read more
    §

    impl Display for Decimal

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl<'a, 'b> Div<&'b Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the / operator.
    §

    fn div(self, other: &Decimal) -> Decimal

    Performs the / operation. Read more
    §

    impl<'a> Div<&'a Decimal> for Decimal

    §

    type Output = Decimal

    The resulting type after applying the / operator.
    §

    fn div(self, other: &Decimal) -> Decimal

    Performs the / operation. Read more
    §

    impl<'a> Div<Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the / operator.
    §

    fn div(self, other: Decimal) -> Decimal

    Performs the / operation. Read more
    §

    impl Div for Decimal

    §

    type Output = Decimal

    The resulting type after applying the / operator.
    §

    fn div(self, other: Decimal) -> Decimal

    Performs the / operation. Read more
    §

    impl<'a> DivAssign<&'a Decimal> for &'a mut Decimal

    §

    fn div_assign(&mut self, other: &'a Decimal)

    Performs the /= operation. Read more
    §

    impl<'a> DivAssign<&'a Decimal> for Decimal

    §

    fn div_assign(&mut self, other: &'a Decimal)

    Performs the /= operation. Read more
    §

    impl<'a> DivAssign<Decimal> for &'a mut Decimal

    §

    fn div_assign(&mut self, other: Decimal)

    Performs the /= operation. Read more
    §

    impl DivAssign for Decimal

    §

    fn div_assign(&mut self, other: Decimal)

    Performs the /= operation. Read more
    §

    impl From<i128> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: i128) -> Decimal

    Converts to this type from the input type.
    §

    impl From<i16> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: i16) -> Decimal

    Converts to this type from the input type.
    §

    impl From<i32> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: i32) -> Decimal

    Converts to this type from the input type.
    §

    impl From<i64> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: i64) -> Decimal

    Converts to this type from the input type.
    §

    impl From<i8> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: i8) -> Decimal

    Converts to this type from the input type.
    §

    impl From<isize> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: isize) -> Decimal

    Converts to this type from the input type.
    §

    impl From<u128> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: u128) -> Decimal

    Converts to this type from the input type.
    §

    impl From<u16> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: u16) -> Decimal

    Converts to this type from the input type.
    §

    impl From<u32> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: u32) -> Decimal

    Converts to this type from the input type.
    §

    impl From<u64> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: u64) -> Decimal

    Converts to this type from the input type.
    §

    impl From<u8> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: u8) -> Decimal

    Converts to this type from the input type.
    §

    impl From<usize> for Decimal

    Conversion to Decimal.

    +
    §

    fn from(t: usize) -> Decimal

    Converts to this type from the input type.
    §

    impl FromPrimitive for Decimal

    §

    fn from_i32(n: i32) -> Option<Decimal>

    Converts an i32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    §

    fn from_i64(n: i64) -> Option<Decimal>

    Converts an i64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    §

    fn from_i128(n: i128) -> Option<Decimal>

    Converts an i128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
    §

    fn from_u32(n: u32) -> Option<Decimal>

    Converts an u32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    §

    fn from_u64(n: u64) -> Option<Decimal>

    Converts an u64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    §

    fn from_u128(n: u128) -> Option<Decimal>

    Converts an u128 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
    §

    fn from_f32(n: f32) -> Option<Decimal>

    Converts a f32 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    §

    fn from_f64(n: f64) -> Option<Decimal>

    Converts a f64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned. Read more
    Source§

    fn from_isize(n: isize) -> Option<Self>

    Converts an isize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    Source§

    fn from_i8(n: i8) -> Option<Self>

    Converts an i8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    Source§

    fn from_i16(n: i16) -> Option<Self>

    Converts an i16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    Source§

    fn from_usize(n: usize) -> Option<Self>

    Converts a usize to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    Source§

    fn from_u8(n: u8) -> Option<Self>

    Converts an u8 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    Source§

    fn from_u16(n: u16) -> Option<Self>

    Converts an u16 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    §

    impl FromStr for Decimal

    §

    type Err = Error

    The associated error which can be returned from parsing.
    §

    fn from_str(value: &str) -> Result<Decimal, <Decimal as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    §

    impl Hash for Decimal

    §

    fn hash<H>(&self, state: &mut H)
    where + H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Inv for Decimal

    §

    type Output = Decimal

    The result after applying the operator.
    §

    fn inv(self) -> Decimal

    Returns the multiplicative inverse of self. Read more
    §

    impl LowerExp for Decimal

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl MathematicalOps for Decimal

    §

    fn exp(&self) -> Decimal

    The estimated exponential function, ex. Stops calculating when it is within +tolerance of roughly 0.0000002.
    §

    fn checked_exp(&self) -> Option<Decimal>

    The estimated exponential function, ex. Stops calculating when it is within tolerance of roughly 0.0000002. Returns None on overflow.
    §

    fn exp_with_tolerance(&self, tolerance: Decimal) -> Decimal

    The estimated exponential function, ex using the tolerance provided as a hint as to when to stop calculating. A larger tolerance will cause the number to stop calculating -sooner at the potential cost of a slightly less accurate result.
    §

    fn checked_exp_with_tolerance(&self, tolerance: Decimal) -> Option<Decimal>

    The estimated exponential function, ex using the tolerance provided as a hint +sooner at the potential cost of a slightly less accurate result.
    §

    fn checked_exp_with_tolerance(&self, tolerance: Decimal) -> Option<Decimal>

    The estimated exponential function, ex using the tolerance provided as a hint as to when to stop calculating. A larger tolerance will cause the number to stop calculating sooner at the potential cost of a slightly less accurate result. -Returns None on overflow.
    §

    fn powi(&self, exp: i64) -> Decimal

    Raise self to the given integer exponent: xy
    §

    fn checked_powi(&self, exp: i64) -> Option<Decimal>

    Raise self to the given integer exponent xy returning None on overflow.
    §

    fn powu(&self, exp: u64) -> Decimal

    Raise self to the given unsigned integer exponent: xy
    §

    fn checked_powu(&self, exp: u64) -> Option<Decimal>

    Raise self to the given unsigned integer exponent xy returning None on overflow.
    §

    fn powf(&self, exp: f64) -> Decimal

    Raise self to the given floating point exponent: xy
    §

    fn checked_powf(&self, exp: f64) -> Option<Decimal>

    Raise self to the given floating point exponent xy returning None on overflow.
    §

    fn powd(&self, exp: Decimal) -> Decimal

    Raise self to the given Decimal exponent: xy. If exp is not whole then the approximation -ey*ln(x) is used.
    §

    fn checked_powd(&self, exp: Decimal) -> Option<Decimal>

    Raise self to the given Decimal exponent xy returning None on overflow. -If exp is not whole then the approximation ey*ln(x) is used.
    §

    fn sqrt(&self) -> Option<Decimal>

    The square root of a Decimal. Uses a standard Babylonian method.
    §

    fn ln(&self) -> Decimal

    Calculates the natural logarithm for a Decimal calculated using Taylor’s series.
    §

    fn checked_ln(&self) -> Option<Decimal>

    Calculates the checked natural logarithm for a Decimal calculated using Taylor’s series. -Returns None for negative numbers or zero.
    §

    fn log10(&self) -> Decimal

    Calculates the base 10 logarithm of a specified Decimal number.
    §

    fn checked_log10(&self) -> Option<Decimal>

    Calculates the checked base 10 logarithm of a specified Decimal number. -Returns None for negative numbers or zero.
    §

    fn erf(&self) -> Decimal

    Abramowitz Approximation of Error Function from wikipedia
    §

    fn norm_cdf(&self) -> Decimal

    The Cumulative distribution function for a Normal distribution
    §

    fn norm_pdf(&self) -> Decimal

    The Probability density function for a Normal distribution.
    §

    fn checked_norm_pdf(&self) -> Option<Decimal>

    The Probability density function for a Normal distribution returning None on overflow.
    §

    fn sin(&self) -> Decimal

    Computes the sine of a number (in radians). -Panics upon overflow.
    §

    fn checked_sin(&self) -> Option<Decimal>

    Computes the checked sine of a number (in radians).
    §

    fn cos(&self) -> Decimal

    Computes the cosine of a number (in radians). -Panics upon overflow.
    §

    fn checked_cos(&self) -> Option<Decimal>

    Computes the checked cosine of a number (in radians).
    §

    fn tan(&self) -> Decimal

    Computes the tangent of a number (in radians). -Panics upon overflow or upon approaching a limit.
    §

    fn checked_tan(&self) -> Option<Decimal>

    Computes the checked tangent of a number (in radians). -Returns None on limit.
    §

    impl<'a, 'b> Mul<&'b Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the * operator.
    §

    fn mul(self, other: &Decimal) -> Decimal

    Performs the * operation. Read more
    §

    impl<'a> Mul<&'a Decimal> for Decimal

    §

    type Output = Decimal

    The resulting type after applying the * operator.
    §

    fn mul(self, other: &Decimal) -> Decimal

    Performs the * operation. Read more
    §

    impl<'a> Mul<Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the * operator.
    §

    fn mul(self, other: Decimal) -> Decimal

    Performs the * operation. Read more
    §

    impl Mul for Decimal

    §

    type Output = Decimal

    The resulting type after applying the * operator.
    §

    fn mul(self, other: Decimal) -> Decimal

    Performs the * operation. Read more
    §

    impl<'a> MulAssign<&'a Decimal> for &'a mut Decimal

    §

    fn mul_assign(&mut self, other: &'a Decimal)

    Performs the *= operation. Read more
    §

    impl<'a> MulAssign<&'a Decimal> for Decimal

    §

    fn mul_assign(&mut self, other: &'a Decimal)

    Performs the *= operation. Read more
    §

    impl<'a> MulAssign<Decimal> for &'a mut Decimal

    §

    fn mul_assign(&mut self, other: Decimal)

    Performs the *= operation. Read more
    §

    impl MulAssign for Decimal

    §

    fn mul_assign(&mut self, other: Decimal)

    Performs the *= operation. Read more
    §

    impl<'a> Neg for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn neg(self) -> Decimal

    Performs the unary - operation. Read more
    §

    impl Neg for Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn neg(self) -> Decimal

    Performs the unary - operation. Read more
    §

    impl Num for Decimal

    §

    type FromStrRadixErr = Error

    §

    fn from_str_radix( - str: &str, - radix: u32, -) -> Result<Decimal, <Decimal as Num>::FromStrRadixErr>

    Convert from a string and radix (typically 2..=36). Read more
    §

    impl One for Decimal

    §

    fn one() -> Decimal

    Returns the multiplicative identity element of Self, 1. Read more
    Source§

    fn set_one(&mut self)

    Sets self to the multiplicative identity element of Self, 1.
    Source§

    fn is_one(&self) -> bool
    where - Self: PartialEq,

    Returns true if self is equal to the multiplicative identity. Read more
    §

    impl Ord for Decimal

    §

    fn cmp(&self, other: &Decimal) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for Decimal

    §

    fn eq(&self, other: &Decimal) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for Decimal

    §

    fn partial_cmp(&self, other: &Decimal) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > -operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Pow<Decimal> for Decimal

    §

    type Output = Decimal

    The result after applying the operator.
    §

    fn pow(self, rhs: Decimal) -> <Decimal as Pow<Decimal>>::Output

    Returns self to the power rhs. Read more
    §

    impl Pow<f64> for Decimal

    §

    type Output = Decimal

    The result after applying the operator.
    §

    fn pow(self, rhs: f64) -> <Decimal as Pow<f64>>::Output

    Returns self to the power rhs. Read more
    §

    impl Pow<i64> for Decimal

    §

    type Output = Decimal

    The result after applying the operator.
    §

    fn pow(self, rhs: i64) -> <Decimal as Pow<i64>>::Output

    Returns self to the power rhs. Read more
    §

    impl Pow<u64> for Decimal

    §

    type Output = Decimal

    The result after applying the operator.
    §

    fn pow(self, rhs: u64) -> <Decimal as Pow<u64>>::Output

    Returns self to the power rhs. Read more
    §

    impl<'a> Product<&'a Decimal> for Decimal

    §

    fn product<I>(iter: I) -> Decimal
    where - I: Iterator<Item = &'a Decimal>,

    Panics if out-of-bounds

    -
    §

    impl Product for Decimal

    §

    fn product<I>(iter: I) -> Decimal
    where - I: Iterator<Item = Decimal>,

    Panics if out-of-bounds

    -
    §

    impl<'a, 'b> Rem<&'b Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the % operator.
    §

    fn rem(self, other: &Decimal) -> Decimal

    Performs the % operation. Read more
    §

    impl<'a> Rem<&'a Decimal> for Decimal

    §

    type Output = Decimal

    The resulting type after applying the % operator.
    §

    fn rem(self, other: &Decimal) -> Decimal

    Performs the % operation. Read more
    §

    impl<'a> Rem<Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the % operator.
    §

    fn rem(self, other: Decimal) -> Decimal

    Performs the % operation. Read more
    §

    impl Rem for Decimal

    §

    type Output = Decimal

    The resulting type after applying the % operator.
    §

    fn rem(self, other: Decimal) -> Decimal

    Performs the % operation. Read more
    §

    impl<'a> RemAssign<&'a Decimal> for &'a mut Decimal

    §

    fn rem_assign(&mut self, other: &'a Decimal)

    Performs the %= operation. Read more
    §

    impl<'a> RemAssign<&'a Decimal> for Decimal

    §

    fn rem_assign(&mut self, other: &'a Decimal)

    Performs the %= operation. Read more
    §

    impl<'a> RemAssign<Decimal> for &'a mut Decimal

    §

    fn rem_assign(&mut self, other: Decimal)

    Performs the %= operation. Read more
    §

    impl RemAssign for Decimal

    §

    fn rem_assign(&mut self, other: Decimal)

    Performs the %= operation. Read more
    §

    impl Serialize for Decimal

    §

    fn serialize<S>( +Returns None on overflow.

    §

    fn powi(&self, exp: i64) -> Decimal

    Raise self to the given integer exponent: xy
    §

    fn checked_powi(&self, exp: i64) -> Option<Decimal>

    Raise self to the given integer exponent xy returning None on overflow.
    §

    fn powu(&self, exp: u64) -> Decimal

    Raise self to the given unsigned integer exponent: xy
    §

    fn checked_powu(&self, exp: u64) -> Option<Decimal>

    Raise self to the given unsigned integer exponent xy returning None on overflow.
    §

    fn powf(&self, exp: f64) -> Decimal

    Raise self to the given floating point exponent: xy
    §

    fn checked_powf(&self, exp: f64) -> Option<Decimal>

    Raise self to the given floating point exponent xy returning None on overflow.
    §

    fn powd(&self, exp: Decimal) -> Decimal

    Raise self to the given Decimal exponent: xy. If exp is not whole then the approximation +ey*ln(x) is used.
    §

    fn checked_powd(&self, exp: Decimal) -> Option<Decimal>

    Raise self to the given Decimal exponent xy returning None on overflow. +If exp is not whole then the approximation ey*ln(x) is used.
    §

    fn sqrt(&self) -> Option<Decimal>

    The square root of a Decimal. Uses a standard Babylonian method.
    §

    fn ln(&self) -> Decimal

    Calculates the natural logarithm for a Decimal calculated using Taylor’s series.
    §

    fn checked_ln(&self) -> Option<Decimal>

    Calculates the checked natural logarithm for a Decimal calculated using Taylor’s series. +Returns None for negative numbers or zero.
    §

    fn log10(&self) -> Decimal

    Calculates the base 10 logarithm of a specified Decimal number.
    §

    fn checked_log10(&self) -> Option<Decimal>

    Calculates the checked base 10 logarithm of a specified Decimal number. +Returns None for negative numbers or zero.
    §

    fn erf(&self) -> Decimal

    Abramowitz Approximation of Error Function from wikipedia
    §

    fn norm_cdf(&self) -> Decimal

    The Cumulative distribution function for a Normal distribution
    §

    fn norm_pdf(&self) -> Decimal

    The Probability density function for a Normal distribution.
    §

    fn checked_norm_pdf(&self) -> Option<Decimal>

    The Probability density function for a Normal distribution returning None on overflow.
    §

    fn sin(&self) -> Decimal

    Computes the sine of a number (in radians). +Panics upon overflow.
    §

    fn checked_sin(&self) -> Option<Decimal>

    Computes the checked sine of a number (in radians).
    §

    fn cos(&self) -> Decimal

    Computes the cosine of a number (in radians). +Panics upon overflow.
    §

    fn checked_cos(&self) -> Option<Decimal>

    Computes the checked cosine of a number (in radians).
    §

    fn tan(&self) -> Decimal

    Computes the tangent of a number (in radians). +Panics upon overflow or upon approaching a limit.
    §

    fn checked_tan(&self) -> Option<Decimal>

    Computes the checked tangent of a number (in radians). +Returns None on limit.
    §

    impl<'a, 'b> Mul<&'b Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the * operator.
    §

    fn mul(self, other: &Decimal) -> Decimal

    Performs the * operation. Read more
    §

    impl<'a> Mul<&'a Decimal> for Decimal

    §

    type Output = Decimal

    The resulting type after applying the * operator.
    §

    fn mul(self, other: &Decimal) -> Decimal

    Performs the * operation. Read more
    §

    impl<'a> Mul<Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the * operator.
    §

    fn mul(self, other: Decimal) -> Decimal

    Performs the * operation. Read more
    §

    impl Mul for Decimal

    §

    type Output = Decimal

    The resulting type after applying the * operator.
    §

    fn mul(self, other: Decimal) -> Decimal

    Performs the * operation. Read more
    §

    impl<'a> MulAssign<&'a Decimal> for &'a mut Decimal

    §

    fn mul_assign(&mut self, other: &'a Decimal)

    Performs the *= operation. Read more
    §

    impl<'a> MulAssign<&'a Decimal> for Decimal

    §

    fn mul_assign(&mut self, other: &'a Decimal)

    Performs the *= operation. Read more
    §

    impl<'a> MulAssign<Decimal> for &'a mut Decimal

    §

    fn mul_assign(&mut self, other: Decimal)

    Performs the *= operation. Read more
    §

    impl MulAssign for Decimal

    §

    fn mul_assign(&mut self, other: Decimal)

    Performs the *= operation. Read more
    §

    impl<'a> Neg for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn neg(self) -> Decimal

    Performs the unary - operation. Read more
    §

    impl Neg for Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn neg(self) -> Decimal

    Performs the unary - operation. Read more
    §

    impl Num for Decimal

    §

    type FromStrRadixErr = Error

    §

    fn from_str_radix( + str: &str, + radix: u32, +) -> Result<Decimal, <Decimal as Num>::FromStrRadixErr>

    Convert from a string and radix (typically 2..=36). Read more
    §

    impl One for Decimal

    §

    fn one() -> Decimal

    Returns the multiplicative identity element of Self, 1. Read more
    Source§

    fn set_one(&mut self)

    Sets self to the multiplicative identity element of Self, 1.
    Source§

    fn is_one(&self) -> bool
    where + Self: PartialEq,

    Returns true if self is equal to the multiplicative identity. Read more
    §

    impl Ord for Decimal

    §

    fn cmp(&self, other: &Decimal) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for Decimal

    §

    fn eq(&self, other: &Decimal) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    §

    impl PartialOrd for Decimal

    §

    fn partial_cmp(&self, other: &Decimal) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > +operator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
    §

    impl Pow<Decimal> for Decimal

    §

    type Output = Decimal

    The result after applying the operator.
    §

    fn pow(self, rhs: Decimal) -> <Decimal as Pow<Decimal>>::Output

    Returns self to the power rhs. Read more
    §

    impl Pow<f64> for Decimal

    §

    type Output = Decimal

    The result after applying the operator.
    §

    fn pow(self, rhs: f64) -> <Decimal as Pow<f64>>::Output

    Returns self to the power rhs. Read more
    §

    impl Pow<i64> for Decimal

    §

    type Output = Decimal

    The result after applying the operator.
    §

    fn pow(self, rhs: i64) -> <Decimal as Pow<i64>>::Output

    Returns self to the power rhs. Read more
    §

    impl Pow<u64> for Decimal

    §

    type Output = Decimal

    The result after applying the operator.
    §

    fn pow(self, rhs: u64) -> <Decimal as Pow<u64>>::Output

    Returns self to the power rhs. Read more
    §

    impl<'a> Product<&'a Decimal> for Decimal

    §

    fn product<I>(iter: I) -> Decimal
    where + I: Iterator<Item = &'a Decimal>,

    Panics if out-of-bounds

    +
    §

    impl Product for Decimal

    §

    fn product<I>(iter: I) -> Decimal
    where + I: Iterator<Item = Decimal>,

    Panics if out-of-bounds

    +
    §

    impl<'a, 'b> Rem<&'b Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the % operator.
    §

    fn rem(self, other: &Decimal) -> Decimal

    Performs the % operation. Read more
    §

    impl<'a> Rem<&'a Decimal> for Decimal

    §

    type Output = Decimal

    The resulting type after applying the % operator.
    §

    fn rem(self, other: &Decimal) -> Decimal

    Performs the % operation. Read more
    §

    impl<'a> Rem<Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the % operator.
    §

    fn rem(self, other: Decimal) -> Decimal

    Performs the % operation. Read more
    §

    impl Rem for Decimal

    §

    type Output = Decimal

    The resulting type after applying the % operator.
    §

    fn rem(self, other: Decimal) -> Decimal

    Performs the % operation. Read more
    §

    impl<'a> RemAssign<&'a Decimal> for &'a mut Decimal

    §

    fn rem_assign(&mut self, other: &'a Decimal)

    Performs the %= operation. Read more
    §

    impl<'a> RemAssign<&'a Decimal> for Decimal

    §

    fn rem_assign(&mut self, other: &'a Decimal)

    Performs the %= operation. Read more
    §

    impl<'a> RemAssign<Decimal> for &'a mut Decimal

    §

    fn rem_assign(&mut self, other: Decimal)

    Performs the %= operation. Read more
    §

    impl RemAssign for Decimal

    §

    fn rem_assign(&mut self, other: Decimal)

    Performs the %= operation. Read more
    §

    impl Serialize for Decimal

    §

    fn serialize<S>( &self, serializer: S, -) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    §

    impl Signed for Decimal

    §

    fn abs(&self) -> Decimal

    Computes the absolute value. Read more
    §

    fn abs_sub(&self, other: &Decimal) -> Decimal

    The positive difference of two numbers. Read more
    §

    fn signum(&self) -> Decimal

    Returns the sign of the number. Read more
    §

    fn is_positive(&self) -> bool

    Returns true if the number is positive and false if the number is zero or negative.
    §

    fn is_negative(&self) -> bool

    Returns true if the number is negative and false if the number is zero or positive.
    §

    impl<'a, 'b> Sub<&'b Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn sub(self, other: &Decimal) -> Decimal

    Performs the - operation. Read more
    §

    impl<'a> Sub<&'a Decimal> for Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn sub(self, other: &Decimal) -> Decimal

    Performs the - operation. Read more
    §

    impl<'a> Sub<Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn sub(self, other: Decimal) -> Decimal

    Performs the - operation. Read more
    §

    impl Sub for Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn sub(self, other: Decimal) -> Decimal

    Performs the - operation. Read more
    §

    impl<'a> SubAssign<&'a Decimal> for &'a mut Decimal

    §

    fn sub_assign(&mut self, other: &'a Decimal)

    Performs the -= operation. Read more
    §

    impl<'a> SubAssign<&'a Decimal> for Decimal

    §

    fn sub_assign(&mut self, other: &'a Decimal)

    Performs the -= operation. Read more
    §

    impl<'a> SubAssign<Decimal> for &'a mut Decimal

    §

    fn sub_assign(&mut self, other: Decimal)

    Performs the -= operation. Read more
    §

    impl SubAssign for Decimal

    §

    fn sub_assign(&mut self, other: Decimal)

    Performs the -= operation. Read more
    §

    impl<'a> Sum<&'a Decimal> for Decimal

    §

    fn sum<I>(iter: I) -> Decimal
    where - I: Iterator<Item = &'a Decimal>,

    Takes an iterator and generates Self from the elements by “summing up” -the items.
    §

    impl Sum for Decimal

    §

    fn sum<I>(iter: I) -> Decimal
    where - I: Iterator<Item = Decimal>,

    Takes an iterator and generates Self from the elements by “summing up” -the items.
    §

    impl ToPrimitive for Decimal

    §

    fn to_i64(&self) -> Option<i64>

    Converts the value of self to an i64. If the value cannot be -represented by an i64, then None is returned.
    §

    fn to_i128(&self) -> Option<i128>

    Converts the value of self to an i128. If the value cannot be +) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where + S: Serializer,
    Serialize this value into the given Serde serializer. Read more
    §

    impl Signed for Decimal

    §

    fn abs(&self) -> Decimal

    Computes the absolute value. Read more
    §

    fn abs_sub(&self, other: &Decimal) -> Decimal

    The positive difference of two numbers. Read more
    §

    fn signum(&self) -> Decimal

    Returns the sign of the number. Read more
    §

    fn is_positive(&self) -> bool

    Returns true if the number is positive and false if the number is zero or negative.
    §

    fn is_negative(&self) -> bool

    Returns true if the number is negative and false if the number is zero or positive.
    §

    impl<'a, 'b> Sub<&'b Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn sub(self, other: &Decimal) -> Decimal

    Performs the - operation. Read more
    §

    impl<'a> Sub<&'a Decimal> for Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn sub(self, other: &Decimal) -> Decimal

    Performs the - operation. Read more
    §

    impl<'a> Sub<Decimal> for &'a Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn sub(self, other: Decimal) -> Decimal

    Performs the - operation. Read more
    §

    impl Sub for Decimal

    §

    type Output = Decimal

    The resulting type after applying the - operator.
    §

    fn sub(self, other: Decimal) -> Decimal

    Performs the - operation. Read more
    §

    impl<'a> SubAssign<&'a Decimal> for &'a mut Decimal

    §

    fn sub_assign(&mut self, other: &'a Decimal)

    Performs the -= operation. Read more
    §

    impl<'a> SubAssign<&'a Decimal> for Decimal

    §

    fn sub_assign(&mut self, other: &'a Decimal)

    Performs the -= operation. Read more
    §

    impl<'a> SubAssign<Decimal> for &'a mut Decimal

    §

    fn sub_assign(&mut self, other: Decimal)

    Performs the -= operation. Read more
    §

    impl SubAssign for Decimal

    §

    fn sub_assign(&mut self, other: Decimal)

    Performs the -= operation. Read more
    §

    impl<'a> Sum<&'a Decimal> for Decimal

    §

    fn sum<I>(iter: I) -> Decimal
    where + I: Iterator<Item = &'a Decimal>,

    Takes an iterator and generates Self from the elements by “summing up” +the items.
    §

    impl Sum for Decimal

    §

    fn sum<I>(iter: I) -> Decimal
    where + I: Iterator<Item = Decimal>,

    Takes an iterator and generates Self from the elements by “summing up” +the items.
    §

    impl ToPrimitive for Decimal

    §

    fn to_i64(&self) -> Option<i64>

    Converts the value of self to an i64. If the value cannot be +represented by an i64, then None is returned.
    §

    fn to_i128(&self) -> Option<i128>

    Converts the value of self to an i128. If the value cannot be represented by an i128 (i64 under the default implementation), then -None is returned. Read more
    §

    fn to_u64(&self) -> Option<u64>

    Converts the value of self to a u64. If the value cannot be -represented by a u64, then None is returned.
    §

    fn to_u128(&self) -> Option<u128>

    Converts the value of self to a u128. If the value cannot be +None is returned. Read more
    §

    fn to_u64(&self) -> Option<u64>

    Converts the value of self to a u64. If the value cannot be +represented by a u64, then None is returned.
    §

    fn to_u128(&self) -> Option<u128>

    Converts the value of self to a u128. If the value cannot be represented by a u128 (u64 under the default implementation), then -None is returned. Read more
    §

    fn to_f64(&self) -> Option<f64>

    Converts the value of self to an f64. Overflows may map to positive +None is returned. Read more
    §

    fn to_f64(&self) -> Option<f64>

    Converts the value of self to an f64. Overflows may map to positive or negative inifinity, otherwise None is returned if the value cannot -be represented by an f64. Read more
    Source§

    fn to_isize(&self) -> Option<isize>

    Converts the value of self to an isize. If the value cannot be -represented by an isize, then None is returned.
    Source§

    fn to_i8(&self) -> Option<i8>

    Converts the value of self to an i8. If the value cannot be -represented by an i8, then None is returned.
    Source§

    fn to_i16(&self) -> Option<i16>

    Converts the value of self to an i16. If the value cannot be -represented by an i16, then None is returned.
    Source§

    fn to_i32(&self) -> Option<i32>

    Converts the value of self to an i32. If the value cannot be -represented by an i32, then None is returned.
    Source§

    fn to_usize(&self) -> Option<usize>

    Converts the value of self to a usize. If the value cannot be -represented by a usize, then None is returned.
    Source§

    fn to_u8(&self) -> Option<u8>

    Converts the value of self to a u8. If the value cannot be -represented by a u8, then None is returned.
    Source§

    fn to_u16(&self) -> Option<u16>

    Converts the value of self to a u16. If the value cannot be -represented by a u16, then None is returned.
    Source§

    fn to_u32(&self) -> Option<u32>

    Converts the value of self to a u32. If the value cannot be -represented by a u32, then None is returned.
    Source§

    fn to_f32(&self) -> Option<f32>

    Converts the value of self to an f32. Overflows may map to positive +be represented by an f64. Read more
    Source§

    fn to_isize(&self) -> Option<isize>

    Converts the value of self to an isize. If the value cannot be +represented by an isize, then None is returned.
    Source§

    fn to_i8(&self) -> Option<i8>

    Converts the value of self to an i8. If the value cannot be +represented by an i8, then None is returned.
    Source§

    fn to_i16(&self) -> Option<i16>

    Converts the value of self to an i16. If the value cannot be +represented by an i16, then None is returned.
    Source§

    fn to_i32(&self) -> Option<i32>

    Converts the value of self to an i32. If the value cannot be +represented by an i32, then None is returned.
    Source§

    fn to_usize(&self) -> Option<usize>

    Converts the value of self to a usize. If the value cannot be +represented by a usize, then None is returned.
    Source§

    fn to_u8(&self) -> Option<u8>

    Converts the value of self to a u8. If the value cannot be +represented by a u8, then None is returned.
    Source§

    fn to_u16(&self) -> Option<u16>

    Converts the value of self to a u16. If the value cannot be +represented by a u16, then None is returned.
    Source§

    fn to_u32(&self) -> Option<u32>

    Converts the value of self to a u32. If the value cannot be +represented by a u32, then None is returned.
    Source§

    fn to_f32(&self) -> Option<f32>

    Converts the value of self to an f32. Overflows may map to positive or negative inifinity, otherwise None is returned if the value cannot -be represented by an f32.
    §

    impl TryFrom<&str> for Decimal

    Try to convert a &str into a Decimal.

    +be represented by an f32.
    §

    impl TryFrom<&str> for Decimal

    Try to convert a &str into a Decimal.

    Can fail if the value is out of range for Decimal.

    -
    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(t: &str) -> Result<Decimal, Error>

    Performs the conversion.
    §

    impl TryFrom<f32> for Decimal

    Try to convert a f32 into a Decimal.

    +
    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(t: &str) -> Result<Decimal, Error>

    Performs the conversion.
    §

    impl TryFrom<f32> for Decimal

    Try to convert a f32 into a Decimal.

    Can fail if the value is out of range for Decimal.

    -
    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(t: f32) -> Result<Decimal, Error>

    Performs the conversion.
    §

    impl TryFrom<f64> for Decimal

    Try to convert a f64 into a Decimal.

    +
    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(t: f32) -> Result<Decimal, Error>

    Performs the conversion.
    §

    impl TryFrom<f64> for Decimal

    Try to convert a f64 into a Decimal.

    Can fail if the value is out of range for Decimal.

    -
    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(t: f64) -> Result<Decimal, Error>

    Performs the conversion.
    §

    impl UpperExp for Decimal

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Zero for Decimal

    §

    fn zero() -> Decimal

    Returns the additive identity element of Self, 0. Read more
    §

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    Source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    §

    impl Copy for Decimal

    §

    impl Eq for Decimal

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    type Error = Error

    The type returned in the event of a conversion error.
    §

    fn try_from(t: f64) -> Result<Decimal, Error>

    Performs the conversion.
    §

    impl UpperExp for Decimal

    §

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    §

    impl Zero for Decimal

    §

    fn zero() -> Decimal

    Returns the additive identity element of Self, 0. Read more
    §

    fn is_zero(&self) -> bool

    Returns true if self is equal to the additive identity.
    Source§

    fn set_zero(&mut self)

    Sets self to the additive identity element of Self, 0.
    §

    impl Copy for Decimal

    §

    impl Eq for Decimal

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    Source§

    impl<T> NumAssign for T
    where T: Num + NumAssignOps,

    Source§

    impl<T, Rhs> NumAssignOps<Rhs> for T
    where - T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,

    Source§

    impl<T> NumAssignRef for T
    where - T: NumAssign + for<'r> NumAssignOps<&'r T>,

    Source§

    impl<T, Rhs, Output> NumOps<Rhs, Output> for T
    where - T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

    Source§

    impl<T> NumRef for T
    where - T: Num + for<'r> NumOps<&'r T>,

    Source§

    impl<T, Base> RefNum<Base> for T
    where - T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,

    \ No newline at end of file + T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,
    Source§

    impl<T> NumAssignRef for T
    where + T: NumAssign + for<'r> NumAssignOps<&'r T>,

    Source§

    impl<T, Rhs, Output> NumOps<Rhs, Output> for T
    where + T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

    Source§

    impl<T> NumRef for T
    where + T: Num + for<'r> NumOps<&'r T>,

    Source§

    impl<T, Base> RefNum<Base> for T
    where + T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,

    \ No newline at end of file diff --git a/v2/rust/longport/trade/enum.BalanceType.html b/v2/rust/longport/trade/enum.BalanceType.html index 41053531a..bb907a1c7 100644 --- a/v2/rust/longport/trade/enum.BalanceType.html +++ b/v2/rust/longport/trade/enum.BalanceType.html @@ -1,4 +1,4 @@ -BalanceType in longport::trade - Rust
    longport::trade

    Enum BalanceType

    Source
    #[repr(i32)]
    pub enum BalanceType { +BalanceType in longport::trade - Rust
    longport::trade

    Enum BalanceType

    Source
    #[repr(i32)]
    pub enum BalanceType { Unknown = 0, Cash = 1, Stock = 2, @@ -8,33 +8,33 @@
    §

    Cash = 1

    Cash

    §

    Stock = 2

    Stock

    §

    Fund = 3

    Fund

    -

    Trait Implementations§

    Source§

    impl Clone for BalanceType

    Source§

    fn clone(&self) -> BalanceType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for BalanceType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for BalanceType

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl From<BalanceType> for i32

    Source§

    fn from(enum_value: BalanceType) -> Self

    Converts to this type from the input type.
    Source§

    impl From<i32> for BalanceType

    Source§

    fn from(number: i32) -> Self

    Converts to this type from the input type.
    Source§

    impl FromPrimitive for BalanceType

    Source§

    type Primitive = i32

    Source§

    fn from_primitive(number: Self::Primitive) -> Self

    Source§

    impl Hash for BalanceType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for BalanceType

    Source§

    fn eq(&self, other: &BalanceType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for BalanceType

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Copy for BalanceType

    Source§

    impl Eq for BalanceType

    Source§

    impl StructuralPartialEq for BalanceType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for BalanceType

    Source§

    fn clone(&self) -> BalanceType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for BalanceType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for BalanceType

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl From<BalanceType> for i32

    Source§

    fn from(enum_value: BalanceType) -> Self

    Converts to this type from the input type.
    Source§

    impl From<i32> for BalanceType

    Source§

    fn from(number: i32) -> Self

    Converts to this type from the input type.
    Source§

    impl FromPrimitive for BalanceType

    Source§

    type Primitive = i32

    Source§

    fn from_primitive(number: Self::Primitive) -> Self

    Source§

    impl Hash for BalanceType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for BalanceType

    Source§

    fn eq(&self, other: &BalanceType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for BalanceType

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Copy for BalanceType

    Source§

    impl Eq for BalanceType

    Source§

    impl StructuralPartialEq for BalanceType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.CashFlowDirection.html b/v2/rust/longport/trade/enum.CashFlowDirection.html index 0b539507e..163fe9d1f 100644 --- a/v2/rust/longport/trade/enum.CashFlowDirection.html +++ b/v2/rust/longport/trade/enum.CashFlowDirection.html @@ -1,4 +1,4 @@ -CashFlowDirection in longport::trade - Rust
    longport::trade

    Enum CashFlowDirection

    Source
    #[repr(i32)]
    pub enum CashFlowDirection { +CashFlowDirection in longport::trade - Rust
    longport::trade

    Enum CashFlowDirection

    Source
    #[repr(i32)]
    pub enum CashFlowDirection { Unknown = 0, Out = 1, In = 2, @@ -6,34 +6,34 @@

    Variants§

    §

    Unknown = 0

    Unknown

    §

    Out = 1

    Out

    §

    In = 2

    In

    -

    Trait Implementations§

    Source§

    impl Clone for CashFlowDirection

    Source§

    fn clone(&self) -> CashFlowDirection

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CashFlowDirection

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for CashFlowDirection

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl From<i32> for CashFlowDirection

    Source§

    fn from(number: i32) -> Self

    Converts to this type from the input type.
    Source§

    impl FromPrimitive for CashFlowDirection

    Source§

    type Primitive = i32

    Source§

    fn from_primitive(number: Self::Primitive) -> Self

    Source§

    impl Hash for CashFlowDirection

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for CashFlowDirection

    Source§

    fn eq(&self, other: &CashFlowDirection) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for CashFlowDirection

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Copy for CashFlowDirection

    Source§

    impl Eq for CashFlowDirection

    Source§

    impl StructuralPartialEq for CashFlowDirection

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for CashFlowDirection

    Source§

    fn clone(&self) -> CashFlowDirection

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CashFlowDirection

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for CashFlowDirection

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl From<i32> for CashFlowDirection

    Source§

    fn from(number: i32) -> Self

    Converts to this type from the input type.
    Source§

    impl FromPrimitive for CashFlowDirection

    Source§

    type Primitive = i32

    Source§

    fn from_primitive(number: Self::Primitive) -> Self

    Source§

    impl Hash for CashFlowDirection

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for CashFlowDirection

    Source§

    fn eq(&self, other: &CashFlowDirection) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for CashFlowDirection

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl Copy for CashFlowDirection

    Source§

    impl Eq for CashFlowDirection

    Source§

    impl StructuralPartialEq for CashFlowDirection

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.ChargeCategoryCode.html b/v2/rust/longport/trade/enum.ChargeCategoryCode.html index 0187e8b25..b0cb8853a 100644 --- a/v2/rust/longport/trade/enum.ChargeCategoryCode.html +++ b/v2/rust/longport/trade/enum.ChargeCategoryCode.html @@ -1,4 +1,4 @@ -ChargeCategoryCode in longport::trade - Rust
    longport::trade

    Enum ChargeCategoryCode

    Source
    pub enum ChargeCategoryCode {
    +ChargeCategoryCode in longport::trade - Rust
    longport::trade

    Enum ChargeCategoryCode

    Source
    pub enum ChargeCategoryCode {
         Unknown,
         Broker,
         Third,
    @@ -6,36 +6,36 @@
     

    Variants§

    §

    Unknown

    Unknown

    §

    Broker

    Broker

    §

    Third

    Third

    -

    Trait Implementations§

    Source§

    impl Clone for ChargeCategoryCode

    Source§

    fn clone(&self) -> ChargeCategoryCode

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ChargeCategoryCode

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for ChargeCategoryCode

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for ChargeCategoryCode

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for ChargeCategoryCode

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for ChargeCategoryCode

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<ChargeCategoryCode, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for ChargeCategoryCode

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ChargeCategoryCode

    Source§

    fn eq(&self, other: &ChargeCategoryCode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for ChargeCategoryCode

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for ChargeCategoryCode

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from( - s: &str, -) -> Result<ChargeCategoryCode, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for ChargeCategoryCode

    Source§

    impl Eq for ChargeCategoryCode

    Source§

    impl StructuralPartialEq for ChargeCategoryCode

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for ChargeCategoryCode

    Source§

    fn clone(&self) -> ChargeCategoryCode

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ChargeCategoryCode

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for ChargeCategoryCode

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for ChargeCategoryCode

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for ChargeCategoryCode

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for ChargeCategoryCode

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<ChargeCategoryCode, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for ChargeCategoryCode

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for ChargeCategoryCode

    Source§

    fn eq(&self, other: &ChargeCategoryCode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for ChargeCategoryCode

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for ChargeCategoryCode

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from( + s: &str, +) -> Result<ChargeCategoryCode, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for ChargeCategoryCode

    Source§

    impl Eq for ChargeCategoryCode

    Source§

    impl StructuralPartialEq for ChargeCategoryCode

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.CommissionFreeStatus.html b/v2/rust/longport/trade/enum.CommissionFreeStatus.html index d7ae497f2..235e4c00d 100644 --- a/v2/rust/longport/trade/enum.CommissionFreeStatus.html +++ b/v2/rust/longport/trade/enum.CommissionFreeStatus.html @@ -1,4 +1,4 @@ -CommissionFreeStatus in longport::trade - Rust
    longport::trade

    Enum CommissionFreeStatus

    Source
    pub enum CommissionFreeStatus {
    +CommissionFreeStatus in longport::trade - Rust
    longport::trade

    Enum CommissionFreeStatus

    Source
    pub enum CommissionFreeStatus {
         Unknown,
         None,
         Calculated,
    @@ -10,36 +10,36 @@
     
    §

    Calculated

    Commission-free amount to be calculated

    §

    Pending

    Pending commission-free

    §

    Ready

    Commission-free applied

    -

    Trait Implementations§

    Source§

    impl Clone for CommissionFreeStatus

    Source§

    fn clone(&self) -> CommissionFreeStatus

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CommissionFreeStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for CommissionFreeStatus

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for CommissionFreeStatus

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for CommissionFreeStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for CommissionFreeStatus

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<CommissionFreeStatus, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for CommissionFreeStatus

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for CommissionFreeStatus

    Source§

    fn eq(&self, other: &CommissionFreeStatus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for CommissionFreeStatus

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for CommissionFreeStatus

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from( - s: &str, -) -> Result<CommissionFreeStatus, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for CommissionFreeStatus

    Source§

    impl Eq for CommissionFreeStatus

    Source§

    impl StructuralPartialEq for CommissionFreeStatus

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for CommissionFreeStatus

    Source§

    fn clone(&self) -> CommissionFreeStatus

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CommissionFreeStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for CommissionFreeStatus

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for CommissionFreeStatus

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for CommissionFreeStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for CommissionFreeStatus

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<CommissionFreeStatus, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for CommissionFreeStatus

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for CommissionFreeStatus

    Source§

    fn eq(&self, other: &CommissionFreeStatus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for CommissionFreeStatus

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for CommissionFreeStatus

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from( + s: &str, +) -> Result<CommissionFreeStatus, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for CommissionFreeStatus

    Source§

    impl Eq for CommissionFreeStatus

    Source§

    impl StructuralPartialEq for CommissionFreeStatus

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.DeductionStatus.html b/v2/rust/longport/trade/enum.DeductionStatus.html index 00d8e024a..7cc1761b6 100644 --- a/v2/rust/longport/trade/enum.DeductionStatus.html +++ b/v2/rust/longport/trade/enum.DeductionStatus.html @@ -1,4 +1,4 @@ -DeductionStatus in longport::trade - Rust
    longport::trade

    Enum DeductionStatus

    Source
    pub enum DeductionStatus {
    +DeductionStatus in longport::trade - Rust
    longport::trade

    Enum DeductionStatus

    Source
    pub enum DeductionStatus {
         Unknown,
         None,
         NoData,
    @@ -10,34 +10,34 @@
     
    §

    NoData

    Settled with no data

    §

    Pending

    Settled and pending distribution

    §

    Done

    Settled and distributed

    -

    Trait Implementations§

    Source§

    impl Clone for DeductionStatus

    Source§

    fn clone(&self) -> DeductionStatus

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DeductionStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for DeductionStatus

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for DeductionStatus

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for DeductionStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for DeductionStatus

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<DeductionStatus, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for DeductionStatus

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for DeductionStatus

    Source§

    fn eq(&self, other: &DeductionStatus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for DeductionStatus

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for DeductionStatus

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<DeductionStatus, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for DeductionStatus

    Source§

    impl Eq for DeductionStatus

    Source§

    impl StructuralPartialEq for DeductionStatus

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for DeductionStatus

    Source§

    fn clone(&self) -> DeductionStatus

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for DeductionStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for DeductionStatus

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for DeductionStatus

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for DeductionStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for DeductionStatus

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<DeductionStatus, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for DeductionStatus

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for DeductionStatus

    Source§

    fn eq(&self, other: &DeductionStatus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for DeductionStatus

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for DeductionStatus

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<DeductionStatus, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for DeductionStatus

    Source§

    impl Eq for DeductionStatus

    Source§

    impl StructuralPartialEq for DeductionStatus

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.OrderSide.html b/v2/rust/longport/trade/enum.OrderSide.html index 4123c46e3..c433aa5a4 100644 --- a/v2/rust/longport/trade/enum.OrderSide.html +++ b/v2/rust/longport/trade/enum.OrderSide.html @@ -1,4 +1,4 @@ -OrderSide in longport::trade - Rust
    longport::trade

    Enum OrderSide

    Source
    pub enum OrderSide {
    +OrderSide in longport::trade - Rust
    longport::trade

    Enum OrderSide

    Source
    pub enum OrderSide {
         Unknown,
         Buy,
         Sell,
    @@ -6,34 +6,34 @@
     

    Variants§

    §

    Unknown

    Unknown

    §

    Buy

    Buy

    §

    Sell

    Sell

    -

    Trait Implementations§

    Source§

    impl Clone for OrderSide

    Source§

    fn clone(&self) -> OrderSide

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderSide

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OrderSide

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderSide

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OrderSide

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for OrderSide

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<OrderSide, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for OrderSide

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for OrderSide

    Source§

    fn eq(&self, other: &OrderSide) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for OrderSide

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for OrderSide

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<OrderSide, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for OrderSide

    Source§

    impl Eq for OrderSide

    Source§

    impl StructuralPartialEq for OrderSide

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for OrderSide

    Source§

    fn clone(&self) -> OrderSide

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderSide

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OrderSide

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderSide

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OrderSide

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for OrderSide

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<OrderSide, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for OrderSide

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for OrderSide

    Source§

    fn eq(&self, other: &OrderSide) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for OrderSide

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for OrderSide

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<OrderSide, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for OrderSide

    Source§

    impl Eq for OrderSide

    Source§

    impl StructuralPartialEq for OrderSide

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.OrderStatus.html b/v2/rust/longport/trade/enum.OrderStatus.html index 141822ffb..90c55dd0c 100644 --- a/v2/rust/longport/trade/enum.OrderStatus.html +++ b/v2/rust/longport/trade/enum.OrderStatus.html @@ -1,4 +1,4 @@ -OrderStatus in longport::trade - Rust
    longport::trade

    Enum OrderStatus

    Source
    pub enum OrderStatus {
    +OrderStatus in longport::trade - Rust
    longport::trade

    Enum OrderStatus

    Source
    pub enum OrderStatus {
     
    Show 18 variants Unknown, NotReported, ReplacedNotReported, @@ -36,34 +36,34 @@
    §

    Canceled

    Canceled

    §

    Expired

    Expired

    §

    PartialWithdrawal

    Partial Withdrawal

    -

    Trait Implementations§

    Source§

    impl Clone for OrderStatus

    Source§

    fn clone(&self) -> OrderStatus

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OrderStatus

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderStatus

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OrderStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for OrderStatus

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<OrderStatus, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for OrderStatus

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for OrderStatus

    Source§

    fn eq(&self, other: &OrderStatus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for OrderStatus

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for OrderStatus

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<OrderStatus, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for OrderStatus

    Source§

    impl Eq for OrderStatus

    Source§

    impl StructuralPartialEq for OrderStatus

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for OrderStatus

    Source§

    fn clone(&self) -> OrderStatus

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OrderStatus

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderStatus

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OrderStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for OrderStatus

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<OrderStatus, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for OrderStatus

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for OrderStatus

    Source§

    fn eq(&self, other: &OrderStatus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for OrderStatus

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for OrderStatus

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<OrderStatus, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for OrderStatus

    Source§

    impl Eq for OrderStatus

    Source§

    impl StructuralPartialEq for OrderStatus

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.OrderTag.html b/v2/rust/longport/trade/enum.OrderTag.html index d4f4e1cf3..548642a60 100644 --- a/v2/rust/longport/trade/enum.OrderTag.html +++ b/v2/rust/longport/trade/enum.OrderTag.html @@ -1,4 +1,4 @@ -OrderTag in longport::trade - Rust
    longport::trade

    Enum OrderTag

    Source
    pub enum OrderTag {
    +OrderTag in longport::trade - Rust
    longport::trade

    Enum OrderTag

    Source
    pub enum OrderTag {
         Unknown,
         Normal,
         LongTerm,
    @@ -20,34 +20,34 @@
     
    §

    Debtor

    Option Exercise Short

    §

    NonExercise

    Wavier Of Option Exercise

    §

    AllocatedSub

    Trade Allocation

    -

    Trait Implementations§

    Source§

    impl Clone for OrderTag

    Source§

    fn clone(&self) -> OrderTag

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderTag

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OrderTag

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderTag

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OrderTag

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for OrderTag

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<OrderTag, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for OrderTag

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for OrderTag

    Source§

    fn eq(&self, other: &OrderTag) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for OrderTag

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for OrderTag

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<OrderTag, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for OrderTag

    Source§

    impl Eq for OrderTag

    Source§

    impl StructuralPartialEq for OrderTag

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for OrderTag

    Source§

    fn clone(&self) -> OrderTag

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderTag

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OrderTag

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderTag

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OrderTag

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for OrderTag

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<OrderTag, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for OrderTag

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for OrderTag

    Source§

    fn eq(&self, other: &OrderTag) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for OrderTag

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for OrderTag

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<OrderTag, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for OrderTag

    Source§

    impl Eq for OrderTag

    Source§

    impl StructuralPartialEq for OrderTag

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.OrderType.html b/v2/rust/longport/trade/enum.OrderType.html index 33e194dfa..6393ae685 100644 --- a/v2/rust/longport/trade/enum.OrderType.html +++ b/v2/rust/longport/trade/enum.OrderType.html @@ -1,4 +1,4 @@ -OrderType in longport::trade - Rust
    longport::trade

    Enum OrderType

    Source
    pub enum OrderType {
    +OrderType in longport::trade - Rust
    longport::trade

    Enum OrderType

    Source
    pub enum OrderType {
     
    Show 14 variants Unknown, LO, ELO, @@ -28,34 +28,34 @@
    §

    TSMAMT

    Trailing Market If Touched (Trailing Amount)

    §

    TSMPCT

    Trailing Market If Touched (Trailing Percent)

    §

    SLO

    Special Limit Order

    -

    Trait Implementations§

    Source§

    impl Clone for OrderType

    Source§

    fn clone(&self) -> OrderType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OrderType

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderType

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OrderType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for OrderType

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<OrderType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for OrderType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for OrderType

    Source§

    fn eq(&self, other: &OrderType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for OrderType

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for OrderType

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<OrderType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for OrderType

    Source§

    impl Eq for OrderType

    Source§

    impl StructuralPartialEq for OrderType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for OrderType

    Source§

    fn clone(&self) -> OrderType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OrderType

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderType

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OrderType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for OrderType

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<OrderType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for OrderType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for OrderType

    Source§

    fn eq(&self, other: &OrderType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for OrderType

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for OrderType

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<OrderType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for OrderType

    Source§

    impl Eq for OrderType

    Source§

    impl StructuralPartialEq for OrderType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.OutsideRTH.html b/v2/rust/longport/trade/enum.OutsideRTH.html index d6393cc33..525a5808f 100644 --- a/v2/rust/longport/trade/enum.OutsideRTH.html +++ b/v2/rust/longport/trade/enum.OutsideRTH.html @@ -1,4 +1,4 @@ -OutsideRTH in longport::trade - Rust
    longport::trade

    Enum OutsideRTH

    Source
    pub enum OutsideRTH {
    +OutsideRTH in longport::trade - Rust
    longport::trade

    Enum OutsideRTH

    Source
    pub enum OutsideRTH {
         Unknown,
         RTHOnly,
         AnyTime,
    @@ -8,34 +8,34 @@
     
    §

    RTHOnly

    Regular trading hour only

    §

    AnyTime

    Any time

    §

    Overnight

    Overnight

    -

    Trait Implementations§

    Source§

    impl Clone for OutsideRTH

    Source§

    fn clone(&self) -> OutsideRTH

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OutsideRTH

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OutsideRTH

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OutsideRTH

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OutsideRTH

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for OutsideRTH

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<OutsideRTH, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for OutsideRTH

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for OutsideRTH

    Source§

    fn eq(&self, other: &OutsideRTH) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for OutsideRTH

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for OutsideRTH

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<OutsideRTH, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for OutsideRTH

    Source§

    impl Eq for OutsideRTH

    Source§

    impl StructuralPartialEq for OutsideRTH

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for OutsideRTH

    Source§

    fn clone(&self) -> OutsideRTH

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OutsideRTH

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for OutsideRTH

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for OutsideRTH

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for OutsideRTH

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for OutsideRTH

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<OutsideRTH, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for OutsideRTH

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for OutsideRTH

    Source§

    fn eq(&self, other: &OutsideRTH) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for OutsideRTH

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for OutsideRTH

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<OutsideRTH, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for OutsideRTH

    Source§

    impl Eq for OutsideRTH

    Source§

    impl StructuralPartialEq for OutsideRTH

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.PushEvent.html b/v2/rust/longport/trade/enum.PushEvent.html index c5ee29638..ca0b42f80 100644 --- a/v2/rust/longport/trade/enum.PushEvent.html +++ b/v2/rust/longport/trade/enum.PushEvent.html @@ -1,30 +1,30 @@ -PushEvent in longport::trade - Rust
    longport::trade

    Enum PushEvent

    Source
    pub enum PushEvent {
    +PushEvent in longport::trade - Rust
    longport::trade

    Enum PushEvent

    Source
    pub enum PushEvent {
         OrderChanged(PushOrderChanged),
     }
    Expand description

    Push event

    Variants§

    §

    OrderChanged(PushOrderChanged)

    Order changed

    -

    Trait Implementations§

    Source§

    impl Debug for PushEvent

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for PushEvent

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Debug for PushEvent

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for PushEvent

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.TimeInForceType.html b/v2/rust/longport/trade/enum.TimeInForceType.html index d5d6c5403..e393ae8e9 100644 --- a/v2/rust/longport/trade/enum.TimeInForceType.html +++ b/v2/rust/longport/trade/enum.TimeInForceType.html @@ -1,4 +1,4 @@ -TimeInForceType in longport::trade - Rust
    longport::trade

    Enum TimeInForceType

    Source
    pub enum TimeInForceType {
    +TimeInForceType in longport::trade - Rust
    longport::trade

    Enum TimeInForceType

    Source
    pub enum TimeInForceType {
         Unknown,
         Day,
         GoodTilCanceled,
    @@ -8,34 +8,34 @@
     
    §

    Day

    Day Order

    §

    GoodTilCanceled

    Good Til Canceled Order

    §

    GoodTilDate

    Good Til Date Order

    -

    Trait Implementations§

    Source§

    impl Clone for TimeInForceType

    Source§

    fn clone(&self) -> TimeInForceType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TimeInForceType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for TimeInForceType

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for TimeInForceType

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for TimeInForceType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for TimeInForceType

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<TimeInForceType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for TimeInForceType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for TimeInForceType

    Source§

    fn eq(&self, other: &TimeInForceType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for TimeInForceType

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for TimeInForceType

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<TimeInForceType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for TimeInForceType

    Source§

    impl Eq for TimeInForceType

    Source§

    impl StructuralPartialEq for TimeInForceType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for TimeInForceType

    Source§

    fn clone(&self) -> TimeInForceType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TimeInForceType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for TimeInForceType

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for TimeInForceType

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for TimeInForceType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for TimeInForceType

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<TimeInForceType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for TimeInForceType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for TimeInForceType

    Source§

    fn eq(&self, other: &TimeInForceType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for TimeInForceType

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for TimeInForceType

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<TimeInForceType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for TimeInForceType

    Source§

    impl Eq for TimeInForceType

    Source§

    impl StructuralPartialEq for TimeInForceType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.TopicType.html b/v2/rust/longport/trade/enum.TopicType.html index ef25c776d..173405553 100644 --- a/v2/rust/longport/trade/enum.TopicType.html +++ b/v2/rust/longport/trade/enum.TopicType.html @@ -1,35 +1,35 @@ -TopicType in longport::trade - Rust
    longport::trade

    Enum TopicType

    Source
    pub enum TopicType {
    +TopicType in longport::trade - Rust
    longport::trade

    Enum TopicType

    Source
    pub enum TopicType {
         Private,
     }
    Expand description

    Topic type

    Variants§

    §

    Private

    Private notification for trade

    -

    Trait Implementations§

    Source§

    impl Clone for TopicType

    Source§

    fn clone(&self) -> TopicType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TopicType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for TopicType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for TopicType

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<TopicType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for TopicType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for TopicType

    Source§

    fn eq(&self, other: &TopicType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl TryFrom<&str> for TopicType

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<TopicType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for TopicType

    Source§

    impl Eq for TopicType

    Source§

    impl StructuralPartialEq for TopicType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for TopicType

    Source§

    fn clone(&self) -> TopicType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TopicType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Display for TopicType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for TopicType

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<TopicType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for TopicType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for TopicType

    Source§

    fn eq(&self, other: &TopicType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl TryFrom<&str> for TopicType

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<TopicType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for TopicType

    Source§

    impl Eq for TopicType

    Source§

    impl StructuralPartialEq for TopicType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/enum.TriggerPriceType.html b/v2/rust/longport/trade/enum.TriggerPriceType.html index d26be37ea..e0c577613 100644 --- a/v2/rust/longport/trade/enum.TriggerPriceType.html +++ b/v2/rust/longport/trade/enum.TriggerPriceType.html @@ -1,4 +1,4 @@ -TriggerPriceType in longport::trade - Rust
    longport::trade

    Enum TriggerPriceType

    Source
    pub enum TriggerPriceType {
    +TriggerPriceType in longport::trade - Rust
    longport::trade

    Enum TriggerPriceType

    Source
    pub enum TriggerPriceType {
         Unknown,
         LimitIfTouched,
         MarketIfTouched,
    @@ -6,34 +6,34 @@
     

    Variants§

    §

    Unknown

    Unknown

    §

    LimitIfTouched

    Limit If Touched

    §

    MarketIfTouched

    Market If Touched

    -

    Trait Implementations§

    Source§

    impl Clone for TriggerPriceType

    Source§

    fn clone(&self) -> TriggerPriceType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TriggerPriceType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for TriggerPriceType

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for TriggerPriceType

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for TriggerPriceType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for TriggerPriceType

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<TriggerPriceType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for TriggerPriceType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for TriggerPriceType

    Source§

    fn eq(&self, other: &TriggerPriceType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for TriggerPriceType

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for TriggerPriceType

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<TriggerPriceType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for TriggerPriceType

    Source§

    impl Eq for TriggerPriceType

    Source§

    impl StructuralPartialEq for TriggerPriceType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for TriggerPriceType

    Source§

    fn clone(&self) -> TriggerPriceType

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TriggerPriceType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for TriggerPriceType

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for TriggerPriceType

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for TriggerPriceType

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for TriggerPriceType

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<TriggerPriceType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for TriggerPriceType

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for TriggerPriceType

    Source§

    fn eq(&self, other: &TriggerPriceType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for TriggerPriceType

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for TriggerPriceType

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<TriggerPriceType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for TriggerPriceType

    Source§

    impl Eq for TriggerPriceType

    Source§

    impl StructuralPartialEq for TriggerPriceType

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/enum.TriggerStatus.html b/v2/rust/longport/trade/enum.TriggerStatus.html index 3629a5989..4b1ba4a85 100644 --- a/v2/rust/longport/trade/enum.TriggerStatus.html +++ b/v2/rust/longport/trade/enum.TriggerStatus.html @@ -1,4 +1,4 @@ -TriggerStatus in longport::trade - Rust
    longport::trade

    Enum TriggerStatus

    Source
    pub enum TriggerStatus {
    +TriggerStatus in longport::trade - Rust
    longport::trade

    Enum TriggerStatus

    Source
    pub enum TriggerStatus {
         Unknown,
         Deactive,
         Active,
    @@ -8,34 +8,34 @@
     
    §

    Deactive

    Deactive

    §

    Active

    Active

    §

    Released

    Released

    -

    Trait Implementations§

    Source§

    impl Clone for TriggerStatus

    Source§

    fn clone(&self) -> TriggerStatus

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TriggerStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for TriggerStatus

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for TriggerStatus

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for TriggerStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for TriggerStatus

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<TriggerStatus, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for TriggerStatus

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for TriggerStatus

    Source§

    fn eq(&self, other: &TriggerStatus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    Source§

    impl Serialize for TriggerStatus

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for TriggerStatus

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<TriggerStatus, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for TriggerStatus

    Source§

    impl Eq for TriggerStatus

    Source§

    impl StructuralPartialEq for TriggerStatus

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for TriggerStatus

    Source§

    fn clone(&self) -> TriggerStatus

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for TriggerStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for TriggerStatus

    Source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    Source§

    impl<'de> Deserialize<'de> for TriggerStatus

    Source§

    fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Display for TriggerStatus

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    Source§

    impl FromStr for TriggerStatus

    Source§

    type Err = ParseError

    The associated error which can be returned from parsing.
    Source§

    fn from_str(s: &str) -> Result<TriggerStatus, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    Source§

    impl Hash for TriggerStatus

    Source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    Source§

    impl PartialEq for TriggerStatus

    Source§

    fn eq(&self, other: &TriggerStatus) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    Source§

    impl Serialize for TriggerStatus

    Source§

    fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

    Serialize this value into the given Serde serializer. Read more
    Source§

    impl TryFrom<&str> for TriggerStatus

    Source§

    type Error = ParseError

    The type returned in the event of a conversion error.
    Source§

    fn try_from(s: &str) -> Result<TriggerStatus, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    Source§

    impl Copy for TriggerStatus

    Source§

    impl Eq for TriggerStatus

    Source§

    impl StructuralPartialEq for TriggerStatus

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    Source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/index.html b/v2/rust/longport/trade/index.html index 5da77dfe0..6e6e0af92 100644 --- a/v2/rust/longport/trade/index.html +++ b/v2/rust/longport/trade/index.html @@ -1,2 +1,2 @@ -longport::trade - Rust
    longport

    Module trade

    Source
    Expand description

    Trade related types

    +longport::trade - Rust
    longport

    Module trade

    Source
    Expand description

    Trade related types

    Structs§

    Enums§

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.AccountBalance.html b/v2/rust/longport/trade/struct.AccountBalance.html index 9d8d71e1e..5d665a072 100644 --- a/v2/rust/longport/trade/struct.AccountBalance.html +++ b/v2/rust/longport/trade/struct.AccountBalance.html @@ -1,11 +1,11 @@ -AccountBalance in longport::trade - Rust
    longport::trade

    Struct AccountBalance

    Source
    pub struct AccountBalance {
    +AccountBalance in longport::trade - Rust
    longport::trade

    Struct AccountBalance

    Source
    pub struct AccountBalance {
         pub total_cash: Decimal,
         pub max_finance_amount: Decimal,
         pub remaining_finance_amount: Decimal,
    -    pub risk_level: i32,
    +    pub risk_level: i32,
         pub margin_call: Decimal,
    -    pub currency: String,
    -    pub cash_infos: Vec<CashInfo>,
    +    pub currency: String,
    +    pub cash_infos: Vec<CashInfo>,
         pub net_assets: Decimal,
         pub init_margin: Decimal,
         pub maintenance_margin: Decimal,
    @@ -14,40 +14,40 @@
     

    Fields§

    §total_cash: Decimal

    Total cash

    §max_finance_amount: Decimal

    Maximum financing amount

    §remaining_finance_amount: Decimal

    Remaining financing amount

    -
    §risk_level: i32

    Risk control level

    +
    §risk_level: i32

    Risk control level

    §margin_call: Decimal

    Margin call

    -
    §currency: String

    Currency

    -
    §cash_infos: Vec<CashInfo>

    Cash details

    +
    §currency: String

    Currency

    +
    §cash_infos: Vec<CashInfo>

    Cash details

    §net_assets: Decimal

    Net assets

    §init_margin: Decimal

    Initial margin

    §maintenance_margin: Decimal

    Maintenance margin

    §buy_power: Decimal

    Buy power

    -

    Trait Implementations§

    Source§

    impl Clone for AccountBalance

    Source§

    fn clone(&self) -> AccountBalance

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for AccountBalance

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for AccountBalance

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for AccountBalance

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for AccountBalance

    Source§

    fn clone(&self) -> AccountBalance

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for AccountBalance

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for AccountBalance

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for AccountBalance

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.CashFlow.html b/v2/rust/longport/trade/struct.CashFlow.html index e917599e1..65f74456d 100644 --- a/v2/rust/longport/trade/struct.CashFlow.html +++ b/v2/rust/longport/trade/struct.CashFlow.html @@ -1,47 +1,47 @@ -CashFlow in longport::trade - Rust
    longport::trade

    Struct CashFlow

    Source
    pub struct CashFlow {
    -    pub transaction_flow_name: String,
    +CashFlow in longport::trade - Rust
    longport::trade

    Struct CashFlow

    Source
    pub struct CashFlow {
    +    pub transaction_flow_name: String,
         pub direction: CashFlowDirection,
         pub business_type: BalanceType,
         pub balance: Decimal,
    -    pub currency: String,
    +    pub currency: String,
         pub business_time: OffsetDateTime,
    -    pub symbol: Option<String>,
    -    pub description: String,
    +    pub symbol: Option<String>,
    +    pub description: String,
     }
    Expand description

    Cash flow

    -

    Fields§

    §transaction_flow_name: String

    Cash flow name

    +

    Fields§

    §transaction_flow_name: String

    Cash flow name

    §direction: CashFlowDirection

    Outflow direction

    §business_type: BalanceType

    Balance type

    §balance: Decimal

    Cash amount

    -
    §currency: String

    Cash currency

    +
    §currency: String

    Cash currency

    §business_time: OffsetDateTime

    Business time

    -
    §symbol: Option<String>

    Associated Stock code information

    -
    §description: String

    Cash flow description

    -

    Trait Implementations§

    Source§

    impl Clone for CashFlow

    Source§

    fn clone(&self) -> CashFlow

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CashFlow

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for CashFlow

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for CashFlow

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §symbol: Option<String>

    Associated Stock code information

    +
    §description: String

    Cash flow description

    +

    Trait Implementations§

    Source§

    impl Clone for CashFlow

    Source§

    fn clone(&self) -> CashFlow

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CashFlow

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for CashFlow

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for CashFlow

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.CashInfo.html b/v2/rust/longport/trade/struct.CashInfo.html index 7731181d5..5f6c960f3 100644 --- a/v2/rust/longport/trade/struct.CashInfo.html +++ b/v2/rust/longport/trade/struct.CashInfo.html @@ -1,41 +1,41 @@ -CashInfo in longport::trade - Rust
    longport::trade

    Struct CashInfo

    Source
    pub struct CashInfo {
    +CashInfo in longport::trade - Rust
    longport::trade

    Struct CashInfo

    Source
    pub struct CashInfo {
         pub withdraw_cash: Decimal,
         pub available_cash: Decimal,
         pub frozen_cash: Decimal,
         pub settling_cash: Decimal,
    -    pub currency: String,
    +    pub currency: String,
     }
    Expand description

    Cash info

    Fields§

    §withdraw_cash: Decimal

    Withdraw cash

    §available_cash: Decimal

    Available cash

    §frozen_cash: Decimal

    Frozen cash

    §settling_cash: Decimal

    Cash to be settled

    -
    §currency: String

    Currency

    -

    Trait Implementations§

    Source§

    impl Clone for CashInfo

    Source§

    fn clone(&self) -> CashInfo

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CashInfo

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for CashInfo

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for CashInfo

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §currency: String

    Currency

    +

    Trait Implementations§

    Source§

    impl Clone for CashInfo

    Source§

    fn clone(&self) -> CashInfo

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for CashInfo

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for CashInfo

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for CashInfo

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.EstimateMaxPurchaseQuantityOptions.html b/v2/rust/longport/trade/struct.EstimateMaxPurchaseQuantityOptions.html index ad781f55d..5db3a9a3c 100644 --- a/v2/rust/longport/trade/struct.EstimateMaxPurchaseQuantityOptions.html +++ b/v2/rust/longport/trade/struct.EstimateMaxPurchaseQuantityOptions.html @@ -1,38 +1,38 @@ -EstimateMaxPurchaseQuantityOptions in longport::trade - Rust
    longport::trade

    Struct EstimateMaxPurchaseQuantityOptions

    Source
    pub struct EstimateMaxPurchaseQuantityOptions { /* private fields */ }
    Expand description

    Options for estimate maximum purchase quantity

    +EstimateMaxPurchaseQuantityOptions in longport::trade - Rust
    longport::trade

    Struct EstimateMaxPurchaseQuantityOptions

    Source
    pub struct EstimateMaxPurchaseQuantityOptions { /* private fields */ }
    Expand description

    Options for estimate maximum purchase quantity

    Implementations§

    Source§

    impl EstimateMaxPurchaseQuantityOptions

    Source

    pub fn new( - symbol: impl Into<String>, + symbol: impl Into<String>, order_type: OrderType, side: OrderSide, ) -> Self

    Create a new EstimateMaxPurchaseQuantityOptions

    Source

    pub fn price(self, price: Decimal) -> Self

    Set the price

    -
    Source

    pub fn currency(self, currency: impl Into<String>) -> Self

    Set the currency

    -
    Source

    pub fn order_id(self, order_id: impl Into<String>) -> Self

    Set the order id

    +
    Source

    pub fn currency(self, currency: impl Into<String>) -> Self

    Set the currency

    +
    Source

    pub fn order_id(self, order_id: impl Into<String>) -> Self

    Set the order id

    Source

    pub fn fractional_shares(self) -> Self

    Get the maximum fractional share buying power

    -

    Trait Implementations§

    Source§

    impl Clone for EstimateMaxPurchaseQuantityOptions

    Source§

    fn clone(&self) -> EstimateMaxPurchaseQuantityOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for EstimateMaxPurchaseQuantityOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Serialize for EstimateMaxPurchaseQuantityOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for EstimateMaxPurchaseQuantityOptions

    Source§

    fn clone(&self) -> EstimateMaxPurchaseQuantityOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for EstimateMaxPurchaseQuantityOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Serialize for EstimateMaxPurchaseQuantityOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.EstimateMaxPurchaseQuantityResponse.html b/v2/rust/longport/trade/struct.EstimateMaxPurchaseQuantityResponse.html index 3a60455f3..c070acd3a 100644 --- a/v2/rust/longport/trade/struct.EstimateMaxPurchaseQuantityResponse.html +++ b/v2/rust/longport/trade/struct.EstimateMaxPurchaseQuantityResponse.html @@ -1,33 +1,33 @@ -EstimateMaxPurchaseQuantityResponse in longport::trade - Rust
    longport::trade

    Struct EstimateMaxPurchaseQuantityResponse

    Source
    pub struct EstimateMaxPurchaseQuantityResponse {
    +EstimateMaxPurchaseQuantityResponse in longport::trade - Rust
    longport::trade

    Struct EstimateMaxPurchaseQuantityResponse

    Source
    pub struct EstimateMaxPurchaseQuantityResponse {
         pub cash_max_qty: Decimal,
         pub margin_max_qty: Decimal,
     }
    Expand description

    Response for estimate maximum purchase quantity

    Fields§

    §cash_max_qty: Decimal

    Cash available quantity

    §margin_max_qty: Decimal

    Margin available quantity

    -

    Trait Implementations§

    Source§

    impl Debug for EstimateMaxPurchaseQuantityResponse

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for EstimateMaxPurchaseQuantityResponse

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for EstimateMaxPurchaseQuantityResponse

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Debug for EstimateMaxPurchaseQuantityResponse

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for EstimateMaxPurchaseQuantityResponse

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for EstimateMaxPurchaseQuantityResponse

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.Execution.html b/v2/rust/longport/trade/struct.Execution.html index 3005a2150..6037ff913 100644 --- a/v2/rust/longport/trade/struct.Execution.html +++ b/v2/rust/longport/trade/struct.Execution.html @@ -1,43 +1,43 @@ -Execution in longport::trade - Rust
    longport::trade

    Struct Execution

    Source
    pub struct Execution {
    -    pub order_id: String,
    -    pub trade_id: String,
    -    pub symbol: String,
    +Execution in longport::trade - Rust
    longport::trade

    Struct Execution

    Source
    pub struct Execution {
    +    pub order_id: String,
    +    pub trade_id: String,
    +    pub symbol: String,
         pub trade_done_at: OffsetDateTime,
         pub quantity: Decimal,
         pub price: Decimal,
     }
    Expand description

    Execution

    -

    Fields§

    §order_id: String

    Order ID

    -
    §trade_id: String

    Execution ID

    -
    §symbol: String

    Security code

    +

    Fields§

    §order_id: String

    Order ID

    +
    §trade_id: String

    Execution ID

    +
    §symbol: String

    Security code

    §trade_done_at: OffsetDateTime

    Trade done time

    §quantity: Decimal

    Executed quantity

    §price: Decimal

    Executed price

    -

    Trait Implementations§

    Source§

    impl Clone for Execution

    Source§

    fn clone(&self) -> Execution

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Execution

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for Execution

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for Execution

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for Execution

    Source§

    fn clone(&self) -> Execution

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Execution

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for Execution

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for Execution

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.FundPosition.html b/v2/rust/longport/trade/struct.FundPosition.html index 338a3462f..91e06a053 100644 --- a/v2/rust/longport/trade/struct.FundPosition.html +++ b/v2/rust/longport/trade/struct.FundPosition.html @@ -1,45 +1,45 @@ -FundPosition in longport::trade - Rust
    longport::trade

    Struct FundPosition

    Source
    pub struct FundPosition {
    -    pub symbol: String,
    +FundPosition in longport::trade - Rust
    longport::trade

    Struct FundPosition

    Source
    pub struct FundPosition {
    +    pub symbol: String,
         pub current_net_asset_value: Decimal,
         pub net_asset_value_day: OffsetDateTime,
    -    pub symbol_name: String,
    -    pub currency: String,
    +    pub symbol_name: String,
    +    pub currency: String,
         pub cost_net_asset_value: Decimal,
         pub holding_units: Decimal,
     }
    Expand description

    Fund position

    -

    Fields§

    §symbol: String

    Fund ISIN code

    +

    Fields§

    §symbol: String

    Fund ISIN code

    §current_net_asset_value: Decimal

    Current equity

    §net_asset_value_day: OffsetDateTime

    Current equity time

    -
    §symbol_name: String

    Fund name

    -
    §currency: String

    Currency

    +
    §symbol_name: String

    Fund name

    +
    §currency: String

    Currency

    §cost_net_asset_value: Decimal

    Net cost

    §holding_units: Decimal

    Holding units

    -

    Trait Implementations§

    Source§

    impl Clone for FundPosition

    Source§

    fn clone(&self) -> FundPosition

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FundPosition

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for FundPosition

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for FundPosition

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for FundPosition

    Source§

    fn clone(&self) -> FundPosition

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FundPosition

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for FundPosition

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for FundPosition

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.FundPositionChannel.html b/v2/rust/longport/trade/struct.FundPositionChannel.html index f02412096..197208959 100644 --- a/v2/rust/longport/trade/struct.FundPositionChannel.html +++ b/v2/rust/longport/trade/struct.FundPositionChannel.html @@ -1,35 +1,35 @@ -FundPositionChannel in longport::trade - Rust
    longport::trade

    Struct FundPositionChannel

    Source
    pub struct FundPositionChannel {
    -    pub account_channel: String,
    -    pub positions: Vec<FundPosition>,
    +FundPositionChannel in longport::trade - Rust
    longport::trade

    Struct FundPositionChannel

    Source
    pub struct FundPositionChannel {
    +    pub account_channel: String,
    +    pub positions: Vec<FundPosition>,
     }
    Expand description

    Fund position channel

    -

    Fields§

    §account_channel: String

    Account type

    -
    §positions: Vec<FundPosition>

    Fund positions

    -

    Trait Implementations§

    Source§

    impl Clone for FundPositionChannel

    Source§

    fn clone(&self) -> FundPositionChannel

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FundPositionChannel

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for FundPositionChannel

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for FundPositionChannel

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Fields§

    §account_channel: String

    Account type

    +
    §positions: Vec<FundPosition>

    Fund positions

    +

    Trait Implementations§

    Source§

    impl Clone for FundPositionChannel

    Source§

    fn clone(&self) -> FundPositionChannel

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FundPositionChannel

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for FundPositionChannel

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for FundPositionChannel

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.FundPositionsResponse.html b/v2/rust/longport/trade/struct.FundPositionsResponse.html index 6f4f28df8..d95fb1a7b 100644 --- a/v2/rust/longport/trade/struct.FundPositionsResponse.html +++ b/v2/rust/longport/trade/struct.FundPositionsResponse.html @@ -1,33 +1,33 @@ -FundPositionsResponse in longport::trade - Rust
    longport::trade

    Struct FundPositionsResponse

    Source
    pub struct FundPositionsResponse {
    -    pub channels: Vec<FundPositionChannel>,
    +FundPositionsResponse in longport::trade - Rust
    longport::trade

    Struct FundPositionsResponse

    Source
    pub struct FundPositionsResponse {
    +    pub channels: Vec<FundPositionChannel>,
     }
    Expand description

    Fund positions response

    -

    Fields§

    §channels: Vec<FundPositionChannel>

    Channels

    -

    Trait Implementations§

    Source§

    impl Clone for FundPositionsResponse

    Source§

    fn clone(&self) -> FundPositionsResponse

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FundPositionsResponse

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for FundPositionsResponse

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for FundPositionsResponse

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Fields§

    §channels: Vec<FundPositionChannel>

    Channels

    +

    Trait Implementations§

    Source§

    impl Clone for FundPositionsResponse

    Source§

    fn clone(&self) -> FundPositionsResponse

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for FundPositionsResponse

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for FundPositionsResponse

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for FundPositionsResponse

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.GetCashFlowOptions.html b/v2/rust/longport/trade/struct.GetCashFlowOptions.html index 1a50043c5..43e39ad3f 100644 --- a/v2/rust/longport/trade/struct.GetCashFlowOptions.html +++ b/v2/rust/longport/trade/struct.GetCashFlowOptions.html @@ -1,34 +1,34 @@ -GetCashFlowOptions in longport::trade - Rust
    longport::trade

    Struct GetCashFlowOptions

    Source
    pub struct GetCashFlowOptions { /* private fields */ }
    Expand description

    Options for cash flow request

    +GetCashFlowOptions in longport::trade - Rust
    longport::trade

    Struct GetCashFlowOptions

    Source
    pub struct GetCashFlowOptions { /* private fields */ }
    Expand description

    Options for cash flow request

    Implementations§

    Source§

    impl GetCashFlowOptions

    Source

    pub fn new(start_at: OffsetDateTime, end_at: OffsetDateTime) -> Self

    Create a new GetCashFlowOptions

    Source

    pub fn business_type(self, business_type: BalanceType) -> Self

    Set the business type

    -
    Source

    pub fn symbol(self, symbol: impl Into<String>) -> Self

    Set the security symbol

    -
    Source

    pub fn page(self, page: usize) -> Self

    Set the page number

    -
    Source

    pub fn size(self, size: usize) -> Self

    Set the page size

    -

    Trait Implementations§

    Source§

    impl Clone for GetCashFlowOptions

    Source§

    fn clone(&self) -> GetCashFlowOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GetCashFlowOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Serialize for GetCashFlowOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source

    pub fn symbol(self, symbol: impl Into<String>) -> Self

    Set the security symbol

    +
    Source

    pub fn page(self, page: usize) -> Self

    Set the page number

    +
    Source

    pub fn size(self, size: usize) -> Self

    Set the page size

    +

    Trait Implementations§

    Source§

    impl Clone for GetCashFlowOptions

    Source§

    fn clone(&self) -> GetCashFlowOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GetCashFlowOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Serialize for GetCashFlowOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.GetFundPositionsOptions.html b/v2/rust/longport/trade/struct.GetFundPositionsOptions.html index 02ace3271..66eceb0b9 100644 --- a/v2/rust/longport/trade/struct.GetFundPositionsOptions.html +++ b/v2/rust/longport/trade/struct.GetFundPositionsOptions.html @@ -1,31 +1,31 @@ -GetFundPositionsOptions in longport::trade - Rust
    longport::trade

    Struct GetFundPositionsOptions

    Source
    pub struct GetFundPositionsOptions { /* private fields */ }
    Expand description

    Options for get fund positions request

    +GetFundPositionsOptions in longport::trade - Rust
    longport::trade

    Struct GetFundPositionsOptions

    Source
    pub struct GetFundPositionsOptions { /* private fields */ }
    Expand description

    Options for get fund positions request

    Implementations§

    Source§

    impl GetFundPositionsOptions

    Source

    pub fn new() -> Self

    Create a new GetFundPositionsOptions

    Source

    pub fn symbols<I, T>(self, symbols: I) -> Self
    where - I: IntoIterator<Item = T>, - T: Into<String>,

    Set the fund symbols

    -

    Trait Implementations§

    Source§

    impl Debug for GetFundPositionsOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetFundPositionsOptions

    Source§

    fn default() -> GetFundPositionsOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetFundPositionsOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + I: IntoIterator<Item = T>, + T: Into<String>,

    Set the fund symbols

    +

    Trait Implementations§

    Source§

    impl Debug for GetFundPositionsOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetFundPositionsOptions

    Source§

    fn default() -> GetFundPositionsOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetFundPositionsOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.GetHistoryExecutionsOptions.html b/v2/rust/longport/trade/struct.GetHistoryExecutionsOptions.html index 4760a92ed..7e1f6ea9f 100644 --- a/v2/rust/longport/trade/struct.GetHistoryExecutionsOptions.html +++ b/v2/rust/longport/trade/struct.GetHistoryExecutionsOptions.html @@ -1,33 +1,33 @@ -GetHistoryExecutionsOptions in longport::trade - Rust
    longport::trade

    Struct GetHistoryExecutionsOptions

    Source
    pub struct GetHistoryExecutionsOptions { /* private fields */ }
    Expand description

    Options for get histroy executions request

    +GetHistoryExecutionsOptions in longport::trade - Rust
    longport::trade

    Struct GetHistoryExecutionsOptions

    Source
    pub struct GetHistoryExecutionsOptions { /* private fields */ }
    Expand description

    Options for get histroy executions request

    Implementations§

    Source§

    impl GetHistoryExecutionsOptions

    Source

    pub fn new() -> Self

    Create a new GetHistoryExecutionsOptions

    -
    Source

    pub fn symbol(self, symbol: impl Into<String>) -> Self

    Set the security symbol

    +
    Source

    pub fn symbol(self, symbol: impl Into<String>) -> Self

    Set the security symbol

    Source

    pub fn start_at(self, start_at: OffsetDateTime) -> Self

    Set the start time

    Source

    pub fn end_at(self, end_at: OffsetDateTime) -> Self

    Set the end time

    -

    Trait Implementations§

    Source§

    impl Clone for GetHistoryExecutionsOptions

    Source§

    fn clone(&self) -> GetHistoryExecutionsOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GetHistoryExecutionsOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetHistoryExecutionsOptions

    Source§

    fn default() -> GetHistoryExecutionsOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetHistoryExecutionsOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for GetHistoryExecutionsOptions

    Source§

    fn clone(&self) -> GetHistoryExecutionsOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GetHistoryExecutionsOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetHistoryExecutionsOptions

    Source§

    fn default() -> GetHistoryExecutionsOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetHistoryExecutionsOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.GetHistoryOrdersOptions.html b/v2/rust/longport/trade/struct.GetHistoryOrdersOptions.html index 7aec092dc..5bc55b87d 100644 --- a/v2/rust/longport/trade/struct.GetHistoryOrdersOptions.html +++ b/v2/rust/longport/trade/struct.GetHistoryOrdersOptions.html @@ -1,36 +1,36 @@ -GetHistoryOrdersOptions in longport::trade - Rust
    longport::trade

    Struct GetHistoryOrdersOptions

    Source
    pub struct GetHistoryOrdersOptions { /* private fields */ }
    Expand description

    Options for get history orders request

    +GetHistoryOrdersOptions in longport::trade - Rust
    longport::trade

    Struct GetHistoryOrdersOptions

    Source
    pub struct GetHistoryOrdersOptions { /* private fields */ }
    Expand description

    Options for get history orders request

    Implementations§

    Source§

    impl GetHistoryOrdersOptions

    Source

    pub fn new() -> Self

    Create a new GetHistoryOrdersOptions

    -
    Source

    pub fn symbol(self, symbol: impl Into<String>) -> Self

    Set the security symbol

    -
    Source

    pub fn status(self, status: impl IntoIterator<Item = OrderStatus>) -> Self

    Set the order status

    +
    Source

    pub fn symbol(self, symbol: impl Into<String>) -> Self

    Set the security symbol

    +
    Source

    pub fn status(self, status: impl IntoIterator<Item = OrderStatus>) -> Self

    Set the order status

    Source

    pub fn side(self, side: OrderSide) -> Self

    Set the order side

    Source

    pub fn market(self, market: Market) -> Self

    Set the market

    Source

    pub fn start_at(self, start_at: OffsetDateTime) -> Self

    Set the start time

    Source

    pub fn end_at(self, end_at: OffsetDateTime) -> Self

    Set the end time

    -

    Trait Implementations§

    Source§

    impl Clone for GetHistoryOrdersOptions

    Source§

    fn clone(&self) -> GetHistoryOrdersOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GetHistoryOrdersOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetHistoryOrdersOptions

    Source§

    fn default() -> GetHistoryOrdersOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetHistoryOrdersOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for GetHistoryOrdersOptions

    Source§

    fn clone(&self) -> GetHistoryOrdersOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GetHistoryOrdersOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetHistoryOrdersOptions

    Source§

    fn default() -> GetHistoryOrdersOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetHistoryOrdersOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.GetStockPositionsOptions.html b/v2/rust/longport/trade/struct.GetStockPositionsOptions.html index 5244d6254..fa20a9d72 100644 --- a/v2/rust/longport/trade/struct.GetStockPositionsOptions.html +++ b/v2/rust/longport/trade/struct.GetStockPositionsOptions.html @@ -1,31 +1,31 @@ -GetStockPositionsOptions in longport::trade - Rust
    longport::trade

    Struct GetStockPositionsOptions

    Source
    pub struct GetStockPositionsOptions { /* private fields */ }
    Expand description

    Options for get stock positions request

    +GetStockPositionsOptions in longport::trade - Rust
    longport::trade

    Struct GetStockPositionsOptions

    Source
    pub struct GetStockPositionsOptions { /* private fields */ }
    Expand description

    Options for get stock positions request

    Implementations§

    Source§

    impl GetStockPositionsOptions

    Source

    pub fn new() -> Self

    Create a new GetStockPositionsOptions

    Source

    pub fn symbols<I, T>(self, symbols: I) -> Self
    where - I: IntoIterator<Item = T>, - T: Into<String>,

    Set the stock symbols

    -

    Trait Implementations§

    Source§

    impl Debug for GetStockPositionsOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetStockPositionsOptions

    Source§

    fn default() -> GetStockPositionsOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetStockPositionsOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + I: IntoIterator<Item = T>, + T: Into<String>,

    Set the stock symbols

    +

    Trait Implementations§

    Source§

    impl Debug for GetStockPositionsOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetStockPositionsOptions

    Source§

    fn default() -> GetStockPositionsOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetStockPositionsOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.GetTodayExecutionsOptions.html b/v2/rust/longport/trade/struct.GetTodayExecutionsOptions.html index c7f767e9a..88cf97b54 100644 --- a/v2/rust/longport/trade/struct.GetTodayExecutionsOptions.html +++ b/v2/rust/longport/trade/struct.GetTodayExecutionsOptions.html @@ -1,32 +1,32 @@ -GetTodayExecutionsOptions in longport::trade - Rust
    longport::trade

    Struct GetTodayExecutionsOptions

    Source
    pub struct GetTodayExecutionsOptions { /* private fields */ }
    Expand description

    Options for get today executions request

    +GetTodayExecutionsOptions in longport::trade - Rust
    longport::trade

    Struct GetTodayExecutionsOptions

    Source
    pub struct GetTodayExecutionsOptions { /* private fields */ }
    Expand description

    Options for get today executions request

    Implementations§

    Source§

    impl GetTodayExecutionsOptions

    Source

    pub fn new() -> Self

    Create a new GetTodayExecutionsOptions

    -
    Source

    pub fn symbol(self, symbol: impl Into<String>) -> Self

    Set the security symbol

    -
    Source

    pub fn order_id(self, order_id: impl Into<String>) -> Self

    Set the order id

    -

    Trait Implementations§

    Source§

    impl Clone for GetTodayExecutionsOptions

    Source§

    fn clone(&self) -> GetTodayExecutionsOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GetTodayExecutionsOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetTodayExecutionsOptions

    Source§

    fn default() -> GetTodayExecutionsOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetTodayExecutionsOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source

    pub fn symbol(self, symbol: impl Into<String>) -> Self

    Set the security symbol

    +
    Source

    pub fn order_id(self, order_id: impl Into<String>) -> Self

    Set the order id

    +

    Trait Implementations§

    Source§

    impl Clone for GetTodayExecutionsOptions

    Source§

    fn clone(&self) -> GetTodayExecutionsOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GetTodayExecutionsOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetTodayExecutionsOptions

    Source§

    fn default() -> GetTodayExecutionsOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetTodayExecutionsOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.GetTodayOrdersOptions.html b/v2/rust/longport/trade/struct.GetTodayOrdersOptions.html index 1624464b7..76db51990 100644 --- a/v2/rust/longport/trade/struct.GetTodayOrdersOptions.html +++ b/v2/rust/longport/trade/struct.GetTodayOrdersOptions.html @@ -1,35 +1,35 @@ -GetTodayOrdersOptions in longport::trade - Rust
    longport::trade

    Struct GetTodayOrdersOptions

    Source
    pub struct GetTodayOrdersOptions { /* private fields */ }
    Expand description

    Options for get today orders request

    +GetTodayOrdersOptions in longport::trade - Rust
    longport::trade

    Struct GetTodayOrdersOptions

    Source
    pub struct GetTodayOrdersOptions { /* private fields */ }
    Expand description

    Options for get today orders request

    Implementations§

    Source§

    impl GetTodayOrdersOptions

    Source

    pub fn new() -> Self

    Create a new GetTodayOrdersOptions

    -
    Source

    pub fn symbol(self, symbol: impl Into<String>) -> Self

    Set the security symbol

    -
    Source

    pub fn status(self, status: impl IntoIterator<Item = OrderStatus>) -> Self

    Set the order status

    +
    Source

    pub fn symbol(self, symbol: impl Into<String>) -> Self

    Set the security symbol

    +
    Source

    pub fn status(self, status: impl IntoIterator<Item = OrderStatus>) -> Self

    Set the order status

    Source

    pub fn side(self, side: OrderSide) -> Self

    Set the order side

    Source

    pub fn market(self, market: Market) -> Self

    Set the market

    -
    Source

    pub fn order_id(self, order_id: String) -> Self

    Set the order id

    -

    Trait Implementations§

    Source§

    impl Clone for GetTodayOrdersOptions

    Source§

    fn clone(&self) -> GetTodayOrdersOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GetTodayOrdersOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetTodayOrdersOptions

    Source§

    fn default() -> GetTodayOrdersOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetTodayOrdersOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source

    pub fn order_id(self, order_id: String) -> Self

    Set the order id

    +

    Trait Implementations§

    Source§

    impl Clone for GetTodayOrdersOptions

    Source§

    fn clone(&self) -> GetTodayOrdersOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for GetTodayOrdersOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Default for GetTodayOrdersOptions

    Source§

    fn default() -> GetTodayOrdersOptions

    Returns the “default value” for a type. Read more
    Source§

    impl Serialize for GetTodayOrdersOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.MarginRatio.html b/v2/rust/longport/trade/struct.MarginRatio.html index db97b37e4..d2bdd3ece 100644 --- a/v2/rust/longport/trade/struct.MarginRatio.html +++ b/v2/rust/longport/trade/struct.MarginRatio.html @@ -1,4 +1,4 @@ -MarginRatio in longport::trade - Rust
    longport::trade

    Struct MarginRatio

    Source
    pub struct MarginRatio {
    +MarginRatio in longport::trade - Rust
    longport::trade

    Struct MarginRatio

    Source
    pub struct MarginRatio {
         pub im_factor: Decimal,
         pub mm_factor: Decimal,
         pub fm_factor: Decimal,
    @@ -6,32 +6,32 @@
     

    Fields§

    §im_factor: Decimal

    Initial margin ratio

    §mm_factor: Decimal

    Maintain the initial margin ratio

    §fm_factor: Decimal

    Forced close-out margin ratio

    -

    Trait Implementations§

    Source§

    impl Clone for MarginRatio

    Source§

    fn clone(&self) -> MarginRatio

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MarginRatio

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for MarginRatio

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for MarginRatio

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for MarginRatio

    Source§

    fn clone(&self) -> MarginRatio

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for MarginRatio

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for MarginRatio

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for MarginRatio

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.Order.html b/v2/rust/longport/trade/struct.Order.html index 8b07527e7..e5156e674 100644 --- a/v2/rust/longport/trade/struct.Order.html +++ b/v2/rust/longport/trade/struct.Order.html @@ -1,83 +1,83 @@ -Order in longport::trade - Rust
    longport::trade

    Struct Order

    Source
    pub struct Order {
    Show 26 fields - pub order_id: String, +Order in longport::trade - Rust
    longport::trade

    Struct Order

    Source
    pub struct Order {
    Show 26 fields + pub order_id: String, pub status: OrderStatus, - pub stock_name: String, + pub stock_name: String, pub quantity: Decimal, pub executed_quantity: Decimal, - pub price: Option<Decimal>, - pub executed_price: Option<Decimal>, + pub price: Option<Decimal>, + pub executed_price: Option<Decimal>, pub submitted_at: OffsetDateTime, pub side: OrderSide, - pub symbol: String, + pub symbol: String, pub order_type: OrderType, - pub last_done: Option<Decimal>, - pub trigger_price: Option<Decimal>, - pub msg: String, + pub last_done: Option<Decimal>, + pub trigger_price: Option<Decimal>, + pub msg: String, pub tag: OrderTag, pub time_in_force: TimeInForceType, - pub expire_date: Option<Date>, - pub updated_at: Option<OffsetDateTime>, - pub trigger_at: Option<OffsetDateTime>, - pub trailing_amount: Option<Decimal>, - pub trailing_percent: Option<Decimal>, - pub limit_offset: Option<Decimal>, - pub trigger_status: Option<TriggerStatus>, - pub currency: String, - pub outside_rth: Option<OutsideRTH>, - pub remark: String, + pub expire_date: Option<Date>, + pub updated_at: Option<OffsetDateTime>, + pub trigger_at: Option<OffsetDateTime>, + pub trailing_amount: Option<Decimal>, + pub trailing_percent: Option<Decimal>, + pub limit_offset: Option<Decimal>, + pub trigger_status: Option<TriggerStatus>, + pub currency: String, + pub outside_rth: Option<OutsideRTH>, + pub remark: String,
    }
    Expand description

    Order

    -

    Fields§

    §order_id: String

    Order ID

    +

    Fields§

    §order_id: String

    Order ID

    §status: OrderStatus

    Order status

    -
    §stock_name: String

    Stock name

    +
    §stock_name: String

    Stock name

    §quantity: Decimal

    Submitted quantity

    §executed_quantity: Decimal

    Executed quantity

    -
    §price: Option<Decimal>

    Submitted price

    -
    §executed_price: Option<Decimal>

    Executed price

    +
    §price: Option<Decimal>

    Submitted price

    +
    §executed_price: Option<Decimal>

    Executed price

    §submitted_at: OffsetDateTime

    Submitted time

    §side: OrderSide

    Order side

    -
    §symbol: String

    Security code

    +
    §symbol: String

    Security code

    §order_type: OrderType

    Order type

    -
    §last_done: Option<Decimal>

    Last done

    -
    §trigger_price: Option<Decimal>

    LIT / MIT Order Trigger Price

    -
    §msg: String

    Rejected Message or remark

    +
    §last_done: Option<Decimal>

    Last done

    +
    §trigger_price: Option<Decimal>

    LIT / MIT Order Trigger Price

    +
    §msg: String

    Rejected Message or remark

    §tag: OrderTag

    Order tag

    §time_in_force: TimeInForceType

    Time in force type

    -
    §expire_date: Option<Date>

    Long term order expire date

    -
    §updated_at: Option<OffsetDateTime>

    Last updated time

    -
    §trigger_at: Option<OffsetDateTime>

    Conditional order trigger time

    -
    §trailing_amount: Option<Decimal>

    TSMAMT / TSLPAMT order trailing amount

    -
    §trailing_percent: Option<Decimal>

    TSMPCT / TSLPPCT order trailing percent

    -
    §limit_offset: Option<Decimal>

    TSLPAMT / TSLPPCT order limit offset amount

    -
    §trigger_status: Option<TriggerStatus>

    Conditional order trigger status

    -
    §currency: String

    Currency

    -
    §outside_rth: Option<OutsideRTH>

    Enable or disable outside regular trading hours

    -
    §remark: String

    Remark

    -

    Trait Implementations§

    Source§

    impl Clone for Order

    Source§

    fn clone(&self) -> Order

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Order

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for Order

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for Order

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Order

    §

    impl RefUnwindSafe for Order

    §

    impl Send for Order

    §

    impl Sync for Order

    §

    impl Unpin for Order

    §

    impl UnwindSafe for Order

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §expire_date: Option<Date>

    Long term order expire date

    +
    §updated_at: Option<OffsetDateTime>

    Last updated time

    +
    §trigger_at: Option<OffsetDateTime>

    Conditional order trigger time

    +
    §trailing_amount: Option<Decimal>

    TSMAMT / TSLPAMT order trailing amount

    +
    §trailing_percent: Option<Decimal>

    TSMPCT / TSLPPCT order trailing percent

    +
    §limit_offset: Option<Decimal>

    TSLPAMT / TSLPPCT order limit offset amount

    +
    §trigger_status: Option<TriggerStatus>

    Conditional order trigger status

    +
    §currency: String

    Currency

    +
    §outside_rth: Option<OutsideRTH>

    Enable or disable outside regular trading hours

    +
    §remark: String

    Remark

    +

    Trait Implementations§

    Source§

    impl Clone for Order

    Source§

    fn clone(&self) -> Order

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for Order

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for Order

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for Order

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Order

    §

    impl RefUnwindSafe for Order

    §

    impl Send for Order

    §

    impl Sync for Order

    §

    impl Unpin for Order

    §

    impl UnwindSafe for Order

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.OrderChargeDetail.html b/v2/rust/longport/trade/struct.OrderChargeDetail.html index 13357d4d7..bca7cc0df 100644 --- a/v2/rust/longport/trade/struct.OrderChargeDetail.html +++ b/v2/rust/longport/trade/struct.OrderChargeDetail.html @@ -1,37 +1,37 @@ -OrderChargeDetail in longport::trade - Rust
    longport::trade

    Struct OrderChargeDetail

    Source
    pub struct OrderChargeDetail {
    +OrderChargeDetail in longport::trade - Rust
    longport::trade

    Struct OrderChargeDetail

    Source
    pub struct OrderChargeDetail {
         pub total_amount: Decimal,
    -    pub currency: String,
    -    pub items: Vec<OrderChargeItem>,
    +    pub currency: String,
    +    pub items: Vec<OrderChargeItem>,
     }
    Expand description

    Order charge detail

    Fields§

    §total_amount: Decimal

    Total charges amount

    -
    §currency: String

    Settlement currency

    -
    §items: Vec<OrderChargeItem>

    Order charge items

    -

    Trait Implementations§

    Source§

    impl Clone for OrderChargeDetail

    Source§

    fn clone(&self) -> OrderChargeDetail

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderChargeDetail

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderChargeDetail

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for OrderChargeDetail

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §currency: String

    Settlement currency

    +
    §items: Vec<OrderChargeItem>

    Order charge items

    +

    Trait Implementations§

    Source§

    impl Clone for OrderChargeDetail

    Source§

    fn clone(&self) -> OrderChargeDetail

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderChargeDetail

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderChargeDetail

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for OrderChargeDetail

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.OrderChargeFee.html b/v2/rust/longport/trade/struct.OrderChargeFee.html index 8ff5a4b2f..dfc43f3e3 100644 --- a/v2/rust/longport/trade/struct.OrderChargeFee.html +++ b/v2/rust/longport/trade/struct.OrderChargeFee.html @@ -1,39 +1,39 @@ -OrderChargeFee in longport::trade - Rust
    longport::trade

    Struct OrderChargeFee

    Source
    pub struct OrderChargeFee {
    -    pub code: String,
    -    pub name: String,
    +OrderChargeFee in longport::trade - Rust
    longport::trade

    Struct OrderChargeFee

    Source
    pub struct OrderChargeFee {
    +    pub code: String,
    +    pub name: String,
         pub amount: Decimal,
    -    pub currency: String,
    +    pub currency: String,
     }
    Expand description

    Order charge fee

    -

    Fields§

    §code: String

    Charge code

    -
    §name: String

    Charge name

    +

    Fields§

    §code: String

    Charge code

    +
    §name: String

    Charge name

    §amount: Decimal

    Charge amount

    -
    §currency: String

    Charge currency

    -

    Trait Implementations§

    Source§

    impl Clone for OrderChargeFee

    Source§

    fn clone(&self) -> OrderChargeFee

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderChargeFee

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderChargeFee

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for OrderChargeFee

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §currency: String

    Charge currency

    +

    Trait Implementations§

    Source§

    impl Clone for OrderChargeFee

    Source§

    fn clone(&self) -> OrderChargeFee

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderChargeFee

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderChargeFee

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for OrderChargeFee

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.OrderChargeItem.html b/v2/rust/longport/trade/struct.OrderChargeItem.html index 436767342..19b1d5e57 100644 --- a/v2/rust/longport/trade/struct.OrderChargeItem.html +++ b/v2/rust/longport/trade/struct.OrderChargeItem.html @@ -1,37 +1,37 @@ -OrderChargeItem in longport::trade - Rust
    longport::trade

    Struct OrderChargeItem

    Source
    pub struct OrderChargeItem {
    +OrderChargeItem in longport::trade - Rust
    longport::trade

    Struct OrderChargeItem

    Source
    pub struct OrderChargeItem {
         pub code: ChargeCategoryCode,
    -    pub name: String,
    -    pub fees: Vec<OrderChargeFee>,
    +    pub name: String,
    +    pub fees: Vec<OrderChargeFee>,
     }
    Expand description

    Order charge item

    Fields§

    §code: ChargeCategoryCode

    Charge category code

    -
    §name: String

    Charge category name

    -
    §fees: Vec<OrderChargeFee>

    Charge details

    -

    Trait Implementations§

    Source§

    impl Clone for OrderChargeItem

    Source§

    fn clone(&self) -> OrderChargeItem

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderChargeItem

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderChargeItem

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for OrderChargeItem

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §name: String

    Charge category name

    +
    §fees: Vec<OrderChargeFee>

    Charge details

    +

    Trait Implementations§

    Source§

    impl Clone for OrderChargeItem

    Source§

    fn clone(&self) -> OrderChargeItem

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderChargeItem

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderChargeItem

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for OrderChargeItem

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.OrderDetail.html b/v2/rust/longport/trade/struct.OrderDetail.html index b1400484c..10eeff86a 100644 --- a/v2/rust/longport/trade/struct.OrderDetail.html +++ b/v2/rust/longport/trade/struct.OrderDetail.html @@ -1,105 +1,105 @@ -OrderDetail in longport::trade - Rust
    longport::trade

    Struct OrderDetail

    Source
    pub struct OrderDetail {
    Show 37 fields - pub order_id: String, +OrderDetail in longport::trade - Rust
    longport::trade

    Struct OrderDetail

    Source
    pub struct OrderDetail {
    Show 37 fields + pub order_id: String, pub status: OrderStatus, - pub stock_name: String, + pub stock_name: String, pub quantity: Decimal, pub executed_quantity: Decimal, - pub price: Option<Decimal>, - pub executed_price: Option<Decimal>, + pub price: Option<Decimal>, + pub executed_price: Option<Decimal>, pub submitted_at: OffsetDateTime, pub side: OrderSide, - pub symbol: String, + pub symbol: String, pub order_type: OrderType, - pub last_done: Option<Decimal>, - pub trigger_price: Option<Decimal>, - pub msg: String, + pub last_done: Option<Decimal>, + pub trigger_price: Option<Decimal>, + pub msg: String, pub tag: OrderTag, pub time_in_force: TimeInForceType, - pub expire_date: Option<Date>, - pub updated_at: Option<OffsetDateTime>, - pub trigger_at: Option<OffsetDateTime>, - pub trailing_amount: Option<Decimal>, - pub trailing_percent: Option<Decimal>, - pub limit_offset: Option<Decimal>, - pub trigger_status: Option<TriggerStatus>, - pub currency: String, - pub outside_rth: Option<OutsideRTH>, - pub remark: String, + pub expire_date: Option<Date>, + pub updated_at: Option<OffsetDateTime>, + pub trigger_at: Option<OffsetDateTime>, + pub trailing_amount: Option<Decimal>, + pub trailing_percent: Option<Decimal>, + pub limit_offset: Option<Decimal>, + pub trigger_status: Option<TriggerStatus>, + pub currency: String, + pub outside_rth: Option<OutsideRTH>, + pub remark: String, pub free_status: CommissionFreeStatus, - pub free_amount: Option<Decimal>, - pub free_currency: Option<String>, + pub free_amount: Option<Decimal>, + pub free_currency: Option<String>, pub deductions_status: DeductionStatus, - pub deductions_amount: Option<Decimal>, - pub deductions_currency: Option<String>, + pub deductions_amount: Option<Decimal>, + pub deductions_currency: Option<String>, pub platform_deducted_status: DeductionStatus, - pub platform_deducted_amount: Option<Decimal>, - pub platform_deducted_currency: Option<String>, - pub history: Vec<OrderHistoryDetail>, + pub platform_deducted_amount: Option<Decimal>, + pub platform_deducted_currency: Option<String>, + pub history: Vec<OrderHistoryDetail>, pub charge_detail: OrderChargeDetail,
    }
    Expand description

    Order detail

    -

    Fields§

    §order_id: String

    Order ID

    +

    Fields§

    §order_id: String

    Order ID

    §status: OrderStatus

    Order status

    -
    §stock_name: String

    Stock name

    +
    §stock_name: String

    Stock name

    §quantity: Decimal

    Submitted quantity

    §executed_quantity: Decimal

    Executed quantity

    -
    §price: Option<Decimal>

    Submitted price

    -
    §executed_price: Option<Decimal>

    Executed price

    +
    §price: Option<Decimal>

    Submitted price

    +
    §executed_price: Option<Decimal>

    Executed price

    §submitted_at: OffsetDateTime

    Submitted time

    §side: OrderSide

    Order side

    -
    §symbol: String

    Security code

    +
    §symbol: String

    Security code

    §order_type: OrderType

    Order type

    -
    §last_done: Option<Decimal>

    Last done

    -
    §trigger_price: Option<Decimal>

    LIT / MIT Order Trigger Price

    -
    §msg: String

    Rejected Message or remark

    +
    §last_done: Option<Decimal>

    Last done

    +
    §trigger_price: Option<Decimal>

    LIT / MIT Order Trigger Price

    +
    §msg: String

    Rejected Message or remark

    §tag: OrderTag

    Order tag

    §time_in_force: TimeInForceType

    Time in force type

    -
    §expire_date: Option<Date>

    Long term order expire date

    -
    §updated_at: Option<OffsetDateTime>

    Last updated time

    -
    §trigger_at: Option<OffsetDateTime>

    Conditional order trigger time

    -
    §trailing_amount: Option<Decimal>

    TSMAMT / TSLPAMT order trailing amount

    -
    §trailing_percent: Option<Decimal>

    TSMPCT / TSLPPCT order trailing percent

    -
    §limit_offset: Option<Decimal>

    TSLPAMT / TSLPPCT order limit offset amount

    -
    §trigger_status: Option<TriggerStatus>

    Conditional order trigger status

    -
    §currency: String

    Currency

    -
    §outside_rth: Option<OutsideRTH>

    Enable or disable outside regular trading hours

    -
    §remark: String

    Remark

    +
    §expire_date: Option<Date>

    Long term order expire date

    +
    §updated_at: Option<OffsetDateTime>

    Last updated time

    +
    §trigger_at: Option<OffsetDateTime>

    Conditional order trigger time

    +
    §trailing_amount: Option<Decimal>

    TSMAMT / TSLPAMT order trailing amount

    +
    §trailing_percent: Option<Decimal>

    TSMPCT / TSLPPCT order trailing percent

    +
    §limit_offset: Option<Decimal>

    TSLPAMT / TSLPPCT order limit offset amount

    +
    §trigger_status: Option<TriggerStatus>

    Conditional order trigger status

    +
    §currency: String

    Currency

    +
    §outside_rth: Option<OutsideRTH>

    Enable or disable outside regular trading hours

    +
    §remark: String

    Remark

    §free_status: CommissionFreeStatus

    Commission-free Status

    -
    §free_amount: Option<Decimal>

    Commission-free amount

    -
    §free_currency: Option<String>

    Commission-free currency

    +
    §free_amount: Option<Decimal>

    Commission-free amount

    +
    §free_currency: Option<String>

    Commission-free currency

    §deductions_status: DeductionStatus

    Deduction status

    -
    §deductions_amount: Option<Decimal>

    Deduction amount

    -
    §deductions_currency: Option<String>

    Deduction currency

    +
    §deductions_amount: Option<Decimal>

    Deduction amount

    +
    §deductions_currency: Option<String>

    Deduction currency

    §platform_deducted_status: DeductionStatus

    Platform fee deduction status

    -
    §platform_deducted_amount: Option<Decimal>

    Platform deduction amount

    -
    §platform_deducted_currency: Option<String>

    Platform deduction currency

    -
    §history: Vec<OrderHistoryDetail>

    Order history details

    +
    §platform_deducted_amount: Option<Decimal>

    Platform deduction amount

    +
    §platform_deducted_currency: Option<String>

    Platform deduction currency

    +
    §history: Vec<OrderHistoryDetail>

    Order history details

    §charge_detail: OrderChargeDetail

    Order charges

    -

    Trait Implementations§

    Source§

    impl Clone for OrderDetail

    Source§

    fn clone(&self) -> OrderDetail

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderDetail

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderDetail

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for OrderDetail

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for OrderDetail

    Source§

    fn clone(&self) -> OrderDetail

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderDetail

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderDetail

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for OrderDetail

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.OrderHistoryDetail.html b/v2/rust/longport/trade/struct.OrderHistoryDetail.html index 09c48ed3d..0c43f37cf 100644 --- a/v2/rust/longport/trade/struct.OrderHistoryDetail.html +++ b/v2/rust/longport/trade/struct.OrderHistoryDetail.html @@ -1,8 +1,8 @@ -OrderHistoryDetail in longport::trade - Rust
    longport::trade

    Struct OrderHistoryDetail

    Source
    pub struct OrderHistoryDetail {
    +OrderHistoryDetail in longport::trade - Rust
    longport::trade

    Struct OrderHistoryDetail

    Source
    pub struct OrderHistoryDetail {
         pub price: Decimal,
         pub quantity: Decimal,
         pub status: OrderStatus,
    -    pub msg: String,
    +    pub msg: String,
         pub time: OffsetDateTime,
     }
    Expand description

    Order history detail

    Fields§

    §price: Decimal

    Executed price for executed orders, submitted price for expired, @@ -10,34 +10,34 @@

    §quantity: Decimal

    Executed quantity for executed orders, remaining quantity for expired, canceled, rejected orders, etc.

    §status: OrderStatus

    Order status

    -
    §msg: String

    Execution or error message

    +
    §msg: String

    Execution or error message

    §time: OffsetDateTime

    Occurrence time

    -

    Trait Implementations§

    Source§

    impl Clone for OrderHistoryDetail

    Source§

    fn clone(&self) -> OrderHistoryDetail

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderHistoryDetail

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderHistoryDetail

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for OrderHistoryDetail

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for OrderHistoryDetail

    Source§

    fn clone(&self) -> OrderHistoryDetail

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for OrderHistoryDetail

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for OrderHistoryDetail

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for OrderHistoryDetail

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.PushOrderChanged.html b/v2/rust/longport/trade/struct.PushOrderChanged.html index 1d00539ac..e639eeed1 100644 --- a/v2/rust/longport/trade/struct.PushOrderChanged.html +++ b/v2/rust/longport/trade/struct.PushOrderChanged.html @@ -1,78 +1,78 @@ -PushOrderChanged in longport::trade - Rust
    longport::trade

    Struct PushOrderChanged

    Source
    pub struct PushOrderChanged {
    Show 25 fields +PushOrderChanged in longport::trade - Rust
    longport::trade

    Struct PushOrderChanged

    Source
    pub struct PushOrderChanged {
    Show 25 fields pub side: OrderSide, - pub stock_name: String, + pub stock_name: String, pub submitted_quantity: Decimal, - pub symbol: String, + pub symbol: String, pub order_type: OrderType, pub submitted_price: Decimal, pub executed_quantity: Decimal, - pub executed_price: Option<Decimal>, - pub order_id: String, - pub currency: String, + pub executed_price: Option<Decimal>, + pub order_id: String, + pub currency: String, pub status: OrderStatus, pub submitted_at: OffsetDateTime, pub updated_at: OffsetDateTime, - pub trigger_price: Option<Decimal>, - pub msg: String, + pub trigger_price: Option<Decimal>, + pub msg: String, pub tag: OrderTag, - pub trigger_status: Option<TriggerStatus>, - pub trigger_at: Option<OffsetDateTime>, - pub trailing_amount: Option<Decimal>, - pub trailing_percent: Option<Decimal>, - pub limit_offset: Option<Decimal>, - pub account_no: String, - pub last_share: Option<Decimal>, - pub last_price: Option<Decimal>, - pub remark: String, + pub trigger_status: Option<TriggerStatus>, + pub trigger_at: Option<OffsetDateTime>, + pub trailing_amount: Option<Decimal>, + pub trailing_percent: Option<Decimal>, + pub limit_offset: Option<Decimal>, + pub account_no: String, + pub last_share: Option<Decimal>, + pub last_price: Option<Decimal>, + pub remark: String,
    }
    Expand description

    Order changed message

    Fields§

    §side: OrderSide

    Order side

    -
    §stock_name: String

    Stock name

    +
    §stock_name: String

    Stock name

    §submitted_quantity: Decimal

    Submitted quantity

    -
    §symbol: String

    Order symbol

    +
    §symbol: String

    Order symbol

    §order_type: OrderType

    Order type

    §submitted_price: Decimal

    Submitted price

    §executed_quantity: Decimal

    Executed quantity

    -
    §executed_price: Option<Decimal>

    Executed price

    -
    §order_id: String

    Order ID

    -
    §currency: String

    Currency

    +
    §executed_price: Option<Decimal>

    Executed price

    +
    §order_id: String

    Order ID

    +
    §currency: String

    Currency

    §status: OrderStatus

    Order status

    §submitted_at: OffsetDateTime

    Submitted time

    §updated_at: OffsetDateTime

    Last updated time

    -
    §trigger_price: Option<Decimal>

    Order trigger price

    -
    §msg: String

    Rejected message or remark

    +
    §trigger_price: Option<Decimal>

    Order trigger price

    +
    §msg: String

    Rejected message or remark

    §tag: OrderTag

    Order tag

    -
    §trigger_status: Option<TriggerStatus>

    Conditional order trigger status

    -
    §trigger_at: Option<OffsetDateTime>

    Conditional order trigger time

    -
    §trailing_amount: Option<Decimal>

    Trailing amount

    -
    §trailing_percent: Option<Decimal>

    Trailing percent

    -
    §limit_offset: Option<Decimal>

    Limit offset amount

    -
    §account_no: String

    Account no

    -
    §last_share: Option<Decimal>

    Last share

    -
    §last_price: Option<Decimal>

    Last price

    -
    §remark: String

    Remark message

    -

    Trait Implementations§

    Source§

    impl Debug for PushOrderChanged

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for PushOrderChanged

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §trigger_status: Option<TriggerStatus>

    Conditional order trigger status

    +
    §trigger_at: Option<OffsetDateTime>

    Conditional order trigger time

    +
    §trailing_amount: Option<Decimal>

    Trailing amount

    +
    §trailing_percent: Option<Decimal>

    Trailing percent

    +
    §limit_offset: Option<Decimal>

    Limit offset amount

    +
    §account_no: String

    Account no

    +
    §last_share: Option<Decimal>

    Last share

    +
    §last_price: Option<Decimal>

    Last price

    +
    §remark: String

    Remark message

    +

    Trait Implementations§

    Source§

    impl Debug for PushOrderChanged

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for PushOrderChanged

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.ReplaceOrderOptions.html b/v2/rust/longport/trade/struct.ReplaceOrderOptions.html index ffdf6551a..a1eefc5bf 100644 --- a/v2/rust/longport/trade/struct.ReplaceOrderOptions.html +++ b/v2/rust/longport/trade/struct.ReplaceOrderOptions.html @@ -1,36 +1,36 @@ -ReplaceOrderOptions in longport::trade - Rust
    longport::trade

    Struct ReplaceOrderOptions

    Source
    pub struct ReplaceOrderOptions { /* private fields */ }
    Expand description

    Options for replace order request

    -

    Implementations§

    Source§

    impl ReplaceOrderOptions

    Source

    pub fn new(order_id: impl Into<String>, quantity: Decimal) -> Self

    Create a new ReplaceOrderOptions

    +ReplaceOrderOptions in longport::trade - Rust
    longport::trade

    Struct ReplaceOrderOptions

    Source
    pub struct ReplaceOrderOptions { /* private fields */ }
    Expand description

    Options for replace order request

    +

    Implementations§

    Source§

    impl ReplaceOrderOptions

    Source

    pub fn new(order_id: impl Into<String>, quantity: Decimal) -> Self

    Create a new ReplaceOrderOptions

    Source

    pub fn price(self, price: Decimal) -> Self

    Set the price

    Source

    pub fn trigger_price(self, trigger_price: Decimal) -> Self

    Set the trigger price

    Source

    pub fn limit_offset(self, limit_offset: Decimal) -> Self

    Set the limit offset

    Source

    pub fn trailing_amount(self, trailing_amount: Decimal) -> Self

    Set the trailing amount

    Source

    pub fn trailing_percent(self, trailing_percent: Decimal) -> Self

    Set the trailing percent

    -
    Source

    pub fn remark(self, remark: impl Into<String>) -> Self

    Set the remark

    -

    Trait Implementations§

    Source§

    impl Clone for ReplaceOrderOptions

    Source§

    fn clone(&self) -> ReplaceOrderOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ReplaceOrderOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Serialize for ReplaceOrderOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source

    pub fn remark(self, remark: impl Into<String>) -> Self

    Set the remark

    +

    Trait Implementations§

    Source§

    impl Clone for ReplaceOrderOptions

    Source§

    fn clone(&self) -> ReplaceOrderOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for ReplaceOrderOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Serialize for ReplaceOrderOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.StockPosition.html b/v2/rust/longport/trade/struct.StockPosition.html index 976336c69..cebf6f6b2 100644 --- a/v2/rust/longport/trade/struct.StockPosition.html +++ b/v2/rust/longport/trade/struct.StockPosition.html @@ -1,48 +1,48 @@ -StockPosition in longport::trade - Rust
    longport::trade

    Struct StockPosition

    Source
    pub struct StockPosition {
    -    pub symbol: String,
    -    pub symbol_name: String,
    +StockPosition in longport::trade - Rust
    longport::trade

    Struct StockPosition

    Source
    pub struct StockPosition {
    +    pub symbol: String,
    +    pub symbol_name: String,
         pub quantity: Decimal,
         pub available_quantity: Decimal,
    -    pub currency: String,
    +    pub currency: String,
         pub cost_price: Decimal,
         pub market: Market,
    -    pub init_quantity: Option<Decimal>,
    +    pub init_quantity: Option<Decimal>,
     }
    Expand description

    Stock position

    -

    Fields§

    §symbol: String

    Stock code

    -
    §symbol_name: String

    Stock name

    +

    Fields§

    §symbol: String

    Stock code

    +
    §symbol_name: String

    Stock name

    §quantity: Decimal

    The number of holdings

    §available_quantity: Decimal

    Available quantity

    -
    §currency: String

    Currency

    +
    §currency: String

    Currency

    §cost_price: Decimal

    Cost Price(According to the client’s choice of average purchase or diluted cost)

    §market: Market

    Market

    -
    §init_quantity: Option<Decimal>

    Initial position before market opening

    -

    Trait Implementations§

    Source§

    impl Clone for StockPosition

    Source§

    fn clone(&self) -> StockPosition

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for StockPosition

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for StockPosition

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for StockPosition

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §init_quantity: Option<Decimal>

    Initial position before market opening

    +

    Trait Implementations§

    Source§

    impl Clone for StockPosition

    Source§

    fn clone(&self) -> StockPosition

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for StockPosition

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for StockPosition

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for StockPosition

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.StockPositionChannel.html b/v2/rust/longport/trade/struct.StockPositionChannel.html index 7269417d5..b8ee34e54 100644 --- a/v2/rust/longport/trade/struct.StockPositionChannel.html +++ b/v2/rust/longport/trade/struct.StockPositionChannel.html @@ -1,35 +1,35 @@ -StockPositionChannel in longport::trade - Rust
    longport::trade

    Struct StockPositionChannel

    Source
    pub struct StockPositionChannel {
    -    pub account_channel: String,
    -    pub positions: Vec<StockPosition>,
    +StockPositionChannel in longport::trade - Rust
    longport::trade

    Struct StockPositionChannel

    Source
    pub struct StockPositionChannel {
    +    pub account_channel: String,
    +    pub positions: Vec<StockPosition>,
     }
    Expand description

    Stock position channel

    -

    Fields§

    §account_channel: String

    Account type

    -
    §positions: Vec<StockPosition>

    Stock positions

    -

    Trait Implementations§

    Source§

    impl Clone for StockPositionChannel

    Source§

    fn clone(&self) -> StockPositionChannel

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for StockPositionChannel

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for StockPositionChannel

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for StockPositionChannel

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Fields§

    §account_channel: String

    Account type

    +
    §positions: Vec<StockPosition>

    Stock positions

    +

    Trait Implementations§

    Source§

    impl Clone for StockPositionChannel

    Source§

    fn clone(&self) -> StockPositionChannel

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for StockPositionChannel

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for StockPositionChannel

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for StockPositionChannel

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.StockPositionsResponse.html b/v2/rust/longport/trade/struct.StockPositionsResponse.html index 7d4762a4f..98e3d70f7 100644 --- a/v2/rust/longport/trade/struct.StockPositionsResponse.html +++ b/v2/rust/longport/trade/struct.StockPositionsResponse.html @@ -1,33 +1,33 @@ -StockPositionsResponse in longport::trade - Rust
    longport::trade

    Struct StockPositionsResponse

    Source
    pub struct StockPositionsResponse {
    -    pub channels: Vec<StockPositionChannel>,
    +StockPositionsResponse in longport::trade - Rust
    longport::trade

    Struct StockPositionsResponse

    Source
    pub struct StockPositionsResponse {
    +    pub channels: Vec<StockPositionChannel>,
     }
    Expand description

    Stock positions response

    -

    Fields§

    §channels: Vec<StockPositionChannel>

    Channels

    -

    Trait Implementations§

    Source§

    impl Clone for StockPositionsResponse

    Source§

    fn clone(&self) -> StockPositionsResponse

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for StockPositionsResponse

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for StockPositionsResponse

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for StockPositionsResponse

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Fields§

    §channels: Vec<StockPositionChannel>

    Channels

    +

    Trait Implementations§

    Source§

    impl Clone for StockPositionsResponse

    Source§

    fn clone(&self) -> StockPositionsResponse

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for StockPositionsResponse

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for StockPositionsResponse

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for StockPositionsResponse

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.SubmitOrderOptions.html b/v2/rust/longport/trade/struct.SubmitOrderOptions.html index 97793ea3b..8a52ff81b 100644 --- a/v2/rust/longport/trade/struct.SubmitOrderOptions.html +++ b/v2/rust/longport/trade/struct.SubmitOrderOptions.html @@ -1,6 +1,6 @@ -SubmitOrderOptions in longport::trade - Rust
    longport::trade

    Struct SubmitOrderOptions

    Source
    pub struct SubmitOrderOptions { /* private fields */ }
    Expand description

    Options for submit order request

    +SubmitOrderOptions in longport::trade - Rust
    longport::trade

    Struct SubmitOrderOptions

    Source
    pub struct SubmitOrderOptions { /* private fields */ }
    Expand description

    Options for submit order request

    Implementations§

    Source§

    impl SubmitOrderOptions

    Source

    pub fn new( - symbol: impl Into<String>, + symbol: impl Into<String>, order_type: OrderType, side: OrderSide, submitted_quantity: Decimal, @@ -13,32 +13,32 @@

    Source

    pub fn trailing_percent(self, trailing_percent: Decimal) -> Self

    Set the trailing percent

    Source

    pub fn expire_date(self, expire_date: Date) -> Self

    Set the expire date

    Source

    pub fn outside_rth(self, outside_rth: OutsideRTH) -> Self

    Enable or disable outside regular trading hours

    -
    Source

    pub fn remark(self, remark: impl Into<String>) -> Self

    Set the remark

    -

    Trait Implementations§

    Source§

    impl Clone for SubmitOrderOptions

    Source§

    fn clone(&self) -> SubmitOrderOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for SubmitOrderOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Serialize for SubmitOrderOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    Source

    pub fn remark(self, remark: impl Into<String>) -> Self

    Set the remark

    +

    Trait Implementations§

    Source§

    impl Clone for SubmitOrderOptions

    Source§

    fn clone(&self) -> SubmitOrderOptions

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Debug for SubmitOrderOptions

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl Serialize for SubmitOrderOptions

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/trade/struct.SubmitOrderResponse.html b/v2/rust/longport/trade/struct.SubmitOrderResponse.html index 8e6f37728..252576ec2 100644 --- a/v2/rust/longport/trade/struct.SubmitOrderResponse.html +++ b/v2/rust/longport/trade/struct.SubmitOrderResponse.html @@ -1,31 +1,31 @@ -SubmitOrderResponse in longport::trade - Rust
    longport::trade

    Struct SubmitOrderResponse

    Source
    pub struct SubmitOrderResponse {
    -    pub order_id: String,
    +SubmitOrderResponse in longport::trade - Rust
    longport::trade

    Struct SubmitOrderResponse

    Source
    pub struct SubmitOrderResponse {
    +    pub order_id: String,
     }
    Expand description

    Response for submit order request

    -

    Fields§

    §order_id: String

    Order id

    -

    Trait Implementations§

    Source§

    impl Debug for SubmitOrderResponse

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for SubmitOrderResponse

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for SubmitOrderResponse

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Fields§

    §order_id: String

    Order id

    +

    Trait Implementations§

    Source§

    impl Debug for SubmitOrderResponse

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    Source§

    impl<'de> Deserialize<'de> for SubmitOrderResponse

    Source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    Source§

    impl Serialize for SubmitOrderResponse

    Source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    Source§

    impl<T> DeserializeOwned for T
    where T: for<'de> Deserialize<'de>,

    §

    impl<T> ErasedDestructor for T
    where diff --git a/v2/rust/longport/trade/struct.TradeContext.html b/v2/rust/longport/trade/struct.TradeContext.html index e4352e078..a5901281d 100644 --- a/v2/rust/longport/trade/struct.TradeContext.html +++ b/v2/rust/longport/trade/struct.TradeContext.html @@ -1,10 +1,10 @@ -TradeContext in longport::trade - Rust
    longport::trade

    Struct TradeContext

    Source
    pub struct TradeContext { /* private fields */ }
    Expand description

    Trade context

    -

    Implementations§

    Source§

    impl TradeContext

    Source

    pub async fn try_new( - config: Arc<Config>, +TradeContext in longport::trade - Rust
    longport::trade

    Struct TradeContext

    Source
    pub struct TradeContext { /* private fields */ }
    Expand description

    Trade context

    +

    Implementations§

    Source§

    impl TradeContext

    Source

    pub async fn try_new( + config: Arc<Config>, ) -> Result<(Self, UnboundedReceiver<PushEvent>)>

    Create a TradeContext

    -
    Source

    pub fn log_subscriber(&self) -> Arc<dyn Subscriber + Send + Sync>

    Returns the log subscriber

    -
    Source

    pub async fn subscribe<I>(&self, topics: I) -> Result<()>
    where - I: IntoIterator<Item = TopicType>,

    Subscribe

    +
    Source

    pub fn log_subscriber(&self) -> Arc<dyn Subscriber + Send + Sync>

    Returns the log subscriber

    +
    Source

    pub async fn subscribe<I>(&self, topics: I) -> Result<()>
    where + I: IntoIterator<Item = TopicType>,

    Subscribe

    Reference: https://open.longportapp.com/en/docs/trade/trade-push#subscribe

    §Examples
    use std::sync::Arc;
    @@ -33,13 +33,13 @@ 
    §Examples
    println!("{:?}", event); }
    -
    Source

    pub async fn unsubscribe<I>(&self, topics: I) -> Result<()>
    where - I: IntoIterator<Item = TopicType>,

    Unsubscribe

    +
    Source

    pub async fn unsubscribe<I>(&self, topics: I) -> Result<()>
    where + I: IntoIterator<Item = TopicType>,

    Source

    pub async fn history_executions( +

    Source

    pub async fn history_executions( &self, - options: impl Into<Option<GetHistoryExecutionsOptions>>, -) -> Result<Vec<Execution>>

    Get history executions

    + options: impl Into<Option<GetHistoryExecutionsOptions>>, +) -> Result<Vec<Execution>>

    Get history executions

    Reference: https://open.longportapp.com/en/docs/trade/execution/history_executions

    §Examples
    use std::sync::Arc;
    @@ -59,10 +59,10 @@ 
    §Examples
    .end_at(datetime!(2022-05-12 0:00 UTC)); let resp = ctx.history_executions(opts).await?; println!("{:?}", resp);
    -
    Source

    pub async fn today_executions( +

    Source

    pub async fn today_executions( &self, - options: impl Into<Option<GetTodayExecutionsOptions>>, -) -> Result<Vec<Execution>>

    Get today executions

    + options: impl Into<Option<GetTodayExecutionsOptions>>, +) -> Result<Vec<Execution>>

    Get today executions

    Reference: https://open.longportapp.com/en/docs/trade/execution/today_executions

    §Examples
    use std::sync::Arc;
    @@ -78,10 +78,10 @@ 
    §Examples
    let opts = GetTodayExecutionsOptions::new().symbol("700.HK"); let resp = ctx.today_executions(opts).await?; println!("{:?}", resp);
    -
    Source

    pub async fn history_orders( +

    Source

    pub async fn history_orders( &self, - options: impl Into<Option<GetHistoryOrdersOptions>>, -) -> Result<Vec<Order>>

    Get history orders

    + options: impl Into<Option<GetHistoryOrdersOptions>>, +) -> Result<Vec<Order>>

    Get history orders

    Reference: https://open.longportapp.com/en/docs/trade/order/history_orders

    §Examples
    use std::sync::Arc;
    @@ -104,10 +104,10 @@ 
    §Examples
    .end_at(datetime!(2022-05-12 0:00 UTC)); let resp = ctx.history_orders(opts).await?; println!("{:?}", resp);
    -
    Source

    pub async fn today_orders( +

    Source

    pub async fn today_orders( &self, - options: impl Into<Option<GetTodayOrdersOptions>>, -) -> Result<Vec<Order>>

    Get today orders

    + options: impl Into<Option<GetTodayOrdersOptions>>, +) -> Result<Vec<Order>>

    Get today orders

    Reference: https://open.longportapp.com/en/docs/trade/order/today_orders

    §Examples
    use std::sync::Arc;
    @@ -127,7 +127,7 @@ 
    §Examples
    .market(Market::HK); let resp = ctx.today_orders(opts).await?; println!("{:?}", resp);
    -
    Source

    pub async fn replace_order(&self, options: ReplaceOrderOptions) -> Result<()>

    Replace order

    +
    Source

    pub async fn replace_order(&self, options: ReplaceOrderOptions) -> Result<()>

    Replace order

    Reference: https://open.longportapp.com/en/docs/trade/order/replace

    §Examples
    use std::sync::Arc;
    @@ -145,7 +145,7 @@ 
    §Examples
    ReplaceOrderOptions::new("709043056541253632", decimal!(100)).price(decimal!(300i32)); let resp = ctx.replace_order(opts).await?; println!("{:?}", resp);
    -
    Source

    pub async fn submit_order( +

    Source

    pub async fn submit_order( &self, options: SubmitOrderOptions, ) -> Result<SubmitOrderResponse>

    Submit order

    @@ -172,7 +172,7 @@
    §Examples
    .submitted_price(decimal!(50i32)); let resp = ctx.submit_order(opts).await?; println!("{:?}", resp);
    -
    Source

    pub async fn cancel_order(&self, order_id: impl Into<String>) -> Result<()>

    Cancel order

    +
    Source

    pub async fn cancel_order(&self, order_id: impl Into<String>) -> Result<()>

    Cancel order

    Reference: https://open.longportapp.com/en/docs/trade/order/withdraw

    §Examples
    use std::sync::Arc;
    @@ -183,10 +183,10 @@ 
    §Examples
    let (ctx, _) = TradeContext::try_new(config).await?; ctx.cancel_order("709043056541253632").await?;
    -
    Source

    pub async fn account_balance( +

    Source

    pub async fn account_balance( &self, - currency: Option<&str>, -) -> Result<Vec<AccountBalance>>

    Get account balance

    + currency: Option<&str>, +) -> Result<Vec<AccountBalance>>

    Get account balance

    Reference: https://open.longportapp.com/en/docs/trade/asset/account

    §Examples
    use std::sync::Arc;
    @@ -198,10 +198,10 @@ 
    §Examples
    let resp = ctx.account_balance(None).await?; println!("{:?}", resp);
    -
    Source

    pub async fn cash_flow( +

    Source

    pub async fn cash_flow( &self, options: GetCashFlowOptions, -) -> Result<Vec<CashFlow>>

    Get cash flow

    +) -> Result<Vec<CashFlow>>

    Get cash flow

    Reference: https://open.longportapp.com/en/docs/trade/asset/cashflow

    §Examples
    use std::sync::Arc;
    @@ -218,9 +218,9 @@ 
    §Examples
    let opts = GetCashFlowOptions::new(datetime!(2022-05-09 0:00 UTC), datetime!(2022-05-12 0:00 UTC)); let resp = ctx.cash_flow(opts).await?; println!("{:?}", resp);
    -
    Source

    pub async fn fund_positions( +

    Source

    pub async fn fund_positions( &self, - opts: impl Into<Option<GetFundPositionsOptions>>, + opts: impl Into<Option<GetFundPositionsOptions>>, ) -> Result<FundPositionsResponse>

    Get fund positions

    Reference: https://open.longportapp.com/en/docs/trade/asset/fund

    §Examples
    @@ -233,9 +233,9 @@
    §Exampleslet resp = ctx.fund_positions(None).await?; println!("{:?}", resp);
    -
    Source

    pub async fn stock_positions( +

    Source

    pub async fn stock_positions( &self, - opts: impl Into<Option<GetStockPositionsOptions>>, + opts: impl Into<Option<GetStockPositionsOptions>>, ) -> Result<StockPositionsResponse>

    Get stock positions

    Reference: https://open.longportapp.com/en/docs/trade/asset/stock

    §Examples
    @@ -248,9 +248,9 @@
    §Exampleslet resp = ctx.stock_positions(None).await?; println!("{:?}", resp);
    -
    Source

    pub async fn margin_ratio( +

    Source

    pub async fn margin_ratio( &self, - symbol: impl Into<String>, + symbol: impl Into<String>, ) -> Result<MarginRatio>

    Get margin ratio

    Reference: https://open.longportapp.com/en/docs/trade/asset/margin_ratio

    §Examples
    @@ -263,9 +263,9 @@
    §Exampleslet resp = ctx.margin_ratio("700.HK").await?; println!("{:?}", resp);
    -
    Source

    pub async fn order_detail( +

    Source

    pub async fn order_detail( &self, - order_id: impl Into<String>, + order_id: impl Into<String>, ) -> Result<OrderDetail>

    Get order detail

    Reference: https://open.longportapp.com/en/docs/trade/order/order_detail

    §Examples
    @@ -282,7 +282,7 @@
    §Exampleslet resp = ctx.order_detail("701276261045858304").await?; println!("{:?}", resp);
    -
    Source

    pub async fn estimate_max_purchase_quantity( +

    Source

    pub async fn estimate_max_purchase_quantity( &self, opts: EstimateMaxPurchaseQuantityOptions, ) -> Result<EstimateMaxPurchaseQuantityResponse>

    Estimating the maximum purchase quantity for Hong Kong and US stocks, @@ -308,30 +308,30 @@

    §Examplesawait?; println!("{:?}", resp);
    -

    Trait Implementations§

    Source§

    impl Clone for TradeContext

    Source§

    fn clone(&self) -> TradeContext

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +

    Trait Implementations§

    Source§

    impl Clone for TradeContext

    Source§

    fn clone(&self) -> TradeContext

    Returns a copy of the value. Read more
    1.0.0 · Source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    Source§

    impl Drop for TradeContext

    Source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    Source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    Source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    Source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    Source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    Source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    Source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    Source§

    unsafe fn clone_to_uninit(&self, dst: *mut u8)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    Source§

    impl<T> From<T> for T

    Source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    Source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    Source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +From<T> for U chooses to do.

    +
    Source§

    impl<T> IntoEither for T

    Source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    Source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where - F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> + F: FnOnce(&Self) -> bool,
    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where - T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where +otherwise. Read more

    Source§

    impl<T> Same for T

    Source§

    type Output = T

    Should always be Self
    Source§

    impl<T> ToOwned for T
    where + T: Clone,

    Source§

    type Owned = T

    The resulting type after obtaining ownership.
    Source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    Source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    Source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    Source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    Source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    Source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    Source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    Source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a + S: Into<Dispatch>,
    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    impl<T> ErasedDestructor for T
    where T: 'static,

    §

    impl<T> MaybeSendSync for T

    \ No newline at end of file diff --git a/v2/rust/longport/type.Result.html b/v2/rust/longport/type.Result.html index bf5d2bc82..5bbd5a70e 100644 --- a/v2/rust/longport/type.Result.html +++ b/v2/rust/longport/type.Result.html @@ -1,4 +1,4 @@ -Result in longport - Rust
    longport

    Type Alias Result

    Source
    pub type Result<T> = Result<T, Error>;
    Expand description

    LongPort OpenAPI SDK result type

    +Result in longport - Rust
    longport

    Type Alias Result

    Source
    pub type Result<T> = Result<T, Error>;
    Expand description

    LongPort OpenAPI SDK result type

    Aliased Type§

    enum Result<T> {
         Ok(T),
         Err(Error),
    diff --git a/v2/rust/search-index.js b/v2/rust/search-index.js
    index 58ea4677c..32a0b919c 100644
    --- a/v2/rust/search-index.js
    +++ b/v2/rust/search-index.js
    @@ -1,4 +1,4 @@
    -var searchIndex = new Map(JSON.parse('[["longport",{"t":"PFPFPPTPTPGTPPPGTTGTTTTPPTPGTEPPIPGTTTEPPPPTPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOPGPPPTPPPPPFPPPPGPPPPFPFFPFPPPPPPPTPPPPFPFPPPPPPPPPPGGPPPPPPPPPPPPPPPPPPPPFFPPPPPPPPPFFPPPPPPTPPGFGPPPPPPPFPPGPFPPPPPFFFFGFFPPTPPFFFPPFFPPPPPPPPPPPGFGFFFGFFPGPPPPFFFPPTPPPPPPPPPPFPGGGFPPPPPPPPPPPPPPPPPPPPPPPPPTPFPFGGGFFPPPNNONNNNOOOOOOOOOOOONNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNOOOOONONNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNOOOOOONOOONNNNNNNNNNNNNNOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNOOOOOONNOOOONNNNNNNNNNNNNNNNNOOOOONNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNOOOOOOOONNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNONNNNOOOOOOOOOOOOOOONOOOOOOOOOOOOOONNONOOOOOOOOOOOOOOOOOONNNNOOOOOOOONNNOOOOOOOONNNNNOOOOOOOOOOOOOOOOOONNNNNNNNNNONNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONOOOOOONNNNONNNOOOOOOOOOOONNOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOONONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNOOONOPPFPPPGPPPPPFGFGGPPPPGPPFFFPPPFFFFFFFFFFPPPPPPPPPPPFPPPPPPPPPPFPFFFFFGGGGPGPPPPPPPPPGFPPPPFPPPPPFFFFFPPPPPGGFGGPPPPPPPPPPPPPPPPPNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONOONNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNOOOOOONOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNONNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNOOONOOONNNOOOOOOOOOOONNNNNNNNNNNNNNOOOOOOOONOONOOOOONNOOOOOOOOOONNOOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNOOONNNNNOOOOOOONNOOONOONNNNNNOOOOOOOOONNOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNOOONNOOOOOOONNOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNO","n":["CN","Config","Confirmed","Decimal","DecodeJSON","DecodeProtobuf","E","EN","E_INVERSE","Err","Error","HALF_PI","HK","HttpClient","InvalidSecuritySymbol","Language","MAX","MIN","Market","NEGATIVE_ONE","ONE","ONE_HUNDRED","ONE_THOUSAND","Ok","Other","PI","ParseField","PushCandlestickMode","QUARTER_PI","QuoteContext","Realtime","Response","Result","SG","SimpleError","TEN","TWO","TWO_PI","TradeContext","US","Unknown","UnknownCommand","WsClient","ZERO","ZH_CN","ZH_HK","abs","","abs_sub","add","","","","add_assign","","","","borrow","","","","","","","borrow_mut","","","","","","","ceil","checked_add","","checked_cos","checked_div","","checked_exp","checked_exp_with_tolerance","checked_ln","checked_log10","checked_mul","","checked_norm_pdf","checked_powd","checked_powf","checked_powi","checked_powu","checked_rem","","checked_sin","checked_sub","","checked_tan","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","code","cos","create_metadata","decimal","default","","","","deserialize","","","div","","","","div_assign","","","","dont_print_quote_packages","enable_overnight","eq","","","","erf","exp","exp_with_tolerance","floor","fmt","","","","","","","","","","","","","","fract","from","","","","","","","","","","","","","","","","","","","","","","","","from_env","from_f32","from_f32_retain","from_f64","from_f64_retain","from_i128","from_i128_with_scale","from_i32","from_i64","from_parts","from_scientific","from_str","","from_str_exact","from_str_radix","","from_u128","from_u32","from_u64","hash","","http_url","httpclient","into","","","","","","","into_simple_error","inv","is_integer","is_negative","","is_positive","","is_sign_negative","is_sign_positive","is_zero","","language","ln","log10","log_path","mantissa","max","max_value","message","min","min_value","mul","","","","mul_assign","","","","neg","","new","","norm_cdf","norm_pdf","normalize","normalize_assign","one","partial_cmp","pow","","","","powd","powf","powi","powu","product","","push_candlestick_mode","quote","quote_ws_url","refresh_access_token","rem","","","","rem_assign","","","","rescale","round","round_dp","round_dp_with_strategy","round_sf","round_sf_with_strategy","saturating_add","saturating_mul","saturating_sub","scale","serialize","","","set_scale","set_sign","set_sign_negative","set_sign_positive","signum","sin","source","sqrt","sub","","","","sub_assign","","","","sum","","tan","to_f64","to_i128","to_i64","to_owned","","","","","to_string","","","","","to_u128","to_u64","trace_id","trade","trade_ws_url","trunc","trunc_with_scale","try_from","","","","","","","","","","","try_from_i128_with_scale","try_into","","","","","","","try_new","type_id","","","","","","","unpack","vzip","","","","","","","zero","error","name","symbol","code","message","trace_id","Add","AdjustType","American","Amplitude","Ascending","BROKER","BalancePoint","","Bear","Between_3_6","Between_6_12","Brokers","","Bull","CNIX","CNSector","CalcIndex","Call","","CallPrice","","Candlestick","","CapitalDistribution","CapitalDistributionResponse","CapitalFlow","CapitalFlowLine","ChangeRate","","ChangeValue","","CodeMoved","ConversionRatio","","DEPTH","Day","Delisted","Delta","","Depth","","DerivativeType","Descending","DividendRatioTtm","Down","EffectiveLeverage","","Europe","Expired","ExpiryDate","","FifteenMinute","FilterWarrantExpiryDate","FilterWarrantInOutBoundsType","FiveDayChangeRate","FiveMinute","FiveMinutesChangeRate","FortyFiveMinute","ForwardAdjust","FourHour","Fuse","GT_12","Gamma","HKEquity","HKHS","HKPreIPO","HKSector","HKWarrant","HalfYearChangeRate","Halted","ImpliedVolatility","","In","Inline","IntradayLine","IssuerInfo","ItmOtm","","LT_3","LastDone","","LeverageRatio","","LowerStrikePrice","","MarketTradingDays","MarketTradingSession","Month","Neutral","NoAdjust","Normal","","NormalTrade","OPTION","OneMinute","OpenInterest","OptionDirection","OptionQuote","OptionType","Out","OutstandingQty","OutstandingQuantity","OutstandingRatio","","Overnight","OvernightTrade","ParticipantInfo","PbRatio","PeTtmRatio","Period","PostTrade","PrePostQuote","PreTrade","Premium","","PrepareList","","PushBrokers","PushCandlestick","PushDepth","PushEvent","PushEventDetail","PushQuote","PushTrades","Put","","QUOTE","Quarter","Quote","QuoteContext","QuotePackageDetail","RealtimeQuote","Remove","Replace","RequestCreateWatchlistGroup","RequestUpdateWatchlistGroup","Rho","SGMain","SGSector","SHMainConnect","SHMainNonConnect","SHSTAR","STI","SZGEMConnect","SZGEMNonConnect","SZMainConnect","SZMainNonConnect","SecuritiesUpdateMode","Security","SecurityBoard","SecurityBrokers","SecurityCalcIndex","SecurityDepth","SecurityListCategory","SecurityQuote","SecurityStaticInfo","SixtyMinute","SortOrderType","SplitStockHalts","Status","StrikePrice","","StrikePriceInfo","SubFlags","Subscription","Suspend","SuspendTrade","TRADE","TenDayChangeRate","TenMinute","Theta","ThirtyMinute","ThreeHour","ThreeMinute","ToBeOpened","ToCallPrice","","TotalMarketValue","Trade","","TradeDirection","TradeSession","TradeStatus","TradingSessionInfo","Turnover","","TurnoverRate","TwentyMinute","TwoHour","TwoMinute","USDJI","USMain","USNSDQ","USOption","USOptionS","USPink","USSector","Unknown","","","","UnknownPeriod","Up","UpperStrikePrice","","Vega","Volume","","VolumeRatio","WARRANT","WarrantDelta","WarrantInfo","WarrantPrepareList","WarrantQuote","WarrantSortBy","WarrantStatus","WarrantType","WatchlistGroup","WatchlistSecurity","Week","Year","YtdChangeRate","all","","amplitude","as_str_name","","","","ask_brokers","","asks","","avg_price","balance_point","","begin_time","bid_brokers","","bids","","bitand","","bitand_assign","","bitor","","bitor_assign","","bits","","","","bitxor","","bitxor_assign","","board","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bps","broker_ids","","brokers","calc_indexes","call_price","","","call_symbol","candlestick","candlesticks","","capital_distribution","capital_flow","","capital_in","capital_out","category","change_rate","","change_value","","circulating_shares","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","cmp","","","","complement","","contains","","contract_multiplier","contract_size","contract_type","conversion_ratio","","","create_watchlist_group","currency","current_turnover","current_volume","default","","","","","","","","","","","","","delete_watchlist_group","delta","","depth","description","deserialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","detail","difference","","direction","","dividend_ratio_ttm","dividend_yield","effective_leverage","","empty","","end_at","end_time","eps","eps_ttm","eq","","","","","","","","","","","","","","","","","exchange","expiry_date","","","","extend","","five_day_change_rate","five_minutes_change_rate","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_bits","","from_bits_retain","","","","from_bits_truncate","","from_i32","","","","from_iter","","from_name","","from_primitive","from_str","","","","","from_str_name","","","","gamma","half_trading_days","half_year_change_rate","hash","","","","","","","","","","","","","","","","high","","","","","","","historical_volatility","history_candlesticks_by_date","history_candlesticks_by_offset","hk_shares","id","","implied_volatility","","","","inflow","insert","","intersection","","intersects","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_iter","","intraday","is_all","","is_confirmed","is_empty","","is_valid","","","","issuer_id","iter","","iter_names","","itm_otm","","key","large","last_done","","","","","","","","last_trade_date","leverage_ratio","","log_subscriber","lot_size","low","","","","","","","lower_strike_price","","","market","","medium","member_id","mode","","name","","","","","","","name_cn","","","","name_en","","","","name_hk","","","","new","","not","","open","","","","","","open_interest","","option_chain_expiry_date_list","option_chain_info_by_date","option_quote","order_num","outstanding_qty","","outstanding_quantity","outstanding_ratio","","","overnight_quote","partial_cmp","","","","participants","pb_ratio","pe_ttm_ratio","period","position","","post_market_quote","pre_market_quote","premium","","prev_close","","","","price","","","","put_symbol","quote","quote_level","quote_package_details","realtime_brokers","realtime_candlesticks","realtime_depth","realtime_quote","realtime_trades","remove","","rho","securities","","","","","security_list","serialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","set","","small","standard","start_at","static_info","status","stock_derivatives","strike_price","","","","sub","","sub_assign","","sub_types","subscribe","subscribe_candlesticks","subscriptions","symbol","","","","","","","","","","","symmetric_difference","","ten_day_change_rate","theta","timestamp","","","","","","","","","","","to_call_price","","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","toggle","","total_market_value","total_shares","trade_session","","","trade_sessions","trade_status","","","","","trade_type","trades","","trading_days","","trading_session","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_from_primitive","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_new","turnover","","","","","","","","","","turnover_rate","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","underlying_symbol","","union","","unsubscribe","unsubscribe_candlesticks","update_watchlist_group","upper_strike_price","","","vega","volume","","","","","","","","","","","","volume_ratio","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","warrant_delta","warrant_issuers","warrant_list","warrant_quote","warrant_type","watched_at","watched_price","watchlist","ytd_change_rate","ALO","AO","AccountBalance","Active","AllocatedSub","AnyTime","BalanceType","Broker","Buy","Calculated","Canceled","Cash","CashFlow","CashFlowDirection","CashInfo","ChargeCategoryCode","CommissionFreeStatus","Creditor","Day","Deactive","Debtor","DeductionStatus","Done","ELO","EstimateMaxPurchaseQuantityOptions","EstimateMaxPurchaseQuantityResponse","Execution","Expired","Filled","Fund","FundPosition","FundPositionChannel","FundPositionsResponse","GetCashFlowOptions","GetFundPositionsOptions","GetHistoryExecutionsOptions","GetHistoryOrdersOptions","GetStockPositionsOptions","GetTodayExecutionsOptions","GetTodayOrdersOptions","GoodTilCanceled","GoodTilDate","Grey","In","LIT","LO","LimitIfTouched","LongTerm","MIT","MO","MarginCall","MarginRatio","MarketIfTouched","New","NoData","NonExercise","None","","Normal","NotReported","ODD","Offline","Order","OrderChanged","OrderChargeDetail","OrderChargeFee","OrderChargeItem","OrderDetail","OrderHistoryDetail","OrderSide","OrderStatus","OrderTag","OrderType","Out","OutsideRTH","Overnight","PartialFilled","PartialWithdrawal","Pending","","PendingCancel","PendingReplace","Private","ProtectedNotReported","PushEvent","PushOrderChanged","RTHOnly","Ready","Rejected","Released","ReplaceOrderOptions","Replaced","ReplacedNotReported","SLO","Sell","Stock","StockPosition","StockPositionChannel","StockPositionsResponse","SubmitOrderOptions","SubmitOrderResponse","TSLPAMT","TSLPPCT","TSMAMT","TSMPCT","Third","TimeInForceType","TopicType","TradeContext","TriggerPriceType","TriggerStatus","Unknown","","","","","","","","","","","","","VarietiesNotReported","WaitToCancel","WaitToNew","WaitToReplace","account_balance","account_channel","","account_no","amount","available_cash","available_quantity","balance","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","business_time","business_type","","buy_power","cancel_order","cash_flow","cash_infos","cash_max_qty","channels","","charge_detail","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","code","","cost_net_asset_value","cost_price","currency","","","","","","","","","","","current_net_asset_value","deductions_amount","deductions_currency","deductions_status","default","","","","","","","","","","","","","","","","","description","deserialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","direction","end_at","","eq","","","","","","","","","","","","","","estimate_max_purchase_quantity","executed_price","","","executed_quantity","","","expire_date","","","fees","fm_factor","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fractional_shares","free_amount","free_currency","free_status","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_primitive","","from_str","","","","","","","","","","","","frozen_cash","fund_positions","hash","","","","","","","","","","","","","","history","history_executions","history_orders","holding_units","im_factor","init_margin","init_quantity","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","items","last_done","","last_price","last_share","limit_offset","","","","","log_subscriber","maintenance_margin","margin_call","margin_max_qty","margin_ratio","market","","","max_finance_amount","mm_factor","msg","","","","name","","net_asset_value_day","net_assets","new","","","","","","","","","","order_detail","order_id","","","","","","","","order_type","","","outside_rth","","","page","platform_deducted_amount","platform_deducted_currency","platform_deducted_status","positions","","price","","","","","","quantity","","","","","remaining_finance_amount","remark","","","","","replace_order","risk_level","serialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","settling_cash","side","","","","","size","start_at","","status","","","","","","stock_name","","","stock_positions","submit_order","submitted_at","","","submitted_price","","submitted_quantity","subscribe","symbol","","","","","","","","","","","","symbol_name","","symbols","","tag","","","time","time_in_force","","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","","","","","","","","","today_executions","today_orders","total_amount","total_cash","trade_done_at","trade_id","trailing_amount","","","","","trailing_percent","","","","","transaction_flow_name","trigger_at","","","trigger_price","","","","","trigger_status","","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_new","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","unsubscribe","updated_at","","","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","withdraw_cash"],"q":[[0,"longport"],[357,"longport::Error"],[360,"longport::SimpleError"],[363,"longport::quote"],[1886,"longport::trade"],[2988,"rust_decimal::decimal"],[2989,"core::option"],[2990,"longport::config"],[2991,"longport::types"],[2992,"core::cmp"],[2993,"longport::error"],[2994,"alloc::string"],[2995,"std::collections::hash::map"],[2996,"core::result"],[2997,"serde::de"],[2998,"core::fmt"],[2999,"prost::error"],[3000,"serde_json::error"],[3001,"longport_httpcli::error"],[3002,"longport_wscli::error"],[3003,"rust_decimal::error"],[3004,"core::hash"],[3005,"core::convert"],[3006,"std::path"],[3007,"core::iter::traits::iterator"],[3008,"time::offset_date_time"],[3009,"serde::ser"],[3010,"core::error"],[3011,"core::any"],[3012,"longport::quote::sub_flags"],[3013,"longport::quote::types"],[3014,"longport_proto::quote"],[3015,"longport::quote::context"],[3016,"alloc::vec"],[3017,"core::iter::traits::collect"],[3018,"longport::quote::push_types"],[3019,"longport_candlesticks::candlestick"],[3020,"time::date"],[3021,"time::primitive_date_time"],[3022,"bitflags::iter"],[3023,"tracing_core::subscriber"],[3024,"alloc::sync"],[3025,"num_enum"],[3026,"longport_proto::quote::capital_flow_intraday_response"],[3027,"longport_proto::quote::capital_distribution_response"],[3028,"longport_proto::quote::user_quote_level_detail"],[3029,"tokio::sync::mpsc::unbounded"],[3030,"longport::trade::context"],[3031,"longport::trade::types"],[3032,"longport::trade::requests::get_cash_flow"],[3033,"longport::trade::push_types"],[3034,"longport::trade::requests::estimate_max_purchase_quantity"],[3035,"longport::trade::requests::get_history_executions"],[3036,"longport::trade::requests::get_history_orders"],[3037,"longport::trade::requests::get_today_executions"],[3038,"longport::trade::requests::get_today_orders"],[3039,"longport::trade::requests::replace_order"],[3040,"longport::trade::requests::submit_order"],[3041,"longport::trade::requests::get_fund_positions"],[3042,"longport::trade::requests::get_stock_positions"]],"i":"Ah`Ad`Cb0bAb1Dn`2533`22`22220An34`3`50`6`333`664432233333333333325Af5174360517444444444444444444444444360743607436074140`43674474444444400436744444444336055117744444444444444360555551170444444444447444444470`436051754444444444044044414444444444444044444444444444440`0044444444444444444444744444454444444444444444360743517441`044444436051774436051744360517443605174AHb0AHdAHf00Ln`J`HbKdFlKf3JfKh0`N`2Ih0`Jb458`2``8`5858G`697Gf17:`4`9:Id8;<28;1``;1;1Gd237<55555<39>0Mb3`11`3`3?149```````:>Fl9=```Ln0``3==========`````````:`;Kf04```7<24;4;;;<044`?````044;;;>>>>>>>>J`>Jf=<26626676`>``````==647Gl?9<>MlGjMjJjJnKn6L`6543IjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGfGhHjMjMlMnHlN`NbFlHnI`IbIdIfFnIhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGfMfIbJlGh0JhKn=K`Hl4Hn55GlHf065151:7Hj4Fl4I`?Gl?MdI`IbIdIfFnIhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKlKnL`LbLdHhLfHfLhLjGlMhG`GbGdGfNbFlFnIfJd:MfKn<54MdL`337IdIhJ`JbJfKdKfKhKjKlHbMbG`GbGdGfMfJdJhKnGlFlFn22HjMjMlMnHlN`Nb88888HnI`IbIdIf<<<<Ld?754321KdKfKhKjKlMbG`GbGdGfHjIjIlInJdJhHd2Gh0MfLjM`65KnGlHhFlFn10108?MjMlMnHlN`Nb7HnI`IbIdIf;IhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGfFlFnGh21Hl327654Kb4343Kn=:LfHjIjIlInJdJh7Gl180;Mf765432Hd3:2LbLh;?M`00=1LjLl2Md7JlKbMh:210:21046FlFnHjIjInJdJhHd2GlGh00I`Kn355037G`GbGdGf677Hl6Ib==69Il>=<8IfJnK`0<<<<<<<InJ`JbJdJfJhJjGjJlJnHdK`KbKlKnL`LbLdHhLfHfLhLjLnGlMbMhG`GbGdGfFlFn=K`MdGhKnMfJdJh3?8787Hn555Nb14IjIn547LhGlMh?>11HjIf6Il6;:JnHdHhHfKn9Gh8HlFlHnI`IbId=FnIhIj?InJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMdG`GbGdGfIh6FlFn9MfHjIfL`Lb3IjInJdJh6GhMn1Ld22:MjMl3HlN`NbFlHnI`0IbIdIf0FnIh0Mf0IjIl0In0J`0Jb0Jd0Jf00Jh0JjGjJlJn0Hd0K`0KbKdKfKhKjKl0Kn0L`0Lb0LdHh0Lf0Hf0LhLjLlLnM`HbGlMb0MhMd0G`0Gb0Gd0Gf0JfKlGhHjMjMlMnHlN`NbFlHnI`IbIdIfFnIhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGfGhHjIjIlInJdJhJnHdKnGl0:9MjMlMnHlN`NbFlHnI`IbIdIfFnIhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGfJdJhFlFnGh003Kn==HjI`IfIjIlIn;:JnHd8Gl0:8MjMlMnHlN`NbFlHn?IbIdIfFnIhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGf7Gh00Kn??19AD`0`ADnADjAE``AEhADfAEdADbABl`````6ADl87`AEf:```332``````````118AFf;;ADh:<<:`052:62:5<:`AH``````````2`:667366AC`7``;87=`77>96`````>>>>:`````>792<5=;84:637777ABfAFjAG`AGnAElAFdAGbABnAGjAGl9:6;ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdAGjAGlABfAC`AGnAH`ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGd7ABj8;ABf041ACbAGnAEbAElAF`AFbAFdABh?<9<222AGfACdACfAGhAChACjAD`ADbADfADhADjADlADnAE`AEdAEfAEhABnAGjAGlAGnAH`?>ADd>=<;:9AEb987AEjAElAEnAF`AFbAFdABhABlAFf?AFhAFjAFlAFnAG`AGbAGdABnACdACfAC`AD`ADbADfADhADjADlADnAE`AEdAEfAEhABlAFfABfAGnAEbAFb210ACn21AEnAGdAGjAGlAC`08AH`ACbABjAGfACdACfAGhAChACjACl?AD`0ADb0ADdADf0ADh0ADj0ADl0ADn0AE`0AEbAEd0AEf0AEh0AEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdACb===AGjAGlABfAC`AGnAH`6ABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABl0AFf0ABnAFhAFjAFlAFnAG`AGbAGd98AC`AD`ADbADfADhADjADlADnAE`AEdAEfAEhAFdABf=<;:98765432ABlAFfAFb33AFlAGdABhAGbAGjAGl9AC`AGnAH`ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGd=AEb=AGn0AClACn23AFbABfABh0AGl2ACfACj;3:89AEj6AElAEnAFl7ACbABjAGfACd9AGhACh:AClACnABf83=AGjAGnADdAEbAFb310610<000AFjAG`?943AEj35403AGbABh<;865:09AGlACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGd;ACfACjAGnAEbAFbABjACd66543AEj3543ABf0654ACn771439ACh98ADd87ABnAFl?0?AGfAGh=<;8<;7AC`ACb<;ACf8ACjACl;AD`ADb;ADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdAC`AD`ADbADfADhADjADlADnAE`AEdAEfAEhABf0AF`ABhADd0AClACnAGnAEbAFb43210ABn32154321321AGjAGl;AC`06AH`ACbABjAGfACdACfAGhAChACjAClACnAD`0ADb0ADdADf0ADh0ADj0ADl0ADn0AE`0AEbAEd0AEf0AEh0AEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdAGjAGlABfAC`AGnAH`ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdABfAGjAGl2AC`AGnAH`ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdABfAGnAEb?AGjAGl4AC`4AH`ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGd;","f":"``````````````````````````````````````````````{{{d{b}}}b}0{{{d{b}}{d{b}}}b}{{bb}b}{{{d{b}}b}b}{{b{d{b}}}b}3{{{d{fb}}b}h}{{{d{fb}}{d{b}}}h}{{{d{f{d{fb}}}}b}h}{{{d{f{d{fb}}}}{d{b}}}h}{d{{d{c}}}{}}000000{{{d{f}}}{{d{fc}}}{}}000000:{{bb}{{j{b}}}}{{{d{b}}{d{b}}}{{j{b}}}}{{{d{b}}}{{j{b}}}}120{{{d{b}}b}{{j{b}}}}112310{{{d{b}}l}{{j{b}}}}{{{d{b}}n}{{j{b}}}}{{{d{b}}A`}{{j{b}}}}564654{{{d{b}}}b}{{{d{Ab}}}Ab}{{{d{Ad}}}Ad}{{{d{Af}}}Af}{{{d{Ah}}}Ah}{{d{d{fc}}}h{}}0000{{dAj}h}0000{{{d{b}}{d{b}}}Al}{{{d{An}}}{{j{n}}}}8{{{d{Af}}}{{Bb{B`B`}}}}`{{}b}{{}Ab}{{}Ad}{{}Ah}{{{Bd{Aj}}}b}{c{{Bf{b}}}Bh}{c{{Bf{Ah}}}Bh}{{bb}b}{{{d{b}}b}b}{{b{d{b}}}b}{{{d{b}}{d{b}}}b}{{{d{fb}}b}h}{{{d{fb}}{d{b}}}h}{{{d{f{d{fb}}}}b}h}{{{d{f{d{fb}}}}{d{b}}}h}{AfAf}0{{{d{b}}{d{b}}}Bj}{{{d{Ab}}{d{Ab}}}Bj}{{{d{Ad}}{d{Ad}}}Bj}{{{d{Ah}}{d{Ah}}}Bj}{{{d{b}}}b}0<0{{{d{b}}{d{fBl}}}{{Bf{hBn}}}}000{{{d{Ab}}{d{fBl}}}C`}0{{{d{Ad}}{d{fBl}}}C`}{{{d{Af}}{d{fBl}}}C`}{{{d{Cb}}{d{fBl}}}C`}0{{{d{An}}{d{fBl}}}C`}0{{{d{Ah}}{d{fBl}}}C`}{{{d{Ah}}{d{fBl}}}{{Bf{hBn}}}}8{Cdb}{Cfb}{Chb}{Cjb}{A`b}{Clb}{Cnb}{Ajb}{D`b}{Dbb}{nb}{Ddb}{cc{}}000{DfCb}1{DhCb}{DjCb}{DlCb}4{CbAn}5{{}{{Dn{Af}}}}{E`{{j{b}}}}0{l{{j{b}}}}0{Dd{{j{b}}}}{{DdCj}b}{Cd{{j{b}}}}{n{{j{b}}}}{{CjCjCjBjCj}b}{{{d{Eb}}}{{Bf{bEd}}}}{{{d{Eb}}}{{Bf{b}}}}{{{d{Eb}}}{{Bf{Ahc}}}{}}2{{{d{Eb}}Cj}{{Bf{bEd}}}}{{{d{Eb}}Cj}{{Bf{b}}}}{Cf{{j{b}}}}{Cj{{j{b}}}}{A`{{j{b}}}}{{{d{b}}{d{fc}}}hEf}{{{d{Ah}}{d{fc}}}hEf}{{Afc}Af{{Eh{B`}}}}`{{}c{}}000000{CbAn}{bb}{{{d{b}}}Bj}00000000{{AfAb}Af}{{{d{b}}}b}0{{Afc}Af{{Eh{Ej}}}}{{{d{b}}}Dd}{{bb}b}{{}b}{{{d{An}}}{{d{Eb}}}}21{{b{d{b}}}b}{{{d{b}}b}b}4{{{d{b}}{d{b}}}b}{{{d{fb}}b}h}{{{d{fb}}{d{b}}}h}{{{d{f{d{fb}}}}b}h}{{{d{f{d{fb}}}}{d{b}}}h}>>{{{d{fb}}}h};{{{d{b}}{d{b}}}{{j{Al}}}}{{bn}}{{bA`}}{{bb}}{{bl}}={{{d{b}}l}b}{{{d{b}}n}b}{{{d{b}}A`}b}{cb{{En{}{{El{b}}}}}}{cb{{En{}{{El{{d{b}}}}}}}}{{AfAd}Af}`{{Afc}Af{{Eh{B`}}}}{{{d{Af}}{j{F`}}}{{Dn{B`}}}}{{{d{b}}b}b}{{bb}b}{{b{d{b}}}b}{{{d{b}}{d{b}}}b}{{{d{fb}}{d{b}}}h}{{{d{f{d{fb}}}}b}h}{{{d{f{d{fb}}}}{d{b}}}h}{{{d{fb}}b}h}{{{d{fb}}Cj}h}{{{d{b}}}b}{{{d{b}}Cj}b}{{{d{b}}CjFb}b}{{{d{b}}Cj}{{j{b}}}}{{{d{b}}CjFb}{{j{b}}}}<<<{{{d{b}}}Cj}{{{d{b}}c}BfFd}{{{d{b}}}{{Bd{Aj}}}}{{{d{Ah}}c}BfFd}{{{d{fb}}Cj}{{Bf{hEd}}}}{{{d{fb}}Bj}h}00::{{{d{Cb}}}{{j{{d{Ff}}}}}}{{{d{b}}}{{j{b}}}}{{{d{b}}{d{b}}}b}{{bb}b}{{b{d{b}}}b}{{{d{b}}b}b}{{{d{f{d{fb}}}}b}h}{{{d{f{d{fb}}}}{d{b}}}h}{{{d{fb}}{d{b}}}h}{{{d{fb}}b}h}{cb{{En{}{{El{{d{b}}}}}}}}{cb{{En{}{{El{b}}}}}}{{{d{b}}}b}{{{d{b}}}{{j{l}}}}{{{d{b}}}{{j{Dd}}}}{{{d{b}}}{{j{n}}}}{dc{}}0000{dB`}0000{{{d{b}}}{{j{Cf}}}}{{{d{b}}}{{j{A`}}}}{{{d{An}}}{{j{{d{Eb}}}}}}`{{Afc}Af{{Eh{B`}}}}9{{{d{b}}Cj}b}{E`{{Bf{bEd}}}}{l{{Bf{bEd}}}}{c{{Bf{e}}}{}{}}{{{d{Eb}}}{{Bf{bEd}}}}111111{{{d{Eb}}}{{Bf{Ahc}}}{}}{{DdCj}{{Bf{bEd}}}}{{}{{Bf{c}}}{}}000000{{nCj}{{Bf{bEd}}}}{dFh}000000{{{d{b}}}Fj}{{}c{}}000000{{}b}````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{}Fl}{{}Fn}`{{{d{G`}}}{{d{Eb}}}}{{{d{Gb}}}{{d{Eb}}}}{{{d{Gd}}}{{d{Eb}}}}{{{d{Gf}}}{{d{Eb}}}}````````````{{FlFl}Fl}{{FnFn}Fn}{{{d{fFl}}Fl}h}{{{d{fFn}}Fn}h}3210{{{d{Fl}}}Aj}0{{{d{Fn}}}Aj}05432`{d{{d{c}}}{}}000000000000000000000000000000000000000000000000000000000{{{d{f}}}{{d{fc}}}{}}000000000000000000000000000000000000000000000000000000000```{{{d{Gh}}c}{{Dn{Gj}}}{{Eh{B`}}}}{{{d{Gh}}eg}{{Dn{{Gn{Gl}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}{{H`{}{{El{Hb}}}}}}`````{{{d{Gh}}cGfD`Gd}{{Dn{{Gn{Hd}}}}}{{Eh{B`}}}}`{{{d{Gh}}c}{{Dn{Hf}}}{{Eh{B`}}}}{{{d{Gh}}c}{{Dn{{Gn{Hh}}}}}{{Eh{B`}}}}`````````{{{d{Gh}}}Gh}{{{d{Hj}}}Hj}{{{d{Hl}}}Hl}{{{d{Fl}}}Fl}{{{d{Hn}}}Hn}{{{d{I`}}}I`}{{{d{Ib}}}Ib}{{{d{Id}}}Id}{{{d{If}}}If}{{{d{Fn}}}Fn}{{{d{Ih}}}Ih}{{{d{Ij}}}Ij}{{{d{Il}}}Il}{{{d{In}}}In}{{{d{J`}}}J`}{{{d{Jb}}}Jb}{{{d{Jd}}}Jd}{{{d{Jf}}}Jf}{{{d{Jh}}}Jh}{{{d{Jj}}}Jj}{{{d{Gj}}}Gj}{{{d{Jl}}}Jl}{{{d{Jn}}}Jn}{{{d{Hd}}}Hd}{{{d{K`}}}K`}{{{d{Kb}}}Kb}{{{d{Kd}}}Kd}{{{d{Kf}}}Kf}{{{d{Kh}}}Kh}{{{d{Kj}}}Kj}{{{d{Kl}}}Kl}{{{d{Kn}}}Kn}{{{d{L`}}}L`}{{{d{Lb}}}Lb}{{{d{Ld}}}Ld}{{{d{Hh}}}Hh}{{{d{Lf}}}Lf}{{{d{Hf}}}Hf}{{{d{Lh}}}Lh}{{{d{Lj}}}Lj}{{{d{Ll}}}Ll}{{{d{Ln}}}Ln}{{{d{M`}}}M`}{{{d{Hb}}}Hb}{{{d{Gl}}}Gl}{{{d{Mb}}}Mb}{{{d{Md}}}Md}{{{d{G`}}}G`}{{{d{Gb}}}Gb}{{{d{Gd}}}Gd}{{{d{Gf}}}Gf}{{d{d{fc}}}h{}}00000000000000000000000000000000000000000000000000{{dAj}h}00000000000000000000000000000000000000000000000000`{{{d{G`}}{d{G`}}}Al}{{{d{Gb}}{d{Gb}}}Al}{{{d{Gd}}{d{Gd}}}Al}{{{d{Gf}}{d{Gf}}}Al}{FlFl}{FnFn}{{{d{Fl}}Fl}Bj}{{{d{Fn}}Fn}Bj}``````{{{d{Gh}}Ll}{{Dn{n}}}}```{{}Hj}{{}Ih}{{}J`}{{}Jb}{{}Jf}{{}Jj}{{}Gj}{{}Lf}{{}Ln}{{}G`}{{}Gb}{{}Gd}{{}Gf}{{{d{Gh}}nBj}{{Dn{h}}}}``{{{d{Gh}}c}{{Dn{Jj}}}{{Eh{B`}}}}`{c{{Bf{I`}}}Bh}{c{{Bf{Ib}}}Bh}{c{{Bf{Id}}}Bh}{c{{Bf{If}}}Bh}{c{{Bf{Fn}}}Bh}{c{{Bf{Ih}}}Bh}{c{{Bf{Mf}}}Bh}{c{{Bf{Ij}}}Bh}{c{{Bf{Il}}}Bh}{c{{Bf{In}}}Bh}{c{{Bf{J`}}}Bh}{c{{Bf{Jb}}}Bh}{c{{Bf{Jd}}}Bh}{c{{Bf{Jf}}}Bh}{c{{Bf{Jh}}}Bh}{c{{Bf{Jj}}}Bh}{c{{Bf{Gj}}}Bh}{c{{Bf{Jl}}}Bh}{c{{Bf{Jn}}}Bh}{c{{Bf{Hd}}}Bh}{c{{Bf{K`}}}Bh}{c{{Bf{Kb}}}Bh}{c{{Bf{Kl}}}Bh}{c{{Bf{Kn}}}Bh}{c{{Bf{L`}}}Bh}{c{{Bf{Lb}}}Bh}{c{{Bf{Ld}}}Bh}{c{{Bf{Hh}}}Bh}{c{{Bf{Lf}}}Bh}{c{{Bf{Hf}}}Bh}{c{{Bf{Lh}}}Bh}{c{{Bf{Lj}}}Bh}{c{{Bf{Gl}}}Bh}{c{{Bf{Mh}}}Bh}{c{{Bf{G`}}}Bh}{c{{Bf{Gb}}}Bh}{c{{Bf{Gd}}}Bh}{c{{Bf{Gf}}}Bh}`{{FlFl}Fl}{{FnFn}Fn}``````{{}Fl}{{}Fn}````{{{d{Fl}}{d{Fl}}}Bj}{{{d{Id}}{d{Id}}}Bj}{{{d{Ih}}{d{Ih}}}Bj}{{{d{J`}}{d{J`}}}Bj}{{{d{Jb}}{d{Jb}}}Bj}{{{d{Jf}}{d{Jf}}}Bj}{{{d{Kd}}{d{Kd}}}Bj}{{{d{Kf}}{d{Kf}}}Bj}{{{d{Kh}}{d{Kh}}}Bj}{{{d{Kj}}{d{Kj}}}Bj}{{{d{Kl}}{d{Kl}}}Bj}{{{d{Hb}}{d{Hb}}}Bj}{{{d{Mb}}{d{Mb}}}Bj}{{{d{G`}}{d{G`}}}Bj}{{{d{Gb}}{d{Gb}}}Bj}{{{d{Gd}}{d{Gd}}}Bj}{{{d{Gf}}{d{Gf}}}Bj}`````{{{d{fFl}}c}h{{H`{}{{El{Fl}}}}}}{{{d{fFn}}c}h{{H`{}{{El{Fn}}}}}}``{{{d{Hj}}{d{fBl}}}C`}{{{d{Mj}}{d{fBl}}}C`}{{{d{Ml}}{d{fBl}}}C`}{{{d{Mn}}{d{fBl}}}C`}{{{d{Hl}}{d{fBl}}}C`}{{{d{N`}}{d{fBl}}}C`}{{{d{Nb}}{d{fBl}}}C`}{{{d{Fl}}{d{fBl}}}C`}0000{{{d{Hn}}{d{fBl}}}C`}{{{d{I`}}{d{fBl}}}C`}{{{d{Ib}}{d{fBl}}}C`}{{{d{Id}}{d{fBl}}}C`}{{{d{If}}{d{fBl}}}C`}{{{d{Fn}}{d{fBl}}}C`}0000{{{d{Ih}}{d{fBl}}}C`}{{{d{Ih}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Mf}}{d{fBl}}}C`}{{{d{Ij}}{d{fBl}}}C`}{{{d{Il}}{d{fBl}}}C`}{{{d{In}}{d{fBl}}}C`}{{{d{J`}}{d{fBl}}}C`}{{{d{Jb}}{d{fBl}}}C`}{{{d{Jd}}{d{fBl}}}C`}{{{d{Jf}}{d{fBl}}}C`}{{{d{Jh}}{d{fBl}}}C`}{{{d{Jj}}{d{fBl}}}C`}{{{d{Gj}}{d{fBl}}}C`}{{{d{Jl}}{d{fBl}}}C`}{{{d{Jn}}{d{fBl}}}C`}{{{d{Hd}}{d{fBl}}}C`}{{{d{K`}}{d{fBl}}}C`}{{{d{Kb}}{d{fBl}}}C`}{{{d{Kd}}{d{fBl}}}C`}{{{d{Kf}}{d{fBl}}}C`}{{{d{Kh}}{d{fBl}}}C`}{{{d{Kj}}{d{fBl}}}C`}{{{d{Kl}}{d{fBl}}}C`}{{{d{Kn}}{d{fBl}}}C`}{{{d{L`}}{d{fBl}}}C`}{{{d{Lb}}{d{fBl}}}C`}{{{d{Ld}}{d{fBl}}}C`}{{{d{Hh}}{d{fBl}}}C`}{{{d{Lf}}{d{fBl}}}C`}{{{d{Hf}}{d{fBl}}}C`}{{{d{Lh}}{d{fBl}}}C`}{{{d{Lj}}{d{fBl}}}C`}{{{d{Ll}}{d{fBl}}}C`}{{{d{Ln}}{d{fBl}}}C`}{{{d{M`}}{d{fBl}}}C`}{{{d{Hb}}{d{fBl}}}C`}{{{d{Gl}}{d{fBl}}}C`}{{{d{Mb}}{d{fBl}}}C`}{{{d{Mb}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Mh}}{d{fBl}}}C`}{{{d{Md}}{d{fBl}}}C`}{{{d{G`}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Gb}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Gd}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Gf}}{d{fBl}}}{{Bf{hBn}}}}{cc{}}00000000{{{Gn{Cd}}}Fl}11{NdIb}2{CdId}3333333333333333{NfJl}44{NhHd}55{NjKb}66666666666666666666666666{Aj{{j{Fl}}}}{Aj{{j{Fn}}}}{AjFl}0{AjFn}010{Cd{{j{G`}}}}{Cd{{j{Gb}}}}{Cd{{j{Gd}}}}{Cd{{j{Gf}}}}{cFl{{H`{}{{El{Fl}}}}}}{cFn{{H`{}{{El{Fn}}}}}}{{{d{Eb}}}{{j{Fl}}}}{{{d{Eb}}}{{j{Fn}}}}{cId{}}{{{d{Eb}}}{{Bf{Ihc}}}{}}{{{d{Eb}}}{{Bf{J`c}}}{}}{{{d{Eb}}}{{Bf{Jbc}}}{}}{{{d{Eb}}}{{Bf{Jfc}}}{}}{{{d{Eb}}}{{Bf{Mbc}}}{}}{{{d{Eb}}}{{j{G`}}}}{{{d{Eb}}}{{j{Gb}}}}{{{d{Eb}}}{{j{Gd}}}}{{{d{Eb}}}{{j{Gf}}}}```{{{d{Fl}}{d{fc}}}hEf}{{{d{Id}}{d{fc}}}hEf}{{{d{Ih}}{d{fc}}}hEf}{{{d{J`}}{d{fc}}}hEf}{{{d{Jb}}{d{fc}}}hEf}{{{d{Jf}}{d{fc}}}hEf}{{{d{Kd}}{d{fc}}}hEf}{{{d{Kf}}{d{fc}}}hEf}{{{d{Kh}}{d{fc}}}hEf}{{{d{Kj}}{d{fc}}}hEf}{{{d{Kl}}{d{fc}}}hEf}{{{d{Mb}}{d{fc}}}hEf}{{{d{G`}}{d{fc}}}hEf}{{{d{Gb}}{d{fc}}}hEf}{{{d{Gd}}{d{fc}}}hEf}{{{d{Gf}}{d{fc}}}hEf}````````{{{d{Gh}}cGfGd{j{Nl}}{j{Nl}}}{{Dn{{Gn{Hd}}}}}{{Eh{B`}}}}{{{d{Gh}}cGfGdBj{j{Nn}}D`}{{Dn{{Gn{Hd}}}}}{{Eh{B`}}}}````````{{{d{fFl}}Fl}h}{{{d{fFn}}Fn}h}{{FlFl}Fl}{{FnFn}Fn}{{{d{Fl}}Fl}Bj}{{{d{Fn}}Fn}Bj}{{}c{}}000000000000000000000000000000000000000000000000000000000{Flc{}}{Fnc{}}{{{d{Gh}}c}{{Dn{{Gn{Jn}}}}}{{Eh{B`}}}}{{{d{Fl}}}Bj}{{{d{Fn}}}Bj}`10{CdBj}000`{{{d{Fl}}}{{O`{Fl}}}}{{{d{Fn}}}{{O`{Fn}}}}{{{d{Fl}}}{{Ob{Fl}}}}{{{d{Fn}}}{{Ob{Fn}}}}```````````````{{{d{Gh}}}{{Of{Od}}}}``````````````{{{d{Gh}}}n}{{M`Ln}M`}`{{M`c}M`{{Eh{B`}}}}``````````````````{cLl{{Eh{B`}}}}{nM`}{FlFl}{FnFn}````````{{{d{Gh}}c}{{Dn{{Gn{Nl}}}}}{{Eh{B`}}}}{{{d{Gh}}cNl}{{Dn{{Gn{K`}}}}}{{Eh{B`}}}}{{{d{Gh}}e}{{Dn{{Gn{Jd}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}}````````{{{d{G`}}{d{G`}}}{{j{Al}}}}{{{d{Gb}}{d{Gb}}}{{j{Al}}}}{{{d{Gd}}{d{Gd}}}{{j{Al}}}}{{{d{Gf}}{d{Gf}}}{{j{Al}}}}{{{d{Gh}}}{{Dn{{Gn{Jl}}}}}}``````````````````{{{d{Gh}}e}{{Dn{{Gn{In}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}}{{{d{Gh}}}{{d{Eb}}}}{{{d{Gh}}}{{d{{Oh{Md}}}}}}{{{d{Gh}}c}{{Dn{Gj}}}{{Eh{B`}}}}{{{d{Gh}}cGfD`}{{Dn{{Gn{Hd}}}}}{{Eh{B`}}}}{{{d{Gh}}c}{{Dn{Jj}}}{{Eh{B`}}}}{{{d{Gh}}e}{{Dn{{Gn{Ij}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}}{{{d{Gh}}cD`}{{Dn{{Gn{If}}}}}{{Eh{B`}}}}{{{d{fFl}}Fl}h}{{{d{fFn}}Fn}h}`{{Lle}Ll{{Eh{B`}}}{{H`{}{{El{c}}}}}}{{M`e}M`{{Eh{B`}}}{{H`{}{{El{c}}}}}}```{{{d{Gh}}AhMb}{{Dn{{Gn{Mh}}}}}}{{{d{I`}}c}BfFd}{{{d{Ib}}c}BfFd}{{{d{Id}}c}BfFd}{{{d{If}}c}BfFd}{{{d{Fn}}c}BfFd}{{{d{Ih}}c}BfFd}{{{d{Mf}}c}BfFd}{{{d{Ij}}c}BfFd}{{{d{Il}}c}BfFd}{{{d{In}}c}BfFd}{{{d{J`}}c}BfFd}{{{d{Jb}}c}BfFd}{{{d{Jd}}c}BfFd}{{{d{Jf}}c}BfFd}{{{d{Jh}}c}BfFd}{{{d{Jj}}c}BfFd}{{{d{Gj}}c}BfFd}{{{d{Jl}}c}BfFd}{{{d{Jn}}c}BfFd}{{{d{Hd}}c}BfFd}{{{d{K`}}c}BfFd}{{{d{Kb}}c}BfFd}{{{d{Kl}}c}BfFd}{{{d{Kn}}c}BfFd}{{{d{L`}}c}BfFd}{{{d{Lb}}c}BfFd}{{{d{Ld}}c}BfFd}{{{d{Hh}}c}BfFd}{{{d{Lf}}c}BfFd}{{{d{Hf}}c}BfFd}{{{d{Lh}}c}BfFd}{{{d{Lj}}c}BfFd}{{{d{Ln}}c}BfFd}{{{d{Gl}}c}BfFd}{{{d{Mb}}c}BfFd}{{{d{Mh}}c}BfFd}{{{d{G`}}c}BfFd}{{{d{Gb}}c}BfFd}{{{d{Gd}}c}BfFd}{{{d{Gf}}c}BfFd}{{{d{fFl}}FlBj}h}{{{d{fFn}}FnBj}h}```{{{d{Gh}}e}{{Dn{{Gn{Mf}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}}``````{{FlFl}Fl}{{FnFn}Fn}{{{d{fFl}}Fl}h}{{{d{fFn}}Fn}h}`{{{d{Gh}}egBj}{{Dn{h}}}{{Oj{Eb}}}{{H`{}{{El{c}}}}}{{Eh{Fl}}}}{{{d{Gh}}cGf}{{Dn{{Gn{Hd}}}}}{{Oj{Eb}}}}{{{d{Gh}}}{{Dn{{Gn{Hn}}}}}}```````````65```````````````{dc{}}00000000000000000000000000000000000000000000000000{dB`}065````````````{{{d{Gh}}cD`}{{Dn{{Gn{If}}}}}{{Eh{B`}}}}`{{{d{Gh}}AhNlNl}{{Dn{Ld}}}}`{{{d{Gh}}}{{Dn{{Gn{Lb}}}}}}{c{{Bf{e}}}{}{}}0000000000{Ol{{Dn{I`}}}}111{On{{Dn{If}}}}2{{{d{Eb}}}{{Bf{Ihc}}}{}}3{A@`{{Dn{Mf}}}}44{A@b{{Dn{Il}}}}5{A@d{{Dn{In}}}}6{{{d{Eb}}}{{Bf{J`c}}}{}}77{{{d{Eb}}}{{Bf{Jbc}}}{}}8{A@f{{Dn{Jd}}}}{{{d{Eb}}}{{Bf{Jfc}}}{}}{Cd{{Bf{Jf{A@h{Jf}}}}}};{A@j{{Dn{Jh}}}}<<<<{A@l{{Dn{Jn}}}}={A@n{{Dn{Hd}}}}>>{AA`{{Dn{K`}}}}??????{Cd{{Bf{Kl{A@h{Kl}}}}}}{AAb{{Dn{Kn}}}}{c{{Bf{e}}}{}{}}{AAd{{Dn{L`}}}}11{AAf{{Dn{Lb}}}}22{AAh{{Dn{Hh}}}}{AAj{{Dn{Lf}}}}4{AAl{{Dn{Hf}}}}555555555{{{d{Eb}}}{{Bf{Mbc}}}{}}66{AAn{{Dn{Md}}}}{Cd{{Bf{G`AB`}}}}8{Cd{{Bf{GbAB`}}}}9{Cd{{Bf{GdAB`}}}}:{Cd{{Bf{GfAB`}}}};{c{{Bf{Jf{A@h{Jf}}}}}{}}{c{{Bf{Kl{A@h{Kl}}}}}{}}{{}{{Bf{c}}}{}}000000000000000000000000000000000000000000000000000000000{{{Of{Af}}}{{Dn{{ABd{Gh{ABb{Nb}}}}}}}}```````````{dFh}000000000000000000000000000000000000000000000000000000000``{{FlFl}Fl}{{FnFn}Fn}{{{d{Gh}}eg}{{Dn{h}}}{{Oj{Eb}}}{{H`{}{{El{c}}}}}{{Eh{Fl}}}}{{{d{Gh}}cGf}{{Dn{h}}}{{Oj{Eb}}}}{{{d{Gh}}M`}{{Dn{h}}}}`````````````````{{}c{}}000000000000000000000000000000000000000000000000000000000`{{{d{Gh}}}{{Dn{{Gn{Kb}}}}}}{{{d{Gh}}cKfKd{j{{d{{Oh{Jf}}}}}}{j{{d{{Oh{Cd}}}}}}{j{{d{{Oh{Kh}}}}}}{j{{d{{Oh{Kj}}}}}}{j{{d{{Oh{Kl}}}}}}}{{Dn{{Gn{Kn}}}}}{{Eh{B`}}}}{{{d{Gh}}e}{{Dn{{Gn{Jh}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}}```{{{d{Gh}}}{{Dn{{Gn{Lj}}}}}}`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{{d{ABf}}{j{{d{Eb}}}}}{{Dn{{Gn{ABh}}}}}}```````{d{{d{c}}}{}}000000000000000000000000000000000000000000000{{{d{f}}}{{d{fc}}}{}}000000000000000000000000000000000000000000000`{{ABjABl}ABj}``{{{d{ABf}}c}{{Dn{h}}}{{Eh{B`}}}}{{{d{ABf}}ABj}{{Dn{{Gn{ABn}}}}}}`````{{{d{ABf}}}ABf}{{{d{AC`}}}AC`}{{{d{ACb}}}ACb}{{{d{ABj}}}ABj}{{{d{ACd}}}ACd}{{{d{ACf}}}ACf}{{{d{ACh}}}ACh}{{{d{ACj}}}ACj}{{{d{ACl}}}ACl}{{{d{ACn}}}ACn}{{{d{AD`}}}AD`}{{{d{ADb}}}ADb}{{{d{ADd}}}ADd}{{{d{ADf}}}ADf}{{{d{ADh}}}ADh}{{{d{ADj}}}ADj}{{{d{ADl}}}ADl}{{{d{ADn}}}ADn}{{{d{AE`}}}AE`}{{{d{AEb}}}AEb}{{{d{AEd}}}AEd}{{{d{AEf}}}AEf}{{{d{AEh}}}AEh}{{{d{AEj}}}AEj}{{{d{AEl}}}AEl}{{{d{AEn}}}AEn}{{{d{AF`}}}AF`}{{{d{AFb}}}AFb}{{{d{AFd}}}AFd}{{{d{ABh}}}ABh}{{{d{ABl}}}ABl}{{{d{AFf}}}AFf}{{{d{ABn}}}ABn}{{{d{AFh}}}AFh}{{{d{AFj}}}AFj}{{{d{AFl}}}AFl}{{{d{AFn}}}AFn}{{{d{AG`}}}AG`}{{{d{AGb}}}AGb}{{{d{AGd}}}AGd}{{d{d{fc}}}h{}}000000000000000000000000000000000000000{{dAj}h}000000000000000000000000000000000000000````{{ACbc}ACb{{Eh{B`}}}}``````````````{{}AGf}{{}ACd}{{}ACf}{{}AGh}{{}ACh}{{}ACj}{{}AD`}{{}ADb}{{}ADf}{{}ADh}{{}ADj}{{}ADl}{{}ADn}{{}AE`}{{}AEd}{{}AEf}{{}AEh}`{c{{Bf{AGj}}}Bh}{c{{Bf{AGl}}}Bh}{c{{Bf{AGn}}}Bh}{c{{Bf{AH`}}}Bh}{c{{Bf{AD`}}}Bh}{c{{Bf{ADb}}}Bh}{c{{Bf{ADd}}}Bh}{c{{Bf{ADf}}}Bh}{c{{Bf{ADh}}}Bh}{c{{Bf{ADj}}}Bh}{c{{Bf{ADl}}}Bh}{c{{Bf{ADn}}}Bh}{c{{Bf{AE`}}}Bh}{c{{Bf{AEb}}}Bh}{c{{Bf{AEd}}}Bh}{c{{Bf{AEf}}}Bh}{c{{Bf{AEh}}}Bh}{c{{Bf{AEj}}}Bh}{c{{Bf{AEl}}}Bh}{c{{Bf{AEn}}}Bh}{c{{Bf{AF`}}}Bh}{c{{Bf{AFb}}}Bh}{c{{Bf{AFd}}}Bh}{c{{Bf{ABh}}}Bh}{c{{Bf{ABl}}}Bh}{c{{Bf{AFf}}}Bh}{c{{Bf{ABn}}}Bh}{c{{Bf{AFh}}}Bh}{c{{Bf{AFj}}}Bh}{c{{Bf{AFl}}}Bh}{c{{Bf{AFn}}}Bh}{c{{Bf{AG`}}}Bh}{c{{Bf{AGb}}}Bh}{c{{Bf{AGd}}}Bh}`{{ACdF`}ACd}{{ACfF`}ACf}{{{d{AC`}}{d{AC`}}}Bj}{{{d{AD`}}{d{AD`}}}Bj}{{{d{ADb}}{d{ADb}}}Bj}{{{d{ADf}}{d{ADf}}}Bj}{{{d{ADh}}{d{ADh}}}Bj}{{{d{ADj}}{d{ADj}}}Bj}{{{d{ADl}}{d{ADl}}}Bj}{{{d{ADn}}{d{ADn}}}Bj}{{{d{AE`}}{d{AE`}}}Bj}{{{d{AEd}}{d{AEd}}}Bj}{{{d{AEf}}{d{AEf}}}Bj}{{{d{AEh}}{d{AEh}}}Bj}{{{d{ABl}}{d{ABl}}}Bj}{{{d{AFf}}{d{AFf}}}Bj}{{{d{ABf}}ACb}{{Dn{AGl}}}}``````{{ACnNl}ACn}````{{{d{AGj}}{d{fBl}}}C`}{{{d{AGl}}{d{fBl}}}C`}{{{d{AC`}}{d{fBl}}}C`}{{{d{AC`}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AGn}}{d{fBl}}}C`}{{{d{AH`}}{d{fBl}}}C`}{{{d{ACb}}{d{fBl}}}C`}{{{d{ABj}}{d{fBl}}}C`}{{{d{AGf}}{d{fBl}}}C`}{{{d{ACd}}{d{fBl}}}C`}{{{d{ACf}}{d{fBl}}}C`}{{{d{AGh}}{d{fBl}}}C`}{{{d{ACh}}{d{fBl}}}C`}{{{d{ACj}}{d{fBl}}}C`}{{{d{ACl}}{d{fBl}}}C`}{{{d{ACn}}{d{fBl}}}C`}{{{d{AD`}}{d{fBl}}}C`}{{{d{AD`}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADb}}{d{fBl}}}C`}{{{d{ADb}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADd}}{d{fBl}}}C`}{{{d{ADf}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADf}}{d{fBl}}}C`}{{{d{ADh}}{d{fBl}}}C`}{{{d{ADh}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADj}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADj}}{d{fBl}}}C`}{{{d{ADl}}{d{fBl}}}C`}{{{d{ADl}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADn}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADn}}{d{fBl}}}C`}{{{d{AE`}}{d{fBl}}}C`}{{{d{AE`}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AEb}}{d{fBl}}}C`}{{{d{AEd}}{d{fBl}}}C`}{{{d{AEd}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AEf}}{d{fBl}}}C`}{{{d{AEf}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AEh}}{d{fBl}}}C`}{{{d{AEh}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AEj}}{d{fBl}}}C`}{{{d{AEl}}{d{fBl}}}C`}{{{d{AEn}}{d{fBl}}}C`}{{{d{AF`}}{d{fBl}}}C`}{{{d{AFb}}{d{fBl}}}C`}{{{d{AFd}}{d{fBl}}}C`}{{{d{ABh}}{d{fBl}}}C`}{{{d{ABl}}{d{fBl}}}C`}{{{d{AFf}}{d{fBl}}}C`}{{{d{ABn}}{d{fBl}}}C`}{{{d{AFh}}{d{fBl}}}C`}{{{d{AFj}}{d{fBl}}}C`}{{{d{AFl}}{d{fBl}}}C`}{{{d{AFn}}{d{fBl}}}C`}{{{d{AG`}}{d{fBl}}}C`}{{{d{AGb}}{d{fBl}}}C`}{{{d{AGd}}{d{fBl}}}C`}{ACbACb}```{cc{}}00000000000000000000000000000000000{CdABl}1{CdAFf}222222222{cABl{}}{cAFf{}}{{{d{Eb}}}{{Bf{AC`c}}}{}}{{{d{Eb}}}{{Bf{AD`c}}}{}}{{{d{Eb}}}{{Bf{ADbc}}}{}}{{{d{Eb}}}{{Bf{ADfc}}}{}}{{{d{Eb}}}{{Bf{ADhc}}}{}}{{{d{Eb}}}{{Bf{ADjc}}}{}}{{{d{Eb}}}{{Bf{ADlc}}}{}}{{{d{Eb}}}{{Bf{ADnc}}}{}}{{{d{Eb}}}{{Bf{AE`c}}}{}}{{{d{Eb}}}{{Bf{AEdc}}}{}}{{{d{Eb}}}{{Bf{AEfc}}}{}}{{{d{Eb}}}{{Bf{AEhc}}}{}}`{{{d{ABf}}c}{{Dn{AFh}}}{{Eh{{j{AGf}}}}}}{{{d{AC`}}{d{fc}}}hEf}{{{d{AD`}}{d{fc}}}hEf}{{{d{ADb}}{d{fc}}}hEf}{{{d{ADf}}{d{fc}}}hEf}{{{d{ADh}}{d{fc}}}hEf}{{{d{ADj}}{d{fc}}}hEf}{{{d{ADl}}{d{fc}}}hEf}{{{d{ADn}}{d{fc}}}hEf}{{{d{AE`}}{d{fc}}}hEf}{{{d{AEd}}{d{fc}}}hEf}{{{d{AEf}}{d{fc}}}hEf}{{{d{AEh}}{d{fc}}}hEf}{{{d{ABl}}{d{fc}}}hEf}{{{d{AFf}}{d{fc}}}hEf}`{{{d{ABf}}c}{{Dn{{Gn{ADd}}}}}{{Eh{{j{ACd}}}}}}{{{d{ABf}}c}{{Dn{{Gn{AEb}}}}}{{Eh{{j{ACf}}}}}}````{{}c{}}000000000000000000000000000000000000000000000`````{{AClb}ACl}{{ACnb}ACn}```{{{d{ABf}}}{{Of{Od}}}}```{{{d{ABf}}c}{{Dn{AGd}}}{{Eh{B`}}}}{{ACfAh}ACf}{{ACjAh}ACj}```````````{{cAD`ADf}ACb{{Eh{B`}}}}{{F`F`}ABj}{{}AGf}{{}ACd}{{}ACf}{{}AGh}{{}ACh}{{}ACj}{{cb}ACl{{Eh{B`}}}}{{cAD`ADfbADl}ACn{{Eh{B`}}}}{{{d{ABf}}c}{{Dn{AFb}}}{{Eh{B`}}}}{{ACbc}ACb{{Eh{B`}}}}{{AChc}ACh{{Eh{B`}}}}{{ACjB`}ACj}````````{{ACnAE`}ACn}``{{ABjD`}ABj}`````{{ACbb}ACb}{{AClb}ACl}``````````{{AClc}ACl{{Eh{B`}}}}{{ACnc}ACn{{Eh{B`}}}}```{{{d{ABf}}ACl}{{Dn{h}}}}`{{{d{AGj}}c}BfFd}{{{d{AGl}}c}BfFd}{{{d{ACb}}c}BfFd}{{{d{ABj}}c}BfFd}{{{d{AGf}}c}BfFd}{{{d{ACd}}c}BfFd}{{{d{ACf}}c}BfFd}{{{d{AGh}}c}BfFd}{{{d{ACh}}c}BfFd}{{{d{ACj}}c}BfFd}{{{d{ACl}}c}BfFd}{{{d{ACn}}c}BfFd}{{{d{AD`}}c}BfFd}{{{d{ADb}}c}BfFd}{{{d{ADd}}c}BfFd}{{{d{ADf}}c}BfFd}{{{d{ADh}}c}BfFd}{{{d{ADj}}c}BfFd}{{{d{ADl}}c}BfFd}{{{d{ADn}}c}BfFd}{{{d{AE`}}c}BfFd}{{{d{AEb}}c}BfFd}{{{d{AEd}}c}BfFd}{{{d{AEf}}c}BfFd}{{{d{AEh}}c}BfFd}{{{d{AEj}}c}BfFd}{{{d{AEl}}c}BfFd}{{{d{AEn}}c}BfFd}{{{d{AF`}}c}BfFd}{{{d{AFb}}c}BfFd}{{{d{AFd}}c}BfFd}{{{d{ABh}}c}BfFd}{{{d{ABl}}c}BfFd}{{{d{AFf}}c}BfFd}{{{d{ABn}}c}BfFd}{{{d{AFh}}c}BfFd}{{{d{AFj}}c}BfFd}{{{d{AFl}}c}BfFd}{{{d{AFn}}c}BfFd}{{{d{AG`}}c}BfFd}{{{d{AGb}}c}BfFd}{{{d{AGd}}c}BfFd}`{{ACfADf}ACf}{{ACjADf}ACj}```{{ABjD`}ABj}{{ACdF`}ACd}{{ACfF`}ACf}{{ACfc}ACf{{H`{}{{El{ADb}}}}}}{{ACjc}ACj{{H`{}{{El{ADb}}}}}}```````{{{d{ABf}}c}{{Dn{AFn}}}{{Eh{{j{AGh}}}}}}{{{d{ABf}}ACn}{{Dn{AGj}}}}```{{ACnb}ACn}``{{{d{ABf}}c}{{Dn{h}}}{{H`{}{{El{AC`}}}}}}{{ABjc}ABj{{Eh{B`}}}}{{ACdc}ACd{{Eh{B`}}}}{{ACfc}ACf{{Eh{B`}}}}{{AChc}ACh{{Eh{B`}}}}{{ACjc}ACj{{Eh{B`}}}}`````````{{AGfe}AGf{{Eh{B`}}}{{H`{}{{El{c}}}}}}{{AGhe}AGh{{Eh{B`}}}{{H`{}{{El{c}}}}}}``````{dc{}}000000000000000000000000000000000000000{dB`}00000000000{{{d{ABf}}c}{{Dn{{Gn{ADd}}}}}{{Eh{{j{ACh}}}}}}{{{d{ABf}}c}{{Dn{{Gn{AEb}}}}}{{Eh{{j{ACj}}}}}}````{{AClb}ACl}=```0=```````0=``````{c{{Bf{e}}}{}{}}00{{{d{Eb}}}{{Bf{AC`c}}}{}}11111111111111{{{d{Eb}}}{{Bf{AD`c}}}{}}{{{d{Eb}}}{{Bf{ADbc}}}{}}33{{{d{Eb}}}{{Bf{ADfc}}}{}}44{{{d{Eb}}}{{Bf{ADhc}}}{}}5{{{d{Eb}}}{{Bf{ADjc}}}{}}{{{d{Eb}}}{{Bf{ADlc}}}{}}77{{{d{Eb}}}{{Bf{ADnc}}}{}}{{{d{Eb}}}{{Bf{AE`c}}}{}}99{{{d{Eb}}}{{Bf{AEdc}}}{}}:{{{d{Eb}}}{{Bf{AEfc}}}{}};;{{{d{Eb}}}{{Bf{AEhc}}}{}}<<<<<<<<<<<<<<<<<{{}{{Bf{c}}}{}}000000000000000000000000000000000000000000000{{{Of{Af}}}{{Dn{{ABd{ABf{ABb{AH`}}}}}}}}{dFh}000000000000000000000000000000000000000000000{{{d{ABf}}c}{{Dn{h}}}{{H`{}{{El{AC`}}}}}}```{{}c{}}000000000000000000000000000000000000000000000`","D":"INh","p":[[5,"Decimal",0,2988],[1,"reference",null,null,1],[0,"mut"],[1,"unit"],[6,"Option",2989,null,1],[1,"f64"],[1,"i64"],[1,"u64"],[6,"Language",0,2990],[6,"PushCandlestickMode",0,2990],[5,"Config",0,2990],[6,"Market",0,2991],[1,"u8"],[6,"Ordering",2992],[6,"SimpleError",0,2993],[5,"String",2994],[5,"HashMap",2995],[1,"array"],[6,"Result",2996,null,1],[10,"Deserializer",2997],[1,"bool"],[5,"Formatter",2998],[5,"Error",2998],[8,"Result",2998],[6,"Error",0,2993],[1,"i32"],[1,"u128"],[1,"i8"],[1,"u32"],[1,"i16"],[1,"u16"],[1,"usize"],[1,"isize"],[1,"i128"],[5,"DecodeError",2999],[5,"Error",3000],[6,"HttpClientError",3001],[6,"WsClientError",3002],[8,"Result",0,2993],[1,"f32"],[1,"str"],[6,"Error",3003],[10,"Hasher",3004],[10,"Into",3005],[5,"PathBuf",3006],[17,"Item"],[10,"Iterator",3007],[5,"OffsetDateTime",3008],[6,"RoundingStrategy",2988],[10,"Serializer",3009],[10,"Error",3010],[5,"TypeId",3011],[5,"UnpackedDecimal",2988],[5,"SubFlags",363,3012],[5,"DerivativeType",363,3013],[6,"TradeStatus",363,3014],[6,"TradeSession",363,3014],[6,"AdjustType",363,3014],[6,"Period",363,3014],[5,"QuoteContext",363,3015],[5,"SecurityBrokers",363,3013],[5,"SecurityCalcIndex",363,3013],[5,"Vec",3016],[10,"IntoIterator",3017],[6,"CalcIndex",363,3013],[5,"Candlestick",363,3013],[5,"CapitalDistributionResponse",363,3013],[5,"CapitalFlowLine",363,3013],[5,"PushQuote",363,3018],[5,"PushCandlestick",363,3018],[5,"Subscription",363,3013],[5,"Depth",363,3013],[5,"Brokers",363,3013],[6,"TradeDirection",363,3013],[5,"Trade",363,3013],[6,"SecurityBoard",363,3013],[5,"RealtimeQuote",363,3013],[5,"PrePostQuote",363,3013],[5,"SecurityQuote",363,3013],[6,"OptionType",363,3013],[6,"OptionDirection",363,3013],[5,"OptionQuote",363,3013],[6,"WarrantType",363,3013],[5,"WarrantQuote",363,3013],[5,"SecurityDepth",363,3013],[5,"ParticipantInfo",363,3013],[5,"IntradayLine",363,3013],[5,"StrikePriceInfo",363,3013],[5,"IssuerInfo",363,3013],[6,"SortOrderType",363,3013],[6,"WarrantSortBy",363,3013],[6,"FilterWarrantExpiryDate",363,3013],[6,"FilterWarrantInOutBoundsType",363,3013],[6,"WarrantStatus",363,3013],[5,"WarrantInfo",363,3013],[5,"TradingSessionInfo",363,3013],[5,"MarketTradingSession",363,3013],[5,"MarketTradingDays",363,3013],[5,"CapitalDistribution",363,3013],[5,"WatchlistSecurity",363,3013],[5,"WatchlistGroup",363,3013],[5,"RequestCreateWatchlistGroup",363,3013],[6,"SecuritiesUpdateMode",363,3013],[5,"RequestUpdateWatchlistGroup",363,3013],[6,"SecurityListCategory",363,3013],[5,"QuotePackageDetail",363,3013],[5,"SecurityStaticInfo",363,3013],[5,"Security",363,3013],[5,"PushDepth",363,3018],[5,"PushBrokers",363,3018],[5,"PushTrades",363,3018],[6,"PushEventDetail",363,3018],[5,"PushEvent",363,3018],[5,"Brokers",3014],[5,"ParticipantInfo",3014],[5,"Candlestick",3019],[5,"IssuerInfo",3014],[5,"Date",3020],[5,"PrimitiveDateTime",3021],[5,"Iter",3022],[5,"IterNames",3022],[10,"Subscriber",3023],[5,"Arc",3024,null,1],[1,"slice"],[10,"AsRef",3005],[5,"Depth",3014],[5,"Trade",3014],[5,"StaticInfo",3014],[5,"PrePostQuote",3014],[5,"SecurityQuote",3014],[5,"OptionQuote",3014],[5,"TryFromPrimitiveError",3025],[5,"WarrantQuote",3014],[5,"Line",3014],[5,"Candlestick",3014],[5,"StrikePriceInfo",3014],[5,"FilterWarrant",3014],[5,"TradePeriod",3014],[5,"MarketTradePeriod",3014],[5,"CapitalFlowLine",3026],[5,"CapitalDistribution",3027],[5,"CapitalDistributionResponse",3014],[5,"PackageDetail",3028],[5,"UnknownEnumValue",2999],[5,"UnboundedReceiver",3029],[1,"tuple",null,null,1],[5,"TradeContext",1886,3030],[5,"AccountBalance",1886,3031],[5,"GetCashFlowOptions",1886,3032],[6,"BalanceType",1886,3031],[5,"CashFlow",1886,3031],[6,"TopicType",1886,3033],[5,"EstimateMaxPurchaseQuantityOptions",1886,3034],[5,"GetHistoryExecutionsOptions",1886,3035],[5,"GetHistoryOrdersOptions",1886,3036],[5,"GetTodayExecutionsOptions",1886,3037],[5,"GetTodayOrdersOptions",1886,3038],[5,"ReplaceOrderOptions",1886,3039],[5,"SubmitOrderOptions",1886,3040],[6,"OrderType",1886,3031],[6,"OrderStatus",1886,3031],[5,"Execution",1886,3031],[6,"OrderSide",1886,3031],[6,"TriggerPriceType",1886,3031],[6,"OrderTag",1886,3031],[6,"TimeInForceType",1886,3031],[6,"TriggerStatus",1886,3031],[6,"OutsideRTH",1886,3031],[5,"Order",1886,3031],[6,"CommissionFreeStatus",1886,3031],[6,"DeductionStatus",1886,3031],[6,"ChargeCategoryCode",1886,3031],[5,"OrderHistoryDetail",1886,3031],[5,"OrderChargeFee",1886,3031],[5,"OrderChargeItem",1886,3031],[5,"OrderChargeDetail",1886,3031],[5,"OrderDetail",1886,3031],[5,"CashInfo",1886,3031],[6,"CashFlowDirection",1886,3031],[5,"FundPositionsResponse",1886,3031],[5,"FundPositionChannel",1886,3031],[5,"FundPosition",1886,3031],[5,"StockPositionsResponse",1886,3031],[5,"StockPositionChannel",1886,3031],[5,"StockPosition",1886,3031],[5,"MarginRatio",1886,3031],[5,"GetFundPositionsOptions",1886,3041],[5,"GetStockPositionsOptions",1886,3042],[5,"SubmitOrderResponse",1886,3030],[5,"EstimateMaxPurchaseQuantityResponse",1886,3030],[5,"PushOrderChanged",1886,3033],[6,"PushEvent",1886,3033],[15,"ParseField",357],[15,"InvalidSecuritySymbol",357],[15,"Response",360]],"r":[[1,2990],[3,2988],[10,2993],[15,2990],[18,2991],[27,2990],[29,3015],[32,2993],[34,2993],[38,3030],[364,3014],[374,3013],[379,3013],[384,3013],[386,3013],[387,3013],[389,3013],[402,3013],[404,3013],[415,3013],[416,3013],[437,3013],[438,3013],[448,3013],[449,3013],[459,3013],[460,3013],[461,3013],[469,3013],[472,3014],[474,3013],[480,3018],[481,3018],[482,3018],[483,3018],[484,3018],[485,3018],[486,3018],[492,3015],[493,3013],[494,3013],[497,3013],[498,3013],[510,3013],[511,3013],[512,3013],[513,3013],[514,3013],[515,3013],[516,3013],[517,3013],[518,3013],[520,3013],[525,3013],[526,3012],[527,3013],[541,3013],[543,3013],[544,3014],[545,3014],[546,3013],[574,3013],[576,3013],[577,3013],[578,3013],[579,3013],[580,3013],[581,3013],[1888,3031],[1892,3031],[1898,3031],[1899,3031],[1900,3031],[1901,3031],[1902,3031],[1907,3031],[1910,3034],[1911,3030],[1912,3031],[1916,3031],[1917,3031],[1918,3031],[1919,3032],[1920,3041],[1921,3035],[1922,3036],[1923,3042],[1924,3037],[1925,3038],[1937,3031],[1948,3031],[1950,3031],[1951,3031],[1952,3031],[1953,3031],[1954,3031],[1955,3031],[1956,3031],[1957,3031],[1958,3031],[1960,3031],[1970,3033],[1971,3033],[1976,3039],[1982,3031],[1983,3031],[1984,3031],[1985,3040],[1986,3030],[1992,3031],[1993,3033],[1994,3030],[1995,3031],[1996,3031]],"b":[[46,"impl-Signed-for-Decimal"],[47,"impl-Decimal"],[49,"impl-Add-for-Decimal"],[50,"impl-Add%3CDecimal%3E-for-%26Decimal"],[51,"impl-Add%3C%26Decimal%3E-for-Decimal"],[52,"impl-Add%3C%26Decimal%3E-for-%26Decimal"],[53,"impl-AddAssign-for-Decimal"],[54,"impl-AddAssign%3C%26Decimal%3E-for-Decimal"],[55,"impl-AddAssign%3CDecimal%3E-for-%26mut+Decimal"],[56,"impl-AddAssign%3C%26Decimal%3E-for-%26mut+Decimal"],[72,"impl-Decimal"],[73,"impl-CheckedAdd-for-Decimal"],[75,"impl-CheckedDiv-for-Decimal"],[76,"impl-Decimal"],[81,"impl-CheckedMul-for-Decimal"],[82,"impl-Decimal"],[88,"impl-CheckedRem-for-Decimal"],[89,"impl-Decimal"],[91,"impl-Decimal"],[92,"impl-CheckedSub-for-Decimal"],[118,"impl-Decimal"],[119,"impl-Deserialize%3C\'de%3E-for-Decimal"],[121,"impl-Div-for-Decimal"],[122,"impl-Div%3CDecimal%3E-for-%26Decimal"],[123,"impl-Div%3C%26Decimal%3E-for-Decimal"],[124,"impl-Div%3C%26Decimal%3E-for-%26Decimal"],[125,"impl-DivAssign-for-Decimal"],[126,"impl-DivAssign%3C%26Decimal%3E-for-Decimal"],[127,"impl-DivAssign%3CDecimal%3E-for-%26mut+Decimal"],[128,"impl-DivAssign%3C%26Decimal%3E-for-%26mut+Decimal"],[139,"impl-UpperExp-for-Decimal"],[140,"impl-Debug-for-Decimal"],[141,"impl-Display-for-Decimal"],[142,"impl-LowerExp-for-Decimal"],[143,"impl-Display-for-Language"],[144,"impl-Debug-for-Language"],[147,"impl-Display-for-Error"],[148,"impl-Debug-for-Error"],[149,"impl-Debug-for-SimpleError"],[150,"impl-Display-for-SimpleError"],[151,"impl-Debug-for-Market"],[152,"impl-Display-for-Market"],[154,"impl-From%3Ci32%3E-for-Decimal"],[155,"impl-From%3Cu128%3E-for-Decimal"],[156,"impl-From%3Ci8%3E-for-Decimal"],[157,"impl-From%3Cu32%3E-for-Decimal"],[158,"impl-From%3Cu64%3E-for-Decimal"],[159,"impl-From%3Ci16%3E-for-Decimal"],[160,"impl-From%3Cu16%3E-for-Decimal"],[161,"impl-From%3Cu8%3E-for-Decimal"],[162,"impl-From%3Cusize%3E-for-Decimal"],[163,"impl-From%3Cisize%3E-for-Decimal"],[164,"impl-From%3Ci64%3E-for-Decimal"],[165,"impl-From%3Ci128%3E-for-Decimal"],[170,"impl-From%3CDecodeError%3E-for-Error"],[172,"impl-From%3CError%3E-for-Error"],[173,"impl-From%3CHttpClientError%3E-for-Error"],[174,"impl-From%3CWsClientError%3E-for-Error"],[192,"impl-Decimal"],[193,"impl-Num-for-Decimal"],[211,"impl-Decimal"],[212,"impl-Signed-for-Decimal"],[213,"impl-Decimal"],[214,"impl-Signed-for-Decimal"],[217,"impl-Decimal"],[218,"impl-Zero-for-Decimal"],[229,"impl-Mul%3C%26Decimal%3E-for-Decimal"],[230,"impl-Mul%3CDecimal%3E-for-%26Decimal"],[231,"impl-Mul-for-Decimal"],[232,"impl-Mul%3C%26Decimal%3E-for-%26Decimal"],[233,"impl-MulAssign-for-Decimal"],[234,"impl-MulAssign%3C%26Decimal%3E-for-Decimal"],[235,"impl-MulAssign%3CDecimal%3E-for-%26mut+Decimal"],[236,"impl-MulAssign%3C%26Decimal%3E-for-%26mut+Decimal"],[237,"impl-Neg-for-%26Decimal"],[238,"impl-Neg-for-Decimal"],[247,"impl-Pow%3Ci64%3E-for-Decimal"],[248,"impl-Pow%3Cu64%3E-for-Decimal"],[249,"impl-Pow%3CDecimal%3E-for-Decimal"],[250,"impl-Pow%3Cf64%3E-for-Decimal"],[255,"impl-Product-for-Decimal"],[256,"impl-Product%3C%26Decimal%3E-for-Decimal"],[261,"impl-Rem%3CDecimal%3E-for-%26Decimal"],[262,"impl-Rem-for-Decimal"],[263,"impl-Rem%3C%26Decimal%3E-for-Decimal"],[264,"impl-Rem%3C%26Decimal%3E-for-%26Decimal"],[265,"impl-RemAssign%3C%26Decimal%3E-for-Decimal"],[266,"impl-RemAssign%3CDecimal%3E-for-%26mut+Decimal"],[267,"impl-RemAssign%3C%26Decimal%3E-for-%26mut+Decimal"],[268,"impl-RemAssign-for-Decimal"],[279,"impl-Serialize-for-Decimal"],[280,"impl-Decimal"],[290,"impl-Sub%3C%26Decimal%3E-for-%26Decimal"],[291,"impl-Sub-for-Decimal"],[292,"impl-Sub%3C%26Decimal%3E-for-Decimal"],[293,"impl-Sub%3CDecimal%3E-for-%26Decimal"],[294,"impl-SubAssign%3CDecimal%3E-for-%26mut+Decimal"],[295,"impl-SubAssign%3C%26Decimal%3E-for-%26mut+Decimal"],[296,"impl-SubAssign%3C%26Decimal%3E-for-Decimal"],[297,"impl-SubAssign-for-Decimal"],[298,"impl-Sum%3C%26Decimal%3E-for-Decimal"],[299,"impl-Sum-for-Decimal"],[321,"impl-TryFrom%3Cf32%3E-for-Decimal"],[322,"impl-TryFrom%3Cf64%3E-for-Decimal"],[324,"impl-TryFrom%3C%26str%3E-for-Decimal"],[612,"impl-Flags-for-SubFlags"],[613,"impl-SubFlags"],[614,"impl-DerivativeType"],[615,"impl-Flags-for-DerivativeType"],[1036,"impl-Octal-for-SubFlags"],[1037,"impl-LowerHex-for-SubFlags"],[1038,"impl-Debug-for-SubFlags"],[1039,"impl-Binary-for-SubFlags"],[1040,"impl-UpperHex-for-SubFlags"],[1046,"impl-LowerHex-for-DerivativeType"],[1047,"impl-Debug-for-DerivativeType"],[1048,"impl-Binary-for-DerivativeType"],[1049,"impl-Octal-for-DerivativeType"],[1050,"impl-UpperHex-for-DerivativeType"],[1051,"impl-Debug-for-SecurityBoard"],[1052,"impl-Display-for-SecurityBoard"],[1088,"impl-Debug-for-SecurityListCategory"],[1089,"impl-Display-for-SecurityListCategory"],[1162,"impl-Flags-for-SubFlags"],[1163,"impl-SubFlags"],[1164,"impl-Flags-for-DerivativeType"],[1165,"impl-DerivativeType"],[1611,"impl-TryFrom%3C%26str%3E-for-WarrantType"],[1612,"impl-TryFrom%3Ci32%3E-for-WarrantType"],[2347,"impl-Debug-for-TopicType"],[2348,"impl-Display-for-TopicType"],[2361,"impl-Debug-for-OrderType"],[2362,"impl-Display-for-OrderType"],[2363,"impl-Debug-for-OrderStatus"],[2364,"impl-Display-for-OrderStatus"],[2366,"impl-Display-for-OrderSide"],[2367,"impl-Debug-for-OrderSide"],[2368,"impl-Debug-for-TriggerPriceType"],[2369,"impl-Display-for-TriggerPriceType"],[2370,"impl-Display-for-OrderTag"],[2371,"impl-Debug-for-OrderTag"],[2372,"impl-Debug-for-TimeInForceType"],[2373,"impl-Display-for-TimeInForceType"],[2374,"impl-Display-for-TriggerStatus"],[2375,"impl-Debug-for-TriggerStatus"],[2376,"impl-Debug-for-OutsideRTH"],[2377,"impl-Display-for-OutsideRTH"],[2379,"impl-Debug-for-CommissionFreeStatus"],[2380,"impl-Display-for-CommissionFreeStatus"],[2381,"impl-Debug-for-DeductionStatus"],[2382,"impl-Display-for-DeductionStatus"],[2383,"impl-Debug-for-ChargeCategoryCode"],[2384,"impl-Display-for-ChargeCategoryCode"]],"c":"OjAAAAEAAAAAAAgAEAAAANQA1gDiAOUAHAGRBJIEkwSUBA==","e":"OzAAAAEAALgGbQAeAAAAJwAAAC8AAAAxABYASgACAE4ABABUAAUAWwAAAF0AEQBwAAAAdAACAHgACQCEAAYAjAANAJsACwCrAAAArQACALEAAAC0AAAAtgAAALgAAAC6AAEAvgABAMIABQDJAAAA0gAAANUAAADXAAAA2wAAAN0AAQDmAAkA8gABAPYACQAGAQcAGAEAABoBAAAfAR0AQgEKAE4BBgBWAQYAXgEHAG0BAACLAQAAjwEBAJwBAACfAQAAowEAAKUBAwCxAQAAwwEAAMUBAADHAQEAygEAANUBAADZAQEA3AEAAOABAADrAQAACAIAAAoCAAASAgAAFQIAABcCAwAhAgEAJwICADUCAABAAgAARwIBAGUCAABoAgAAbgJzAPkCmACTAwMApQMMALcDJQDsAxAABgRCAFIEAABVBAAAVwQAAGgEAABrBAAAbgQAAIsEAACNBAAAmQQFAKYEDwAIBQEAZAUDAIwFJwDkBTQALAaRAMoGOQAcBzkA5wdbAE4IdwDZCBAA6wghABAJDQAqCTgAiwkAAI0JAACXCQ0ApwkNADgKKQCTCjMA4wpnAEwLLQB+Cy0A","P":[[57,"T"],[71,""],[99,"T"],[104,""],[119,"D"],[121,""],[166,"T"],[170,""],[171,"T"],[172,""],[175,"T"],[176,""],[177,"T"],[178,""],[190,"FromStr::Err"],[191,""],[197,"H"],[198,"__H"],[199,""],[201,"U"],[208,""],[222,""],[223,""],[240,",,"],[241,""],[255,"I"],[257,""],[259,""],[260,""],[279,"S"],[280,""],[281,"S"],[282,""],[298,"I"],[300,""],[304,"T"],[309,""],[318,""],[319,""],[323,"U,T"],[324,""],[325,"U,T"],[331,"TryFrom::Error"],[332,""],[333,"U"],[340,""],[349,"V"],[356,""],[621,"T"],[740,""],[741,"T,I,J"],[747,""],[760,""],[811,"T"],[862,""],[948,""],[950,"__D"],[989,""],[1025,"T"],[1029,""],[1096,"T"],[1105,""],[1106,"T"],[1108,""],[1109,"T"],[1110,""],[1111,"T"],[1127,""],[1128,"T"],[1130,""],[1131,"T"],[1133,""],[1134,"T"],[1160,""],[1172,"T"],[1174,""],[1176,"FromPrimitive::Primitive"],[1177,"FromStr::Err"],[1182,""],[1189,"__H"],[1213,""],[1223,""],[1229,"U"],[1287,"IntoIterator::IntoIter"],[1289,""],[1290,""],[1337,""],[1357,""],[1368,""],[1370,"T,I"],[1379,""],[1402,"T,I"],[1403,""],[1405,""],[1408,"T,I"],[1409,""],[1410,""],[1413,"T,I"],[1418,""],[1419,"__S"],[1453,"S"],[1454,"__S"],[1459,""],[1464,"T,I"],[1471,""],[1476,"T,I,"],[1477,"T"],[1478,""],[1507,"T"],[1558,""],[1574,""],[1576,""],[1579,"U,T"],[1590,""],[1591,"U,T"],[1594,""],[1595,"U,T"],[1596,"TryFrom::Error"],[1597,"U,T"],[1598,""],[1599,"U,T"],[1601,""],[1602,"U,T"],[1603,""],[1604,"U,T"],[1605,"TryFrom::Error"],[1606,"U,T"],[1608,"TryFrom::Error"],[1609,"U,T"],[1610,""],[1611,"TryFrom::Error"],[1612,""],[1613,"U,T"],[1614,""],[1615,"U,T"],[1619,""],[1620,"U,T"],[1621,""],[1622,"U,T"],[1624,""],[1625,"U,T"],[1631,""],[1633,"U,T"],[1634,""],[1635,"U,T"],[1637,""],[1638,"U,T"],[1640,""],[1642,"U,T"],[1643,""],[1644,"U,T"],[1653,"TryFrom::Error"],[1654,"U,T"],[1656,""],[1658,"U,T"],[1659,""],[1660,"U,T"],[1661,""],[1662,"U,T"],[1663,""],[1664,"U,T"],[1665,"TryFromPrimitive::Primitive"],[1667,"U"],[1725,""],[1799,"T,I,"],[1800,"T"],[1801,""],[1819,"V"],[1878,""],[1879,""],[1880,"T,I"],[1884,""],[2022,"T"],[2115,""],[2118,""],[2119,""],[2165,"T"],[2205,""],[2249,""],[2264,""],[2282,"__D"],[2286,"D"],[2288,"__D"],[2289,"D"],[2295,"__D"],[2296,"D"],[2299,"__D"],[2306,"D"],[2308,"__D"],[2317,""],[2406,"T"],[2442,""],[2443,"T"],[2444,""],[2445,"T"],[2454,"FromPrimitive::Primitive"],[2456,"FromStr::Err"],[2469,""],[2470,"__H"],[2485,""],[2491,"U"],[2542,""],[2551,""],[2552,""],[2565,""],[2566,""],[2573,""],[2578,""],[2608,""],[2613,""],[2615,"__S"],[2627,"S"],[2629,"__S"],[2630,"S"],[2636,"__S"],[2637,"S"],[2640,"__S"],[2647,"S"],[2648,"__S"],[2658,""],[2666,""],[2676,""],[2683,"I"],[2684,""],[2698,"T,I"],[2706,"T"],[2746,""],[2758,""],[2764,""],[2786,"U,T"],[2789,"TryFrom::Error"],[2790,"U,T"],[2804,"TryFrom::Error"],[2806,"U,T"],[2808,"TryFrom::Error"],[2809,"U,T"],[2811,"TryFrom::Error"],[2812,"U,T"],[2813,"TryFrom::Error"],[2815,"U,T"],[2817,"TryFrom::Error"],[2819,"U,T"],[2821,"TryFrom::Error"],[2822,"U,T"],[2823,"TryFrom::Error"],[2824,"U,T"],[2826,"TryFrom::Error"],[2827,"U,T"],[2844,"U"],[2890,""],[2937,"I"],[2941,"V"]]}]]'));
    +var searchIndex = new Map(JSON.parse('[["longport",{"t":"PFPFPPTPTPGTPPPGTTGTTTTPPTPGTEPPIPGTTTEPPPPTPPNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOPGPPPTPPPPPFPPPPGPPPPFPFFPFPPPPPPPTPPPPFPFPPPPPPPPPPGGPPPPPPPPPPPPPPPPPPPPFFPPPPPPPPPFFPPPPPPTPPGFGPPPPPPPFPPGPFPPPPPFFFFGFFPPTPPFFFPPFFPPPPPPPPPPPGFGFFFGFFPGPPPPFFFPPTPPPPPPPPPPFPGGGFPPPPPPPPPPPPPPPPPPPPPPPPPTPFPFGGGFFPPPNNONNNNOOOOOOOOOOOONNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNOOOOONONNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNOOOOOONOOONNNNNNNNNNNNNNOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNOOOONOONNOOOONNNNNNNNNNNNNNNNNOOOOONNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNOOOOOOOONNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNONNNNOOOOOOOOOOOOOOONOOOOOOOOOOOOOONNONOOOOOOOOOOOOOOOOOONNNNOOOOOOOONNNOOOOOOOONNNNNOOOOOOOOOOOOOOOOOONNNNNNNNNNONNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONOOOOOONNNNONNNOOOOOOOOOOONNOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOONONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNOOONOPPFPPPGPPPPPFGFGGPPPPGPPFFFPPPFFFFFFFFFFPPPPPPPPPPPFPPPPPPPPPPFPFFFFFGGGGPGPPPPPPPPPGFPPPPFPPPPPFFFFFPPPPPGGFGGPPPPPPPPPPPPPPPPPNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONOONNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNOOOOOONOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNONNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNOOONOOONNNOOOOOOOOOOONNNNNNNNNNNNNNOOOOOOOONOONOOOOONNOOOOOOOOOONNOOONONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNOOONNNNNOOOOOOONNOOONOONNNNNNOOOOOOOOONNOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNOOONNOOOOOOONNOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNO","n":["CN","Config","Confirmed","Decimal","DecodeJSON","DecodeProtobuf","E","EN","E_INVERSE","Err","Error","HALF_PI","HK","HttpClient","InvalidSecuritySymbol","Language","MAX","MIN","Market","NEGATIVE_ONE","ONE","ONE_HUNDRED","ONE_THOUSAND","Ok","Other","PI","ParseField","PushCandlestickMode","QUARTER_PI","QuoteContext","Realtime","Response","Result","SG","SimpleError","TEN","TWO","TWO_PI","TradeContext","US","Unknown","UnknownCommand","WsClient","ZERO","ZH_CN","ZH_HK","abs","","abs_sub","add","","","","add_assign","","","","borrow","","","","","","","borrow_mut","","","","","","","ceil","checked_add","","checked_cos","checked_div","","checked_exp","checked_exp_with_tolerance","checked_ln","checked_log10","checked_mul","","checked_norm_pdf","checked_powd","checked_powf","checked_powi","checked_powu","checked_rem","","checked_sin","checked_sub","","checked_tan","clone","","","","","clone_into","","","","","clone_to_uninit","","","","","cmp","code","cos","create_metadata","decimal","default","","","","deserialize","","","div","","","","div_assign","","","","dont_print_quote_packages","enable_overnight","eq","","","","erf","exp","exp_with_tolerance","floor","fmt","","","","","","","","","","","","","","fract","from","","","","","","","","","","","","","","","","","","","","","","","","from_env","from_f32","from_f32_retain","from_f64","from_f64_retain","from_i128","from_i128_with_scale","from_i32","from_i64","from_parts","from_scientific","from_str","","from_str_exact","from_str_radix","","from_u128","from_u32","from_u64","hash","","http_url","httpclient","into","","","","","","","into_simple_error","inv","is_integer","is_negative","","is_positive","","is_sign_negative","is_sign_positive","is_zero","","language","ln","log10","log_path","mantissa","max","max_value","message","min","min_value","mul","","","","mul_assign","","","","neg","","new","","norm_cdf","norm_pdf","normalize","normalize_assign","one","partial_cmp","pow","","","","powd","powf","powi","powu","product","","push_candlestick_mode","quote","quote_ws_url","refresh_access_token","rem","","","","rem_assign","","","","rescale","round","round_dp","round_dp_with_strategy","round_sf","round_sf_with_strategy","saturating_add","saturating_mul","saturating_sub","scale","serialize","","","set_scale","set_sign","set_sign_negative","set_sign_positive","signum","sin","source","sqrt","sub","","","","sub_assign","","","","sum","","tan","to_f64","to_i128","to_i64","to_owned","","","","","to_string","","","","","to_u128","to_u64","trace_id","trade","trade_ws_url","trunc","trunc_with_scale","try_from","","","","","","","","","","","try_from_i128_with_scale","try_into","","","","","","","try_new","type_id","","","","","","","unpack","vzip","","","","","","","zero","error","name","symbol","code","message","trace_id","Add","AdjustType","American","Amplitude","Ascending","BROKER","BalancePoint","","Bear","Between_3_6","Between_6_12","Brokers","","Bull","CNIX","CNSector","CalcIndex","Call","","CallPrice","","Candlestick","","CapitalDistribution","CapitalDistributionResponse","CapitalFlow","CapitalFlowLine","ChangeRate","","ChangeValue","","CodeMoved","ConversionRatio","","DEPTH","Day","Delisted","Delta","","Depth","","DerivativeType","Descending","DividendRatioTtm","Down","EffectiveLeverage","","Europe","Expired","ExpiryDate","","FifteenMinute","FilterWarrantExpiryDate","FilterWarrantInOutBoundsType","FiveDayChangeRate","FiveMinute","FiveMinutesChangeRate","FortyFiveMinute","ForwardAdjust","FourHour","Fuse","GT_12","Gamma","HKEquity","HKHS","HKPreIPO","HKSector","HKWarrant","HalfYearChangeRate","Halted","ImpliedVolatility","","In","Inline","IntradayLine","IssuerInfo","ItmOtm","","LT_3","LastDone","","LeverageRatio","","LowerStrikePrice","","MarketTradingDays","MarketTradingSession","Month","Neutral","NoAdjust","Normal","","NormalTrade","OPTION","OneMinute","OpenInterest","OptionDirection","OptionQuote","OptionType","Out","OutstandingQty","OutstandingQuantity","OutstandingRatio","","Overnight","OvernightTrade","ParticipantInfo","PbRatio","PeTtmRatio","Period","PostTrade","PrePostQuote","PreTrade","Premium","","PrepareList","","PushBrokers","PushCandlestick","PushDepth","PushEvent","PushEventDetail","PushQuote","PushTrades","Put","","QUOTE","Quarter","Quote","QuoteContext","QuotePackageDetail","RealtimeQuote","Remove","Replace","RequestCreateWatchlistGroup","RequestUpdateWatchlistGroup","Rho","SGMain","SGSector","SHMainConnect","SHMainNonConnect","SHSTAR","STI","SZGEMConnect","SZGEMNonConnect","SZMainConnect","SZMainNonConnect","SecuritiesUpdateMode","Security","SecurityBoard","SecurityBrokers","SecurityCalcIndex","SecurityDepth","SecurityListCategory","SecurityQuote","SecurityStaticInfo","SixtyMinute","SortOrderType","SplitStockHalts","Status","StrikePrice","","StrikePriceInfo","SubFlags","Subscription","Suspend","SuspendTrade","TRADE","TenDayChangeRate","TenMinute","Theta","ThirtyMinute","ThreeHour","ThreeMinute","ToBeOpened","ToCallPrice","","TotalMarketValue","Trade","","TradeDirection","TradeSession","TradeStatus","TradingSessionInfo","Turnover","","TurnoverRate","TwentyMinute","TwoHour","TwoMinute","USDJI","USMain","USNSDQ","USOption","USOptionS","USPink","USSector","Unknown","","","","UnknownPeriod","Up","UpperStrikePrice","","Vega","Volume","","VolumeRatio","WARRANT","WarrantDelta","WarrantInfo","WarrantPrepareList","WarrantQuote","WarrantSortBy","WarrantStatus","WarrantType","WatchlistGroup","WatchlistSecurity","Week","Year","YtdChangeRate","all","","amplitude","as_str_name","","","","ask_brokers","","asks","","avg_price","balance_point","","begin_time","bid_brokers","","bids","","bitand","","bitand_assign","","bitor","","bitor_assign","","bits","","","","bitxor","","bitxor_assign","","board","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bps","broker_ids","","brokers","calc_indexes","call_price","","","call_symbol","candlestick","candlesticks","","capital_distribution","capital_flow","","capital_in","capital_out","category","change_rate","","change_value","","circulating_shares","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","close","cmp","","","","complement","","contains","","contract_multiplier","contract_size","contract_type","conversion_ratio","","","create_watchlist_group","currency","current_turnover","current_volume","default","","","","","","","","","","","","","delete_watchlist_group","delta","","depth","description","deserialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","detail","difference","","direction","","dividend_ratio_ttm","dividend_yield","drop","effective_leverage","","empty","","end_at","end_time","eps","eps_ttm","eq","","","","","","","","","","","","","","","","","exchange","expiry_date","","","","extend","","five_day_change_rate","five_minutes_change_rate","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_bits","","from_bits_retain","","","","from_bits_truncate","","from_i32","","","","from_iter","","from_name","","from_primitive","from_str","","","","","from_str_name","","","","gamma","half_trading_days","half_year_change_rate","hash","","","","","","","","","","","","","","","","high","","","","","","","historical_volatility","history_candlesticks_by_date","history_candlesticks_by_offset","hk_shares","id","","implied_volatility","","","","inflow","insert","","intersection","","intersects","","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","into_iter","","intraday","is_all","","is_confirmed","is_empty","","is_valid","","","","issuer_id","iter","","iter_names","","itm_otm","","key","large","last_done","","","","","","","","last_trade_date","leverage_ratio","","log_subscriber","lot_size","low","","","","","","","lower_strike_price","","","market","","medium","member_id","mode","","name","","","","","","","name_cn","","","","name_en","","","","name_hk","","","","new","","not","","open","","","","","","open_interest","","option_chain_expiry_date_list","option_chain_info_by_date","option_quote","order_num","outstanding_qty","","outstanding_quantity","outstanding_ratio","","","overnight_quote","partial_cmp","","","","participants","pb_ratio","pe_ttm_ratio","period","position","","post_market_quote","pre_market_quote","premium","","prev_close","","","","price","","","","put_symbol","quote","quote_level","quote_package_details","realtime_brokers","realtime_candlesticks","realtime_depth","realtime_quote","realtime_trades","remove","","rho","securities","","","","","security_list","serialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","set","","small","standard","start_at","static_info","status","stock_derivatives","strike_price","","","","sub","","sub_assign","","sub_types","subscribe","subscribe_candlesticks","subscriptions","symbol","","","","","","","","","","","symmetric_difference","","ten_day_change_rate","theta","timestamp","","","","","","","","","","","to_call_price","","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","toggle","","total_market_value","total_shares","trade_session","","","trade_sessions","trade_status","","","","","trade_type","trades","","trading_days","","trading_session","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_from_primitive","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_new","turnover","","","","","","","","","","turnover_rate","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","underlying_symbol","","union","","unsubscribe","unsubscribe_candlesticks","update_watchlist_group","upper_strike_price","","","vega","volume","","","","","","","","","","","","volume_ratio","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","warrant_delta","warrant_issuers","warrant_list","warrant_quote","warrant_type","watched_at","watched_price","watchlist","ytd_change_rate","ALO","AO","AccountBalance","Active","AllocatedSub","AnyTime","BalanceType","Broker","Buy","Calculated","Canceled","Cash","CashFlow","CashFlowDirection","CashInfo","ChargeCategoryCode","CommissionFreeStatus","Creditor","Day","Deactive","Debtor","DeductionStatus","Done","ELO","EstimateMaxPurchaseQuantityOptions","EstimateMaxPurchaseQuantityResponse","Execution","Expired","Filled","Fund","FundPosition","FundPositionChannel","FundPositionsResponse","GetCashFlowOptions","GetFundPositionsOptions","GetHistoryExecutionsOptions","GetHistoryOrdersOptions","GetStockPositionsOptions","GetTodayExecutionsOptions","GetTodayOrdersOptions","GoodTilCanceled","GoodTilDate","Grey","In","LIT","LO","LimitIfTouched","LongTerm","MIT","MO","MarginCall","MarginRatio","MarketIfTouched","New","NoData","NonExercise","None","","Normal","NotReported","ODD","Offline","Order","OrderChanged","OrderChargeDetail","OrderChargeFee","OrderChargeItem","OrderDetail","OrderHistoryDetail","OrderSide","OrderStatus","OrderTag","OrderType","Out","OutsideRTH","Overnight","PartialFilled","PartialWithdrawal","Pending","","PendingCancel","PendingReplace","Private","ProtectedNotReported","PushEvent","PushOrderChanged","RTHOnly","Ready","Rejected","Released","ReplaceOrderOptions","Replaced","ReplacedNotReported","SLO","Sell","Stock","StockPosition","StockPositionChannel","StockPositionsResponse","SubmitOrderOptions","SubmitOrderResponse","TSLPAMT","TSLPPCT","TSMAMT","TSMPCT","Third","TimeInForceType","TopicType","TradeContext","TriggerPriceType","TriggerStatus","Unknown","","","","","","","","","","","","","VarietiesNotReported","WaitToCancel","WaitToNew","WaitToReplace","account_balance","account_channel","","account_no","amount","available_cash","available_quantity","balance","borrow","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","borrow_mut","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","business_time","business_type","","buy_power","cancel_order","cash_flow","cash_infos","cash_max_qty","channels","","charge_detail","clone","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","clone_to_uninit","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","code","","cost_net_asset_value","cost_price","currency","","","","","","","","","","","current_net_asset_value","deductions_amount","deductions_currency","deductions_status","default","","","","","","","","","","","","","","","","","description","deserialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","direction","drop","end_at","","eq","","","","","","","","","","","","","","estimate_max_purchase_quantity","executed_price","","","executed_quantity","","","expire_date","","","fees","fm_factor","fmt","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fractional_shares","free_amount","free_currency","free_status","from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","from_primitive","","from_str","","","","","","","","","","","","frozen_cash","fund_positions","hash","","","","","","","","","","","","","","history","history_executions","history_orders","holding_units","im_factor","init_margin","init_quantity","into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","items","last_done","","last_price","last_share","limit_offset","","","","","log_subscriber","maintenance_margin","margin_call","margin_max_qty","margin_ratio","market","","","max_finance_amount","mm_factor","msg","","","","name","","net_asset_value_day","net_assets","new","","","","","","","","","","order_detail","order_id","","","","","","","","order_type","","","outside_rth","","","page","platform_deducted_amount","platform_deducted_currency","platform_deducted_status","positions","","price","","","","","","quantity","","","","","remaining_finance_amount","remark","","","","","replace_order","risk_level","serialize","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","settling_cash","side","","","","","size","start_at","","status","","","","","","stock_name","","","stock_positions","submit_order","submitted_at","","","submitted_price","","submitted_quantity","subscribe","symbol","","","","","","","","","","","","symbol_name","","symbols","","tag","","","time","time_in_force","","to_owned","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","to_string","","","","","","","","","","","","today_executions","today_orders","total_amount","total_cash","trade_done_at","trade_id","trailing_amount","","","","","trailing_percent","","","","","transaction_flow_name","trigger_at","","","trigger_price","","","","","trigger_status","","","try_from","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_into","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","try_new","type_id","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","unsubscribe","updated_at","","","vzip","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","withdraw_cash"],"q":[[0,"longport"],[357,"longport::Error"],[360,"longport::SimpleError"],[363,"longport::quote"],[1887,"longport::trade"],[2990,"rust_decimal::decimal"],[2991,"core::option"],[2992,"longport::config"],[2993,"longport::types"],[2994,"core::cmp"],[2995,"longport::error"],[2996,"alloc::string"],[2997,"std::collections::hash::map"],[2998,"core::result"],[2999,"serde::de"],[3000,"core::fmt"],[3001,"serde_json::error"],[3002,"longport_wscli::error"],[3003,"longport_httpcli::error"],[3004,"prost::error"],[3005,"rust_decimal::error"],[3006,"core::hash"],[3007,"core::convert"],[3008,"std::path"],[3009,"core::iter::traits::iterator"],[3010,"time::offset_date_time"],[3011,"serde::ser"],[3012,"core::error"],[3013,"core::any"],[3014,"longport::quote::sub_flags"],[3015,"longport::quote::types"],[3016,"longport_proto::quote"],[3017,"longport::quote::context"],[3018,"alloc::vec"],[3019,"core::iter::traits::collect"],[3020,"longport::quote::push_types"],[3021,"longport_candlesticks::candlestick"],[3022,"time::date"],[3023,"time::primitive_date_time"],[3024,"bitflags::iter"],[3025,"tracing_core::subscriber"],[3026,"alloc::sync"],[3027,"num_enum"],[3028,"longport_proto::quote::capital_flow_intraday_response"],[3029,"longport_proto::quote::capital_distribution_response"],[3030,"longport_proto::quote::user_quote_level_detail"],[3031,"tokio::sync::mpsc::unbounded"],[3032,"longport::trade::context"],[3033,"longport::trade::types"],[3034,"longport::trade::requests::get_cash_flow"],[3035,"longport::trade::push_types"],[3036,"longport::trade::requests::estimate_max_purchase_quantity"],[3037,"longport::trade::requests::get_history_executions"],[3038,"longport::trade::requests::get_history_orders"],[3039,"longport::trade::requests::get_today_executions"],[3040,"longport::trade::requests::get_today_orders"],[3041,"longport::trade::requests::replace_order"],[3042,"longport::trade::requests::submit_order"],[3043,"longport::trade::requests::get_fund_positions"],[3044,"longport::trade::requests::get_stock_positions"]],"i":"Ah`Ad`Cb0bAb1Dn`2533`22`22220An34`3`50`6`333`664432233333333333325Af5174360517444444444444444444444444360743607436074140`43674474444444400436744444444336055117744444444444444360555551170444444444447444444470`436051754444444444044044414444444444444044444444444444440`0044444444444444444444744444454444444444444444360743517441`044444436051774436051744360517443605174AHb0AHdAHf00Ln`J`HbKdFlKf3JfKh0`N`2Ih0`Jb458`2``8`5858G`697Gf17:`4`9:Id8;<28;1``;1;1Gd237<55555<39>0Mb3`11`3`3?149```````:>Fl9=```Ln0``3==========`````````:`;Kf04```7<24;4;;;<044`?````044;;;>>>>>>>>J`>Jf=<26626676`>``````==647Gl?9<>MlGjMjJjJnKn6L`6543IjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGfGhHjMjMlMnHlN`NbFlHnI`IbIdIfFnIhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGfMfIbJlGh0JhKn=K`Hl4Hn55GlHf065151:7Hj4Fl4I`?Gl?MdI`IbIdIfFnIhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKlKnL`LbLdHhLfHfLhLjGlMhG`GbGdGfNbFlFnIfJd:MfGhKn=65MdL`448IdIhJ`JbJfKdKfKhKjKlHbMbG`GbGdGfMfJdJhKnGlFlFn22HjMjMlMnHlN`Nb88888HnI`IbIdIf<<<<Ld?754321KdKfKhKjKlMbG`GbGdGfHjIjIlInJdJhHd2Gh0MfLjM`65KnGlHhFlFn10108?MjMlMnHlN`Nb7HnI`IbIdIf;IhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGfFlFnGh21Hl327654Kb4343Kn=:LfHjIjIlInJdJh7Gl180;Mf765432Hd3:2LbLh;?M`00=1LjLl2Md7JlKbMh:210:21046FlFnHjIjInJdJhHd2GlGh00I`Kn355037G`GbGdGf677Hl6Ib==69Il>=<8IfJnK`0<<<<<<<InJ`JbJdJfJhJjGjJlJnHdK`KbKlKnL`LbLdHhLfHfLhLjLnGlMbMhG`GbGdGfFlFn=K`MdGhKnMfJdJh3?8787Hn555Nb14IjIn547LhGlMh?>11HjIf6Il6;:JnHdHhHfKn9Gh8HlFlHnI`IbId=FnIhIj?InJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMdG`GbGdGfIh6FlFn9MfHjIfL`Lb3IjInJdJh6GhMn1Ld22:MjMl3HlN`NbFlHnI`0IbIdIf0FnIh0Mf0IjIl0In0J`0Jb0Jd0Jf00Jh0JjGjJlJn0Hd0K`0KbKdKfKhKjKl0Kn0L`0Lb0LdHh0Lf0Hf0LhLjLlLnM`HbGlMb0MhMd0G`0Gb0Gd0Gf0JfKlGhHjMjMlMnHlN`NbFlHnI`IbIdIfFnIhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGfGhHjIjIlInJdJhJnHdKnGl0:9MjMlMnHlN`NbFlHnI`IbIdIfFnIhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGfJdJhFlFnGh003Kn==HjI`IfIjIlIn;:JnHd8Gl0:8MjMlMnHlN`NbFlHn?IbIdIfFnIhMfIjIlInJ`JbJdJfJhJjGjJlJnHdK`KbKdKfKhKjKlKnL`LbLdHhLfHfLhLjLlLnM`HbGlMbMhMdG`GbGdGf7Gh00Kn??19AD`0`ADnADjAE``AEhADfAEdADbABl`````6ADl87`AEf:```332``````````118AFf;;ADh:<<:`052:62:5<:`AH``````````2`:667366AC`7``;87=`77>96`````>>>>:`````>792<5=;84:637777ABfAFjAG`AGnAElAFdAGbABnAGjAGl9:6;ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdAGjAGlABfAC`AGnAH`ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGd7ABj8;ABf041ACbAGnAEbAElAF`AFbAFdABh?<9<222AGfACdACfAGhAChACjAD`ADbADfADhADjADlADnAE`AEdAEfAEhABnAGjAGlAGnAH`?>ADd>=<;:9AEb987AEjAElAEnAF`AFbAFdABhABlAFf?AFhAFjAFlAFnAG`AGbAGdABnABfACdACfAC`AD`ADbADfADhADjADlADnAE`AEdAEfAEhABlAFfABfAGnAEbAFb210ACn21AEnAGdAGjAGlAC`08AH`ACbABjAGfACdACfAGhAChACjACl?AD`0ADb0ADdADf0ADh0ADj0ADl0ADn0AE`0AEbAEd0AEf0AEh0AEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdACb===AGjAGlABfAC`AGnAH`6ABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABl0AFf0ABnAFhAFjAFlAFnAG`AGbAGd98AC`AD`ADbADfADhADjADlADnAE`AEdAEfAEhAFdABf=<;:98765432ABlAFfAFb33AFlAGdABhAGbAGjAGl9AC`AGnAH`ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGd=AEb=AGn0AClACn23AFbABfABh0AGl2ACfACj;3:89AEj6AElAEnAFl7ACbABjAGfACd9AGhACh:AClACnABf83=AGjAGnADdAEbAFb310610<000AFjAG`?943AEj35403AGbABh<;865:09AGlACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGd;ACfACjAGnAEbAFbABjACd66543AEj3543ABf0654ACn771439ACh98ADd87ABnAFl?0?AGfAGh=<;8<;7AC`ACb<;ACf8ACjACl;AD`ADb;ADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdAC`AD`ADbADfADhADjADlADnAE`AEdAEfAEhABf0AF`ABhADd0AClACnAGnAEbAFb43210ABn32154321321AGjAGl;AC`06AH`ACbABjAGfACdACfAGhAChACjAClACnAD`0ADb0ADdADf0ADh0ADj0ADl0ADn0AE`0AEbAEd0AEf0AEh0AEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdAGjAGlABfAC`AGnAH`ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdABfAGjAGl2AC`AGnAH`ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGdABfAGnAEb?AGjAGl4AC`4AH`ACbABjAGfACdACfAGhAChACjAClACnAD`ADbADdADfADhADjADlADnAE`AEbAEdAEfAEhAEjAElAEnAF`AFbAFdABhABlAFfABnAFhAFjAFlAFnAG`AGbAGd;","f":"``````````````````````````````````````````````{{{d{b}}}b}0{{{d{b}}{d{b}}}b}{{b{d{b}}}b}{{{d{b}}b}b}{{bb}b}3{{{d{f{d{fb}}}}{d{b}}}h}{{{d{f{d{fb}}}}b}h}{{{d{fb}}{d{b}}}h}{{{d{fb}}b}h}{d{{d{c}}}{}}000000{{{d{f}}}{{d{fc}}}{}}000000:{{bb}{{j{b}}}}{{{d{b}}{d{b}}}{{j{b}}}}{{{d{b}}}{{j{b}}}}210{{{d{b}}b}{{j{b}}}}113210{{{d{b}}l}{{j{b}}}}{{{d{b}}n}{{j{b}}}}{{{d{b}}A`}{{j{b}}}}654564{{{d{b}}}b}{{{d{Ab}}}Ab}{{{d{Ad}}}Ad}{{{d{Af}}}Af}{{{d{Ah}}}Ah}{{d{d{fc}}}h{}}0000{{dAj}h}0000{{{d{b}}{d{b}}}Al}{{{d{An}}}{{j{n}}}}8{{{d{Af}}}{{Bb{B`B`}}}}`{{}b}{{}Ab}{{}Ad}{{}Ah}{{{Bd{Aj}}}b}{c{{Bf{b}}}Bh}{c{{Bf{Ah}}}Bh}{{{d{b}}{d{b}}}b}{{b{d{b}}}b}{{{d{b}}b}b}{{bb}b}{{{d{fb}}{d{b}}}h}{{{d{f{d{fb}}}}{d{b}}}h}{{{d{f{d{fb}}}}b}h}{{{d{fb}}b}h}{AfAf}0{{{d{b}}{d{b}}}Bj}{{{d{Ab}}{d{Ab}}}Bj}{{{d{Ad}}{d{Ad}}}Bj}{{{d{Ah}}{d{Ah}}}Bj}{{{d{b}}}b}0;0{{{d{b}}{d{fBl}}}{{Bf{hBn}}}}000{{{d{Ab}}{d{fBl}}}C`}0{{{d{Ad}}{d{fBl}}}C`}{{{d{Af}}{d{fBl}}}C`}{{{d{Cb}}{d{fBl}}}C`}0{{{d{An}}{d{fBl}}}C`}0{{{d{Ah}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Ah}}{d{fBl}}}C`}8{nb}{Cdb}{cc{}}{Cfb}{Chb}{Cjb}{Clb}{Cnb}{Ajb}{D`b}{Dbb}{Ddb}{A`b}:::{DfCb}{DhCb}{DjCb}{DlCb}>>{CbAn}?{{}{{Dn{Af}}}}{E`{{j{b}}}}0{l{{j{b}}}}0{Cd{{j{b}}}}{{CdDd}b}{Cj{{j{b}}}}{n{{j{b}}}}{{DdDdDdBjDd}b}{{{d{Eb}}}{{Bf{bEd}}}}{{{d{Eb}}}{{Bf{b}}}}{{{d{Eb}}}{{Bf{Ahc}}}{}}2{{{d{Eb}}Dd}{{Bf{bEd}}}}{{{d{Eb}}Dd}{{Bf{b}}}}{Cn{{j{b}}}}{Dd{{j{b}}}}{A`{{j{b}}}}{{{d{b}}{d{fc}}}hEf}{{{d{Ah}}{d{fc}}}hEf}{{Afc}Af{{Eh{B`}}}}`{{}c{}}000000{CbAn}{bb}{{{d{b}}}Bj}00000000{{AfAb}Af}{{{d{b}}}b}0{{Afc}Af{{Eh{Ej}}}}{{{d{b}}}Cd}{{bb}b}{{}b}{{{d{An}}}{{d{Eb}}}}21{{{d{b}}b}b}{{b{d{b}}}b}{{{d{b}}{d{b}}}b}5{{{d{fb}}b}h}{{{d{fb}}{d{b}}}h}{{{d{f{d{fb}}}}b}h}{{{d{f{d{fb}}}}{d{b}}}h}?<{{nDd}b}{{ceg}Af{{Eh{B`}}}{{Eh{B`}}}{{Eh{B`}}}}>>>{{{d{fb}}}h};{{{d{b}}{d{b}}}{{j{Al}}}}{{bl}}{{bn}}{{bA`}}{{bb}}>{{{d{b}}l}b}{{{d{b}}n}b}{{{d{b}}A`}b}{cb{{En{}{{El{b}}}}}}{cb{{En{}{{El{{d{b}}}}}}}}{{AfAd}Af}`{{Afc}Af{{Eh{B`}}}}{{{d{Af}}{j{F`}}}{{Dn{B`}}}}{{{d{b}}b}b}{{{d{b}}{d{b}}}b}{{bb}b}{{b{d{b}}}b}{{{d{f{d{fb}}}}{d{b}}}h}{{{d{f{d{fb}}}}b}h}{{{d{fb}}{d{b}}}h}{{{d{fb}}b}h}{{{d{fb}}Dd}h}{{{d{b}}}b}{{{d{b}}Dd}b}{{{d{b}}DdFb}b}{{{d{b}}Dd}{{j{b}}}}{{{d{b}}DdFb}{{j{b}}}};;;{{{d{b}}}Dd}{{{d{b}}}{{Bd{Aj}}}}{{{d{b}}c}BfFd}{{{d{Ah}}c}BfFd}{{{d{fb}}Dd}{{Bf{hEd}}}}{{{d{fb}}Bj}h}00::{{{d{Cb}}}{{j{{d{Ff}}}}}}{{{d{b}}}{{j{b}}}}{{{d{b}}b}b}{{bb}b}{{b{d{b}}}b}{{{d{b}}{d{b}}}b}{{{d{f{d{fb}}}}{d{b}}}h}{{{d{f{d{fb}}}}b}h}{{{d{fb}}{d{b}}}h}{{{d{fb}}b}h}{cb{{En{}{{El{b}}}}}}{cb{{En{}{{El{{d{b}}}}}}}}{{{d{b}}}b}{{{d{b}}}{{j{l}}}}{{{d{b}}}{{j{Cd}}}}{{{d{b}}}{{j{n}}}}{dc{}}0000{dB`}0000{{{d{b}}}{{j{Cn}}}}{{{d{b}}}{{j{A`}}}}{{{d{An}}}{{j{{d{Eb}}}}}}`{{Afc}Af{{Eh{B`}}}}9{{{d{b}}Dd}b}{{{d{Eb}}}{{Bf{bEd}}}}{c{{Bf{e}}}{}{}}{E`{{Bf{bEd}}}}{l{{Bf{bEd}}}}22222{{{d{Eb}}}{{Bf{Ahc}}}{}}3{{CdDd}{{Bf{bEd}}}}{{}{{Bf{c}}}{}}000000{{nDd}{{Bf{bEd}}}}{dFh}000000{{{d{b}}}Fj}{{}c{}}000000{{}b}````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{}Fl}{{}Fn}`{{{d{G`}}}{{d{Eb}}}}{{{d{Gb}}}{{d{Eb}}}}{{{d{Gd}}}{{d{Eb}}}}{{{d{Gf}}}{{d{Eb}}}}````````````{{FlFl}Fl}{{FnFn}Fn}{{{d{fFl}}Fl}h}{{{d{fFn}}Fn}h}3210{{{d{Fl}}}Aj}0{{{d{Fn}}}Aj}05432`{d{{d{c}}}{}}000000000000000000000000000000000000000000000000000000000{{{d{f}}}{{d{fc}}}{}}000000000000000000000000000000000000000000000000000000000```{{{d{Gh}}c}{{Dn{Gj}}}{{Eh{B`}}}}{{{d{Gh}}eg}{{Dn{{Gn{Gl}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}{{H`{}{{El{Hb}}}}}}`````{{{d{Gh}}cGfClGd}{{Dn{{Gn{Hd}}}}}{{Eh{B`}}}}`{{{d{Gh}}c}{{Dn{Hf}}}{{Eh{B`}}}}{{{d{Gh}}c}{{Dn{{Gn{Hh}}}}}{{Eh{B`}}}}`````````{{{d{Gh}}}Gh}{{{d{Hj}}}Hj}{{{d{Hl}}}Hl}{{{d{Fl}}}Fl}{{{d{Hn}}}Hn}{{{d{I`}}}I`}{{{d{Ib}}}Ib}{{{d{Id}}}Id}{{{d{If}}}If}{{{d{Fn}}}Fn}{{{d{Ih}}}Ih}{{{d{Ij}}}Ij}{{{d{Il}}}Il}{{{d{In}}}In}{{{d{J`}}}J`}{{{d{Jb}}}Jb}{{{d{Jd}}}Jd}{{{d{Jf}}}Jf}{{{d{Jh}}}Jh}{{{d{Jj}}}Jj}{{{d{Gj}}}Gj}{{{d{Jl}}}Jl}{{{d{Jn}}}Jn}{{{d{Hd}}}Hd}{{{d{K`}}}K`}{{{d{Kb}}}Kb}{{{d{Kd}}}Kd}{{{d{Kf}}}Kf}{{{d{Kh}}}Kh}{{{d{Kj}}}Kj}{{{d{Kl}}}Kl}{{{d{Kn}}}Kn}{{{d{L`}}}L`}{{{d{Lb}}}Lb}{{{d{Ld}}}Ld}{{{d{Hh}}}Hh}{{{d{Lf}}}Lf}{{{d{Hf}}}Hf}{{{d{Lh}}}Lh}{{{d{Lj}}}Lj}{{{d{Ll}}}Ll}{{{d{Ln}}}Ln}{{{d{M`}}}M`}{{{d{Hb}}}Hb}{{{d{Gl}}}Gl}{{{d{Mb}}}Mb}{{{d{Md}}}Md}{{{d{G`}}}G`}{{{d{Gb}}}Gb}{{{d{Gd}}}Gd}{{{d{Gf}}}Gf}{{d{d{fc}}}h{}}00000000000000000000000000000000000000000000000000{{dAj}h}00000000000000000000000000000000000000000000000000`{{{d{G`}}{d{G`}}}Al}{{{d{Gb}}{d{Gb}}}Al}{{{d{Gd}}{d{Gd}}}Al}{{{d{Gf}}{d{Gf}}}Al}{FlFl}{FnFn}{{{d{Fl}}Fl}Bj}{{{d{Fn}}Fn}Bj}``````{{{d{Gh}}Ll}{{Dn{n}}}}```{{}Hj}{{}Ih}{{}J`}{{}Jb}{{}Jf}{{}Jj}{{}Gj}{{}Lf}{{}Ln}{{}G`}{{}Gb}{{}Gd}{{}Gf}{{{d{Gh}}nBj}{{Dn{h}}}}``{{{d{Gh}}c}{{Dn{Jj}}}{{Eh{B`}}}}`{c{{Bf{I`}}}Bh}{c{{Bf{Ib}}}Bh}{c{{Bf{Id}}}Bh}{c{{Bf{If}}}Bh}{c{{Bf{Fn}}}Bh}{c{{Bf{Ih}}}Bh}{c{{Bf{Mf}}}Bh}{c{{Bf{Ij}}}Bh}{c{{Bf{Il}}}Bh}{c{{Bf{In}}}Bh}{c{{Bf{J`}}}Bh}{c{{Bf{Jb}}}Bh}{c{{Bf{Jd}}}Bh}{c{{Bf{Jf}}}Bh}{c{{Bf{Jh}}}Bh}{c{{Bf{Jj}}}Bh}{c{{Bf{Gj}}}Bh}{c{{Bf{Jl}}}Bh}{c{{Bf{Jn}}}Bh}{c{{Bf{Hd}}}Bh}{c{{Bf{K`}}}Bh}{c{{Bf{Kb}}}Bh}{c{{Bf{Kl}}}Bh}{c{{Bf{Kn}}}Bh}{c{{Bf{L`}}}Bh}{c{{Bf{Lb}}}Bh}{c{{Bf{Ld}}}Bh}{c{{Bf{Hh}}}Bh}{c{{Bf{Lf}}}Bh}{c{{Bf{Hf}}}Bh}{c{{Bf{Lh}}}Bh}{c{{Bf{Lj}}}Bh}{c{{Bf{Gl}}}Bh}{c{{Bf{Mh}}}Bh}{c{{Bf{G`}}}Bh}{c{{Bf{Gb}}}Bh}{c{{Bf{Gd}}}Bh}{c{{Bf{Gf}}}Bh}`{{FlFl}Fl}{{FnFn}Fn}````{{{d{fGh}}}h}``{{}Fl}{{}Fn}````{{{d{Fl}}{d{Fl}}}Bj}{{{d{Id}}{d{Id}}}Bj}{{{d{Ih}}{d{Ih}}}Bj}{{{d{J`}}{d{J`}}}Bj}{{{d{Jb}}{d{Jb}}}Bj}{{{d{Jf}}{d{Jf}}}Bj}{{{d{Kd}}{d{Kd}}}Bj}{{{d{Kf}}{d{Kf}}}Bj}{{{d{Kh}}{d{Kh}}}Bj}{{{d{Kj}}{d{Kj}}}Bj}{{{d{Kl}}{d{Kl}}}Bj}{{{d{Hb}}{d{Hb}}}Bj}{{{d{Mb}}{d{Mb}}}Bj}{{{d{G`}}{d{G`}}}Bj}{{{d{Gb}}{d{Gb}}}Bj}{{{d{Gd}}{d{Gd}}}Bj}{{{d{Gf}}{d{Gf}}}Bj}`````{{{d{fFl}}c}h{{H`{}{{El{Fl}}}}}}{{{d{fFn}}c}h{{H`{}{{El{Fn}}}}}}``{{{d{Hj}}{d{fBl}}}C`}{{{d{Mj}}{d{fBl}}}C`}{{{d{Ml}}{d{fBl}}}C`}{{{d{Mn}}{d{fBl}}}C`}{{{d{Hl}}{d{fBl}}}C`}{{{d{N`}}{d{fBl}}}C`}{{{d{Nb}}{d{fBl}}}C`}{{{d{Fl}}{d{fBl}}}C`}0000{{{d{Hn}}{d{fBl}}}C`}{{{d{I`}}{d{fBl}}}C`}{{{d{Ib}}{d{fBl}}}C`}{{{d{Id}}{d{fBl}}}C`}{{{d{If}}{d{fBl}}}C`}{{{d{Fn}}{d{fBl}}}C`}0000{{{d{Ih}}{d{fBl}}}C`}{{{d{Ih}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Mf}}{d{fBl}}}C`}{{{d{Ij}}{d{fBl}}}C`}{{{d{Il}}{d{fBl}}}C`}{{{d{In}}{d{fBl}}}C`}{{{d{J`}}{d{fBl}}}C`}{{{d{Jb}}{d{fBl}}}C`}{{{d{Jd}}{d{fBl}}}C`}{{{d{Jf}}{d{fBl}}}C`}{{{d{Jh}}{d{fBl}}}C`}{{{d{Jj}}{d{fBl}}}C`}{{{d{Gj}}{d{fBl}}}C`}{{{d{Jl}}{d{fBl}}}C`}{{{d{Jn}}{d{fBl}}}C`}{{{d{Hd}}{d{fBl}}}C`}{{{d{K`}}{d{fBl}}}C`}{{{d{Kb}}{d{fBl}}}C`}{{{d{Kd}}{d{fBl}}}C`}{{{d{Kf}}{d{fBl}}}C`}{{{d{Kh}}{d{fBl}}}C`}{{{d{Kj}}{d{fBl}}}C`}{{{d{Kl}}{d{fBl}}}C`}{{{d{Kn}}{d{fBl}}}C`}{{{d{L`}}{d{fBl}}}C`}{{{d{Lb}}{d{fBl}}}C`}{{{d{Ld}}{d{fBl}}}C`}{{{d{Hh}}{d{fBl}}}C`}{{{d{Lf}}{d{fBl}}}C`}{{{d{Hf}}{d{fBl}}}C`}{{{d{Lh}}{d{fBl}}}C`}{{{d{Lj}}{d{fBl}}}C`}{{{d{Ll}}{d{fBl}}}C`}{{{d{Ln}}{d{fBl}}}C`}{{{d{M`}}{d{fBl}}}C`}{{{d{Hb}}{d{fBl}}}C`}{{{d{Gl}}{d{fBl}}}C`}{{{d{Mb}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Mb}}{d{fBl}}}C`}{{{d{Mh}}{d{fBl}}}C`}{{{d{Md}}{d{fBl}}}C`}{{{d{G`}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Gb}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Gd}}{d{fBl}}}{{Bf{hBn}}}}{{{d{Gf}}{d{fBl}}}{{Bf{hBn}}}}{cc{}}0000000{{{Gn{Cj}}}Fl}111{NdIb}22{CjId}33333333333333{NfJl}444{NhHd}55{NjKb}66666666666666666666666666{Aj{{j{Fl}}}}{Aj{{j{Fn}}}}{AjFl}0{AjFn}010{Cj{{j{G`}}}}{Cj{{j{Gb}}}}{Cj{{j{Gd}}}}{Cj{{j{Gf}}}}{cFl{{H`{}{{El{Fl}}}}}}{cFn{{H`{}{{El{Fn}}}}}}{{{d{Eb}}}{{j{Fl}}}}{{{d{Eb}}}{{j{Fn}}}}{cId{}}{{{d{Eb}}}{{Bf{Ihc}}}{}}{{{d{Eb}}}{{Bf{J`c}}}{}}{{{d{Eb}}}{{Bf{Jbc}}}{}}{{{d{Eb}}}{{Bf{Jfc}}}{}}{{{d{Eb}}}{{Bf{Mbc}}}{}}{{{d{Eb}}}{{j{G`}}}}{{{d{Eb}}}{{j{Gb}}}}{{{d{Eb}}}{{j{Gd}}}}{{{d{Eb}}}{{j{Gf}}}}```{{{d{Fl}}{d{fc}}}hEf}{{{d{Id}}{d{fc}}}hEf}{{{d{Ih}}{d{fc}}}hEf}{{{d{J`}}{d{fc}}}hEf}{{{d{Jb}}{d{fc}}}hEf}{{{d{Jf}}{d{fc}}}hEf}{{{d{Kd}}{d{fc}}}hEf}{{{d{Kf}}{d{fc}}}hEf}{{{d{Kh}}{d{fc}}}hEf}{{{d{Kj}}{d{fc}}}hEf}{{{d{Kl}}{d{fc}}}hEf}{{{d{Mb}}{d{fc}}}hEf}{{{d{G`}}{d{fc}}}hEf}{{{d{Gb}}{d{fc}}}hEf}{{{d{Gd}}{d{fc}}}hEf}{{{d{Gf}}{d{fc}}}hEf}````````{{{d{Gh}}cGfGd{j{Nl}}{j{Nl}}}{{Dn{{Gn{Hd}}}}}{{Eh{B`}}}}{{{d{Gh}}cGfGdBj{j{Nn}}Cl}{{Dn{{Gn{Hd}}}}}{{Eh{B`}}}}````````{{{d{fFl}}Fl}h}{{{d{fFn}}Fn}h}{{FlFl}Fl}{{FnFn}Fn}{{{d{Fl}}Fl}Bj}{{{d{Fn}}Fn}Bj}{{}c{}}000000000000000000000000000000000000000000000000000000000{Flc{}}{Fnc{}}{{{d{Gh}}c}{{Dn{{Gn{Jn}}}}}{{Eh{B`}}}}{{{d{Fl}}}Bj}{{{d{Fn}}}Bj}`10{CjBj}000`{{{d{Fl}}}{{O`{Fl}}}}{{{d{Fn}}}{{O`{Fn}}}}{{{d{Fl}}}{{Ob{Fl}}}}{{{d{Fn}}}{{Ob{Fn}}}}```````````````{{{d{Gh}}}{{Of{Od}}}}``````````````{{{d{Gh}}}n}{{M`Ln}M`}`{{M`c}M`{{Eh{B`}}}}``````````````````{cLl{{Eh{B`}}}}{nM`}{FlFl}{FnFn}````````{{{d{Gh}}c}{{Dn{{Gn{Nl}}}}}{{Eh{B`}}}}{{{d{Gh}}cNl}{{Dn{{Gn{K`}}}}}{{Eh{B`}}}}{{{d{Gh}}e}{{Dn{{Gn{Jd}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}}````````{{{d{G`}}{d{G`}}}{{j{Al}}}}{{{d{Gb}}{d{Gb}}}{{j{Al}}}}{{{d{Gd}}{d{Gd}}}{{j{Al}}}}{{{d{Gf}}{d{Gf}}}{{j{Al}}}}{{{d{Gh}}}{{Dn{{Gn{Jl}}}}}}``````````````````{{{d{Gh}}e}{{Dn{{Gn{In}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}}{{{d{Gh}}}{{d{Eb}}}}{{{d{Gh}}}{{d{{Oh{Md}}}}}}{{{d{Gh}}c}{{Dn{Gj}}}{{Eh{B`}}}}{{{d{Gh}}cGfCl}{{Dn{{Gn{Hd}}}}}{{Eh{B`}}}}{{{d{Gh}}c}{{Dn{Jj}}}{{Eh{B`}}}}{{{d{Gh}}e}{{Dn{{Gn{Ij}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}}{{{d{Gh}}cCl}{{Dn{{Gn{If}}}}}{{Eh{B`}}}}{{{d{fFl}}Fl}h}{{{d{fFn}}Fn}h}`{{Lle}Ll{{Eh{B`}}}{{H`{}{{El{c}}}}}}{{M`e}M`{{Eh{B`}}}{{H`{}{{El{c}}}}}}```{{{d{Gh}}AhMb}{{Dn{{Gn{Mh}}}}}}{{{d{I`}}c}BfFd}{{{d{Ib}}c}BfFd}{{{d{Id}}c}BfFd}{{{d{If}}c}BfFd}{{{d{Fn}}c}BfFd}{{{d{Ih}}c}BfFd}{{{d{Mf}}c}BfFd}{{{d{Ij}}c}BfFd}{{{d{Il}}c}BfFd}{{{d{In}}c}BfFd}{{{d{J`}}c}BfFd}{{{d{Jb}}c}BfFd}{{{d{Jd}}c}BfFd}{{{d{Jf}}c}BfFd}{{{d{Jh}}c}BfFd}{{{d{Jj}}c}BfFd}{{{d{Gj}}c}BfFd}{{{d{Jl}}c}BfFd}{{{d{Jn}}c}BfFd}{{{d{Hd}}c}BfFd}{{{d{K`}}c}BfFd}{{{d{Kb}}c}BfFd}{{{d{Kl}}c}BfFd}{{{d{Kn}}c}BfFd}{{{d{L`}}c}BfFd}{{{d{Lb}}c}BfFd}{{{d{Ld}}c}BfFd}{{{d{Hh}}c}BfFd}{{{d{Lf}}c}BfFd}{{{d{Hf}}c}BfFd}{{{d{Lh}}c}BfFd}{{{d{Lj}}c}BfFd}{{{d{Ln}}c}BfFd}{{{d{Gl}}c}BfFd}{{{d{Mb}}c}BfFd}{{{d{Mh}}c}BfFd}{{{d{G`}}c}BfFd}{{{d{Gb}}c}BfFd}{{{d{Gd}}c}BfFd}{{{d{Gf}}c}BfFd}{{{d{fFl}}FlBj}h}{{{d{fFn}}FnBj}h}```{{{d{Gh}}e}{{Dn{{Gn{Mf}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}}``````{{FlFl}Fl}{{FnFn}Fn}{{{d{fFl}}Fl}h}{{{d{fFn}}Fn}h}`{{{d{Gh}}egBj}{{Dn{h}}}{{Oj{Eb}}}{{H`{}{{El{c}}}}}{{Eh{Fl}}}}{{{d{Gh}}cGf}{{Dn{{Gn{Hd}}}}}{{Oj{Eb}}}}{{{d{Gh}}}{{Dn{{Gn{Hn}}}}}}```````````65```````````````{dc{}}00000000000000000000000000000000000000000000000000{dB`}065````````````{{{d{Gh}}cCl}{{Dn{{Gn{If}}}}}{{Eh{B`}}}}`{{{d{Gh}}AhNlNl}{{Dn{Ld}}}}`{{{d{Gh}}}{{Dn{{Gn{Lb}}}}}}{c{{Bf{e}}}{}{}}0000000000{Ol{{Dn{I`}}}}11{On{{Dn{If}}}}222{{{d{Eb}}}{{Bf{Ihc}}}{}}3{A@`{{Dn{Mf}}}}44{A@b{{Dn{Il}}}}5{A@d{{Dn{In}}}}6{{{d{Eb}}}{{Bf{J`c}}}{}}{{{d{Eb}}}{{Bf{Jbc}}}{}}88{A@f{{Dn{Jd}}}}{{{d{Eb}}}{{Bf{Jfc}}}{}}{Cj{{Bf{Jf{A@h{Jf}}}}}};;{A@j{{Dn{Jh}}}}<<<{A@l{{Dn{Jn}}}}={A@n{{Dn{Hd}}}}>{AA`{{Dn{K`}}}}???????{Cj{{Bf{Kl{A@h{Kl}}}}}}{c{{Bf{e}}}{}{}}{AAb{{Dn{Kn}}}}1{AAd{{Dn{L`}}}}2{AAf{{Dn{Lb}}}}3{AAh{{Dn{Hh}}}}4{AAj{{Dn{Lf}}}}5{AAl{{Dn{Hf}}}}666666666{{{d{Eb}}}{{Bf{Mbc}}}{}}7{AAn{{Dn{Md}}}}88{Cj{{Bf{G`AB`}}}}{Cj{{Bf{GbAB`}}}}::{Cj{{Bf{GdAB`}}}};{Cj{{Bf{GfAB`}}}}{c{{Bf{Jf{A@h{Jf}}}}}{}}{c{{Bf{Kl{A@h{Kl}}}}}{}}{{}{{Bf{c}}}{}}000000000000000000000000000000000000000000000000000000000{{{Of{Af}}}{{Dn{{ABd{Gh{ABb{Nb}}}}}}}}```````````{dFh}000000000000000000000000000000000000000000000000000000000``{{FlFl}Fl}{{FnFn}Fn}{{{d{Gh}}eg}{{Dn{h}}}{{Oj{Eb}}}{{H`{}{{El{c}}}}}{{Eh{Fl}}}}{{{d{Gh}}cGf}{{Dn{h}}}{{Oj{Eb}}}}{{{d{Gh}}M`}{{Dn{h}}}}`````````````````{{}c{}}000000000000000000000000000000000000000000000000000000000`{{{d{Gh}}}{{Dn{{Gn{Kb}}}}}}{{{d{Gh}}cKfKd{j{{d{{Oh{Jf}}}}}}{j{{d{{Oh{Cj}}}}}}{j{{d{{Oh{Kh}}}}}}{j{{d{{Oh{Kj}}}}}}{j{{d{{Oh{Kl}}}}}}}{{Dn{{Gn{Kn}}}}}{{Eh{B`}}}}{{{d{Gh}}e}{{Dn{{Gn{Jh}}}}}{{Eh{B`}}}{{H`{}{{El{c}}}}}}```{{{d{Gh}}}{{Dn{{Gn{Lj}}}}}}`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````{{{d{ABf}}{j{{d{Eb}}}}}{{Dn{{Gn{ABh}}}}}}```````{d{{d{c}}}{}}000000000000000000000000000000000000000000000{{{d{f}}}{{d{fc}}}{}}000000000000000000000000000000000000000000000`{{ABjABl}ABj}``{{{d{ABf}}c}{{Dn{h}}}{{Eh{B`}}}}{{{d{ABf}}ABj}{{Dn{{Gn{ABn}}}}}}`````{{{d{ABf}}}ABf}{{{d{AC`}}}AC`}{{{d{ACb}}}ACb}{{{d{ABj}}}ABj}{{{d{ACd}}}ACd}{{{d{ACf}}}ACf}{{{d{ACh}}}ACh}{{{d{ACj}}}ACj}{{{d{ACl}}}ACl}{{{d{ACn}}}ACn}{{{d{AD`}}}AD`}{{{d{ADb}}}ADb}{{{d{ADd}}}ADd}{{{d{ADf}}}ADf}{{{d{ADh}}}ADh}{{{d{ADj}}}ADj}{{{d{ADl}}}ADl}{{{d{ADn}}}ADn}{{{d{AE`}}}AE`}{{{d{AEb}}}AEb}{{{d{AEd}}}AEd}{{{d{AEf}}}AEf}{{{d{AEh}}}AEh}{{{d{AEj}}}AEj}{{{d{AEl}}}AEl}{{{d{AEn}}}AEn}{{{d{AF`}}}AF`}{{{d{AFb}}}AFb}{{{d{AFd}}}AFd}{{{d{ABh}}}ABh}{{{d{ABl}}}ABl}{{{d{AFf}}}AFf}{{{d{ABn}}}ABn}{{{d{AFh}}}AFh}{{{d{AFj}}}AFj}{{{d{AFl}}}AFl}{{{d{AFn}}}AFn}{{{d{AG`}}}AG`}{{{d{AGb}}}AGb}{{{d{AGd}}}AGd}{{d{d{fc}}}h{}}000000000000000000000000000000000000000{{dAj}h}000000000000000000000000000000000000000````{{ACbc}ACb{{Eh{B`}}}}``````````````{{}AGf}{{}ACd}{{}ACf}{{}AGh}{{}ACh}{{}ACj}{{}AD`}{{}ADb}{{}ADf}{{}ADh}{{}ADj}{{}ADl}{{}ADn}{{}AE`}{{}AEd}{{}AEf}{{}AEh}`{c{{Bf{AGj}}}Bh}{c{{Bf{AGl}}}Bh}{c{{Bf{AGn}}}Bh}{c{{Bf{AH`}}}Bh}{c{{Bf{AD`}}}Bh}{c{{Bf{ADb}}}Bh}{c{{Bf{ADd}}}Bh}{c{{Bf{ADf}}}Bh}{c{{Bf{ADh}}}Bh}{c{{Bf{ADj}}}Bh}{c{{Bf{ADl}}}Bh}{c{{Bf{ADn}}}Bh}{c{{Bf{AE`}}}Bh}{c{{Bf{AEb}}}Bh}{c{{Bf{AEd}}}Bh}{c{{Bf{AEf}}}Bh}{c{{Bf{AEh}}}Bh}{c{{Bf{AEj}}}Bh}{c{{Bf{AEl}}}Bh}{c{{Bf{AEn}}}Bh}{c{{Bf{AF`}}}Bh}{c{{Bf{AFb}}}Bh}{c{{Bf{AFd}}}Bh}{c{{Bf{ABh}}}Bh}{c{{Bf{ABl}}}Bh}{c{{Bf{AFf}}}Bh}{c{{Bf{ABn}}}Bh}{c{{Bf{AFh}}}Bh}{c{{Bf{AFj}}}Bh}{c{{Bf{AFl}}}Bh}{c{{Bf{AFn}}}Bh}{c{{Bf{AG`}}}Bh}{c{{Bf{AGb}}}Bh}{c{{Bf{AGd}}}Bh}`{{{d{fABf}}}h}{{ACdF`}ACd}{{ACfF`}ACf}{{{d{AC`}}{d{AC`}}}Bj}{{{d{AD`}}{d{AD`}}}Bj}{{{d{ADb}}{d{ADb}}}Bj}{{{d{ADf}}{d{ADf}}}Bj}{{{d{ADh}}{d{ADh}}}Bj}{{{d{ADj}}{d{ADj}}}Bj}{{{d{ADl}}{d{ADl}}}Bj}{{{d{ADn}}{d{ADn}}}Bj}{{{d{AE`}}{d{AE`}}}Bj}{{{d{AEd}}{d{AEd}}}Bj}{{{d{AEf}}{d{AEf}}}Bj}{{{d{AEh}}{d{AEh}}}Bj}{{{d{ABl}}{d{ABl}}}Bj}{{{d{AFf}}{d{AFf}}}Bj}{{{d{ABf}}ACb}{{Dn{AGl}}}}``````{{ACnNl}ACn}````{{{d{AGj}}{d{fBl}}}C`}{{{d{AGl}}{d{fBl}}}C`}{{{d{AC`}}{d{fBl}}}C`}{{{d{AC`}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AGn}}{d{fBl}}}C`}{{{d{AH`}}{d{fBl}}}C`}{{{d{ACb}}{d{fBl}}}C`}{{{d{ABj}}{d{fBl}}}C`}{{{d{AGf}}{d{fBl}}}C`}{{{d{ACd}}{d{fBl}}}C`}{{{d{ACf}}{d{fBl}}}C`}{{{d{AGh}}{d{fBl}}}C`}{{{d{ACh}}{d{fBl}}}C`}{{{d{ACj}}{d{fBl}}}C`}{{{d{ACl}}{d{fBl}}}C`}{{{d{ACn}}{d{fBl}}}C`}{{{d{AD`}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AD`}}{d{fBl}}}C`}{{{d{ADb}}{d{fBl}}}C`}{{{d{ADb}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADd}}{d{fBl}}}C`}{{{d{ADf}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADf}}{d{fBl}}}C`}{{{d{ADh}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADh}}{d{fBl}}}C`}{{{d{ADj}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADj}}{d{fBl}}}C`}{{{d{ADl}}{d{fBl}}}{{Bf{hBn}}}}{{{d{ADl}}{d{fBl}}}C`}{{{d{ADn}}{d{fBl}}}C`}{{{d{ADn}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AE`}}{d{fBl}}}C`}{{{d{AE`}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AEb}}{d{fBl}}}C`}{{{d{AEd}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AEd}}{d{fBl}}}C`}{{{d{AEf}}{d{fBl}}}C`}{{{d{AEf}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AEh}}{d{fBl}}}C`}{{{d{AEh}}{d{fBl}}}{{Bf{hBn}}}}{{{d{AEj}}{d{fBl}}}C`}{{{d{AEl}}{d{fBl}}}C`}{{{d{AEn}}{d{fBl}}}C`}{{{d{AF`}}{d{fBl}}}C`}{{{d{AFb}}{d{fBl}}}C`}{{{d{AFd}}{d{fBl}}}C`}{{{d{ABh}}{d{fBl}}}C`}{{{d{ABl}}{d{fBl}}}C`}{{{d{AFf}}{d{fBl}}}C`}{{{d{ABn}}{d{fBl}}}C`}{{{d{AFh}}{d{fBl}}}C`}{{{d{AFj}}{d{fBl}}}C`}{{{d{AFl}}{d{fBl}}}C`}{{{d{AFn}}{d{fBl}}}C`}{{{d{AG`}}{d{fBl}}}C`}{{{d{AGb}}{d{fBl}}}C`}{{{d{AGd}}{d{fBl}}}C`}{ACbACb}```{cc{}}00000000000000000000000000000000000{CjABl}11{CjAFf}22222222{cABl{}}{cAFf{}}{{{d{Eb}}}{{Bf{AC`c}}}{}}{{{d{Eb}}}{{Bf{AD`c}}}{}}{{{d{Eb}}}{{Bf{ADbc}}}{}}{{{d{Eb}}}{{Bf{ADfc}}}{}}{{{d{Eb}}}{{Bf{ADhc}}}{}}{{{d{Eb}}}{{Bf{ADjc}}}{}}{{{d{Eb}}}{{Bf{ADlc}}}{}}{{{d{Eb}}}{{Bf{ADnc}}}{}}{{{d{Eb}}}{{Bf{AE`c}}}{}}{{{d{Eb}}}{{Bf{AEdc}}}{}}{{{d{Eb}}}{{Bf{AEfc}}}{}}{{{d{Eb}}}{{Bf{AEhc}}}{}}`{{{d{ABf}}c}{{Dn{AFh}}}{{Eh{{j{AGf}}}}}}{{{d{AC`}}{d{fc}}}hEf}{{{d{AD`}}{d{fc}}}hEf}{{{d{ADb}}{d{fc}}}hEf}{{{d{ADf}}{d{fc}}}hEf}{{{d{ADh}}{d{fc}}}hEf}{{{d{ADj}}{d{fc}}}hEf}{{{d{ADl}}{d{fc}}}hEf}{{{d{ADn}}{d{fc}}}hEf}{{{d{AE`}}{d{fc}}}hEf}{{{d{AEd}}{d{fc}}}hEf}{{{d{AEf}}{d{fc}}}hEf}{{{d{AEh}}{d{fc}}}hEf}{{{d{ABl}}{d{fc}}}hEf}{{{d{AFf}}{d{fc}}}hEf}`{{{d{ABf}}c}{{Dn{{Gn{ADd}}}}}{{Eh{{j{ACd}}}}}}{{{d{ABf}}c}{{Dn{{Gn{AEb}}}}}{{Eh{{j{ACf}}}}}}````{{}c{}}000000000000000000000000000000000000000000000`````{{AClb}ACl}{{ACnb}ACn}```{{{d{ABf}}}{{Of{Od}}}}```{{{d{ABf}}c}{{Dn{AGd}}}{{Eh{B`}}}}{{ACfAh}ACf}{{ACjAh}ACj}```````````{{cAD`ADf}ACb{{Eh{B`}}}}{{F`F`}ABj}{{}AGf}{{}ACd}{{}ACf}{{}AGh}{{}ACh}{{}ACj}{{cb}ACl{{Eh{B`}}}}{{cAD`ADfbADl}ACn{{Eh{B`}}}}{{{d{ABf}}c}{{Dn{AFb}}}{{Eh{B`}}}}{{ACbc}ACb{{Eh{B`}}}}{{AChc}ACh{{Eh{B`}}}}{{ACjB`}ACj}````````{{ACnAE`}ACn}``{{ABjCl}ABj}`````{{ACbb}ACb}{{AClb}ACl}``````````{{AClc}ACl{{Eh{B`}}}}{{ACnc}ACn{{Eh{B`}}}}```{{{d{ABf}}ACl}{{Dn{h}}}}`{{{d{AGj}}c}BfFd}{{{d{AGl}}c}BfFd}{{{d{ACb}}c}BfFd}{{{d{ABj}}c}BfFd}{{{d{AGf}}c}BfFd}{{{d{ACd}}c}BfFd}{{{d{ACf}}c}BfFd}{{{d{AGh}}c}BfFd}{{{d{ACh}}c}BfFd}{{{d{ACj}}c}BfFd}{{{d{ACl}}c}BfFd}{{{d{ACn}}c}BfFd}{{{d{AD`}}c}BfFd}{{{d{ADb}}c}BfFd}{{{d{ADd}}c}BfFd}{{{d{ADf}}c}BfFd}{{{d{ADh}}c}BfFd}{{{d{ADj}}c}BfFd}{{{d{ADl}}c}BfFd}{{{d{ADn}}c}BfFd}{{{d{AE`}}c}BfFd}{{{d{AEb}}c}BfFd}{{{d{AEd}}c}BfFd}{{{d{AEf}}c}BfFd}{{{d{AEh}}c}BfFd}{{{d{AEj}}c}BfFd}{{{d{AEl}}c}BfFd}{{{d{AEn}}c}BfFd}{{{d{AF`}}c}BfFd}{{{d{AFb}}c}BfFd}{{{d{AFd}}c}BfFd}{{{d{ABh}}c}BfFd}{{{d{ABl}}c}BfFd}{{{d{AFf}}c}BfFd}{{{d{ABn}}c}BfFd}{{{d{AFh}}c}BfFd}{{{d{AFj}}c}BfFd}{{{d{AFl}}c}BfFd}{{{d{AFn}}c}BfFd}{{{d{AG`}}c}BfFd}{{{d{AGb}}c}BfFd}{{{d{AGd}}c}BfFd}`{{ACfADf}ACf}{{ACjADf}ACj}```{{ABjCl}ABj}{{ACdF`}ACd}{{ACfF`}ACf}{{ACfc}ACf{{H`{}{{El{ADb}}}}}}{{ACjc}ACj{{H`{}{{El{ADb}}}}}}```````{{{d{ABf}}c}{{Dn{AFn}}}{{Eh{{j{AGh}}}}}}{{{d{ABf}}ACn}{{Dn{AGj}}}}```{{ACnb}ACn}``{{{d{ABf}}c}{{Dn{h}}}{{H`{}{{El{AC`}}}}}}{{ABjc}ABj{{Eh{B`}}}}{{ACdc}ACd{{Eh{B`}}}}{{ACfc}ACf{{Eh{B`}}}}{{AChc}ACh{{Eh{B`}}}}{{ACjc}ACj{{Eh{B`}}}}`````````{{AGfe}AGf{{Eh{B`}}}{{H`{}{{El{c}}}}}}{{AGhe}AGh{{Eh{B`}}}{{H`{}{{El{c}}}}}}``````{dc{}}000000000000000000000000000000000000000{dB`}00000000000{{{d{ABf}}c}{{Dn{{Gn{ADd}}}}}{{Eh{{j{ACh}}}}}}{{{d{ABf}}c}{{Dn{{Gn{AEb}}}}}{{Eh{{j{ACj}}}}}}````{{AClb}ACl}=```0=```````0=``````{c{{Bf{e}}}{}{}}00{{{d{Eb}}}{{Bf{AC`c}}}{}}1111111111111{{{d{Eb}}}{{Bf{AD`c}}}{}}2{{{d{Eb}}}{{Bf{ADbc}}}{}}333{{{d{Eb}}}{{Bf{ADfc}}}{}}4{{{d{Eb}}}{{Bf{ADhc}}}{}}{{{d{Eb}}}{{Bf{ADjc}}}{}}66{{{d{Eb}}}{{Bf{ADlc}}}{}}7{{{d{Eb}}}{{Bf{ADnc}}}{}}{{{d{Eb}}}{{Bf{AE`c}}}{}}99{{{d{Eb}}}{{Bf{AEdc}}}{}}::{{{d{Eb}}}{{Bf{AEfc}}}{}};{{{d{Eb}}}{{Bf{AEhc}}}{}}<<<<<<<<<<<<<<<<<{{}{{Bf{c}}}{}}000000000000000000000000000000000000000000000{{{Of{Af}}}{{Dn{{ABd{ABf{ABb{AH`}}}}}}}}{dFh}000000000000000000000000000000000000000000000{{{d{ABf}}c}{{Dn{h}}}{{H`{}{{El{AC`}}}}}}```{{}c{}}000000000000000000000000000000000000000000000`","D":"INh","p":[[5,"Decimal",0,2990],[1,"reference",null,null,1],[0,"mut"],[1,"unit"],[6,"Option",2991,null,1],[1,"f64"],[1,"i64"],[1,"u64"],[6,"Language",0,2992],[6,"PushCandlestickMode",0,2992],[5,"Config",0,2992],[6,"Market",0,2993],[1,"u8"],[6,"Ordering",2994],[6,"SimpleError",0,2995],[5,"String",2996],[5,"HashMap",2997],[1,"array"],[6,"Result",2998,null,1],[10,"Deserializer",2999],[1,"bool"],[5,"Formatter",3000],[5,"Error",3000],[8,"Result",3000],[6,"Error",0,2995],[1,"i128"],[1,"i8"],[1,"i16"],[1,"i32"],[1,"usize"],[1,"u128"],[1,"u16"],[1,"isize"],[1,"u32"],[5,"Error",3001],[6,"WsClientError",3002],[6,"HttpClientError",3003],[5,"DecodeError",3004],[8,"Result",0,2995],[1,"f32"],[1,"str"],[6,"Error",3005],[10,"Hasher",3006],[10,"Into",3007],[5,"PathBuf",3008],[17,"Item"],[10,"Iterator",3009],[5,"OffsetDateTime",3010],[6,"RoundingStrategy",2990],[10,"Serializer",3011],[10,"Error",3012],[5,"TypeId",3013],[5,"UnpackedDecimal",2990],[5,"SubFlags",363,3014],[5,"DerivativeType",363,3015],[6,"TradeStatus",363,3016],[6,"TradeSession",363,3016],[6,"AdjustType",363,3016],[6,"Period",363,3016],[5,"QuoteContext",363,3017],[5,"SecurityBrokers",363,3015],[5,"SecurityCalcIndex",363,3015],[5,"Vec",3018],[10,"IntoIterator",3019],[6,"CalcIndex",363,3015],[5,"Candlestick",363,3015],[5,"CapitalDistributionResponse",363,3015],[5,"CapitalFlowLine",363,3015],[5,"PushQuote",363,3020],[5,"PushCandlestick",363,3020],[5,"Subscription",363,3015],[5,"Depth",363,3015],[5,"Brokers",363,3015],[6,"TradeDirection",363,3015],[5,"Trade",363,3015],[6,"SecurityBoard",363,3015],[5,"RealtimeQuote",363,3015],[5,"PrePostQuote",363,3015],[5,"SecurityQuote",363,3015],[6,"OptionType",363,3015],[6,"OptionDirection",363,3015],[5,"OptionQuote",363,3015],[6,"WarrantType",363,3015],[5,"WarrantQuote",363,3015],[5,"SecurityDepth",363,3015],[5,"ParticipantInfo",363,3015],[5,"IntradayLine",363,3015],[5,"StrikePriceInfo",363,3015],[5,"IssuerInfo",363,3015],[6,"SortOrderType",363,3015],[6,"WarrantSortBy",363,3015],[6,"FilterWarrantExpiryDate",363,3015],[6,"FilterWarrantInOutBoundsType",363,3015],[6,"WarrantStatus",363,3015],[5,"WarrantInfo",363,3015],[5,"TradingSessionInfo",363,3015],[5,"MarketTradingSession",363,3015],[5,"MarketTradingDays",363,3015],[5,"CapitalDistribution",363,3015],[5,"WatchlistSecurity",363,3015],[5,"WatchlistGroup",363,3015],[5,"RequestCreateWatchlistGroup",363,3015],[6,"SecuritiesUpdateMode",363,3015],[5,"RequestUpdateWatchlistGroup",363,3015],[6,"SecurityListCategory",363,3015],[5,"QuotePackageDetail",363,3015],[5,"SecurityStaticInfo",363,3015],[5,"Security",363,3015],[5,"PushDepth",363,3020],[5,"PushBrokers",363,3020],[5,"PushTrades",363,3020],[6,"PushEventDetail",363,3020],[5,"PushEvent",363,3020],[5,"Brokers",3016],[5,"ParticipantInfo",3016],[5,"Candlestick",3021],[5,"IssuerInfo",3016],[5,"Date",3022],[5,"PrimitiveDateTime",3023],[5,"Iter",3024],[5,"IterNames",3024],[10,"Subscriber",3025],[5,"Arc",3026,null,1],[1,"slice"],[10,"AsRef",3007],[5,"Depth",3016],[5,"Trade",3016],[5,"StaticInfo",3016],[5,"PrePostQuote",3016],[5,"SecurityQuote",3016],[5,"OptionQuote",3016],[5,"TryFromPrimitiveError",3027],[5,"WarrantQuote",3016],[5,"Line",3016],[5,"Candlestick",3016],[5,"StrikePriceInfo",3016],[5,"FilterWarrant",3016],[5,"TradePeriod",3016],[5,"MarketTradePeriod",3016],[5,"CapitalFlowLine",3028],[5,"CapitalDistribution",3029],[5,"CapitalDistributionResponse",3016],[5,"PackageDetail",3030],[5,"UnknownEnumValue",3004],[5,"UnboundedReceiver",3031],[1,"tuple",null,null,1],[5,"TradeContext",1887,3032],[5,"AccountBalance",1887,3033],[5,"GetCashFlowOptions",1887,3034],[6,"BalanceType",1887,3033],[5,"CashFlow",1887,3033],[6,"TopicType",1887,3035],[5,"EstimateMaxPurchaseQuantityOptions",1887,3036],[5,"GetHistoryExecutionsOptions",1887,3037],[5,"GetHistoryOrdersOptions",1887,3038],[5,"GetTodayExecutionsOptions",1887,3039],[5,"GetTodayOrdersOptions",1887,3040],[5,"ReplaceOrderOptions",1887,3041],[5,"SubmitOrderOptions",1887,3042],[6,"OrderType",1887,3033],[6,"OrderStatus",1887,3033],[5,"Execution",1887,3033],[6,"OrderSide",1887,3033],[6,"TriggerPriceType",1887,3033],[6,"OrderTag",1887,3033],[6,"TimeInForceType",1887,3033],[6,"TriggerStatus",1887,3033],[6,"OutsideRTH",1887,3033],[5,"Order",1887,3033],[6,"CommissionFreeStatus",1887,3033],[6,"DeductionStatus",1887,3033],[6,"ChargeCategoryCode",1887,3033],[5,"OrderHistoryDetail",1887,3033],[5,"OrderChargeFee",1887,3033],[5,"OrderChargeItem",1887,3033],[5,"OrderChargeDetail",1887,3033],[5,"OrderDetail",1887,3033],[5,"CashInfo",1887,3033],[6,"CashFlowDirection",1887,3033],[5,"FundPositionsResponse",1887,3033],[5,"FundPositionChannel",1887,3033],[5,"FundPosition",1887,3033],[5,"StockPositionsResponse",1887,3033],[5,"StockPositionChannel",1887,3033],[5,"StockPosition",1887,3033],[5,"MarginRatio",1887,3033],[5,"GetFundPositionsOptions",1887,3043],[5,"GetStockPositionsOptions",1887,3044],[5,"SubmitOrderResponse",1887,3032],[5,"EstimateMaxPurchaseQuantityResponse",1887,3032],[5,"PushOrderChanged",1887,3035],[6,"PushEvent",1887,3035],[15,"ParseField",357],[15,"InvalidSecuritySymbol",357],[15,"Response",360]],"r":[[1,2992],[3,2990],[10,2995],[15,2992],[18,2993],[27,2992],[29,3017],[32,2995],[34,2995],[38,3032],[364,3016],[374,3015],[379,3015],[384,3015],[386,3015],[387,3015],[389,3015],[402,3015],[404,3015],[415,3015],[416,3015],[437,3015],[438,3015],[448,3015],[449,3015],[459,3015],[460,3015],[461,3015],[469,3015],[472,3016],[474,3015],[480,3020],[481,3020],[482,3020],[483,3020],[484,3020],[485,3020],[486,3020],[492,3017],[493,3015],[494,3015],[497,3015],[498,3015],[510,3015],[511,3015],[512,3015],[513,3015],[514,3015],[515,3015],[516,3015],[517,3015],[518,3015],[520,3015],[525,3015],[526,3014],[527,3015],[541,3015],[543,3015],[544,3016],[545,3016],[546,3015],[574,3015],[576,3015],[577,3015],[578,3015],[579,3015],[580,3015],[581,3015],[1889,3033],[1893,3033],[1899,3033],[1900,3033],[1901,3033],[1902,3033],[1903,3033],[1908,3033],[1911,3036],[1912,3032],[1913,3033],[1917,3033],[1918,3033],[1919,3033],[1920,3034],[1921,3043],[1922,3037],[1923,3038],[1924,3044],[1925,3039],[1926,3040],[1938,3033],[1949,3033],[1951,3033],[1952,3033],[1953,3033],[1954,3033],[1955,3033],[1956,3033],[1957,3033],[1958,3033],[1959,3033],[1961,3033],[1971,3035],[1972,3035],[1977,3041],[1983,3033],[1984,3033],[1985,3033],[1986,3042],[1987,3032],[1993,3033],[1994,3035],[1995,3032],[1996,3033],[1997,3033]],"b":[[46,"impl-Signed-for-Decimal"],[47,"impl-Decimal"],[49,"impl-Add%3C%26Decimal%3E-for-Decimal"],[50,"impl-Add%3CDecimal%3E-for-%26Decimal"],[51,"impl-Add-for-Decimal"],[52,"impl-Add%3C%26Decimal%3E-for-%26Decimal"],[53,"impl-AddAssign%3C%26Decimal%3E-for-%26mut+Decimal"],[54,"impl-AddAssign%3CDecimal%3E-for-%26mut+Decimal"],[55,"impl-AddAssign%3C%26Decimal%3E-for-Decimal"],[56,"impl-AddAssign-for-Decimal"],[72,"impl-Decimal"],[73,"impl-CheckedAdd-for-Decimal"],[75,"impl-Decimal"],[76,"impl-CheckedDiv-for-Decimal"],[81,"impl-Decimal"],[82,"impl-CheckedMul-for-Decimal"],[88,"impl-Decimal"],[89,"impl-CheckedRem-for-Decimal"],[91,"impl-CheckedSub-for-Decimal"],[92,"impl-Decimal"],[118,"impl-Decimal"],[119,"impl-Deserialize%3C\'de%3E-for-Decimal"],[121,"impl-Div%3C%26Decimal%3E-for-%26Decimal"],[122,"impl-Div%3C%26Decimal%3E-for-Decimal"],[123,"impl-Div%3CDecimal%3E-for-%26Decimal"],[124,"impl-Div-for-Decimal"],[125,"impl-DivAssign%3C%26Decimal%3E-for-Decimal"],[126,"impl-DivAssign%3C%26Decimal%3E-for-%26mut+Decimal"],[127,"impl-DivAssign%3CDecimal%3E-for-%26mut+Decimal"],[128,"impl-DivAssign-for-Decimal"],[139,"impl-UpperExp-for-Decimal"],[140,"impl-LowerExp-for-Decimal"],[141,"impl-Display-for-Decimal"],[142,"impl-Debug-for-Decimal"],[143,"impl-Debug-for-Language"],[144,"impl-Display-for-Language"],[147,"impl-Debug-for-Error"],[148,"impl-Display-for-Error"],[149,"impl-Display-for-SimpleError"],[150,"impl-Debug-for-SimpleError"],[151,"impl-Display-for-Market"],[152,"impl-Debug-for-Market"],[154,"impl-From%3Ci64%3E-for-Decimal"],[155,"impl-From%3Ci128%3E-for-Decimal"],[157,"impl-From%3Ci8%3E-for-Decimal"],[158,"impl-From%3Ci16%3E-for-Decimal"],[159,"impl-From%3Ci32%3E-for-Decimal"],[160,"impl-From%3Cusize%3E-for-Decimal"],[161,"impl-From%3Cu128%3E-for-Decimal"],[162,"impl-From%3Cu8%3E-for-Decimal"],[163,"impl-From%3Cu16%3E-for-Decimal"],[164,"impl-From%3Cisize%3E-for-Decimal"],[165,"impl-From%3Cu32%3E-for-Decimal"],[166,"impl-From%3Cu64%3E-for-Decimal"],[170,"impl-From%3CError%3E-for-Error"],[171,"impl-From%3CWsClientError%3E-for-Error"],[172,"impl-From%3CHttpClientError%3E-for-Error"],[173,"impl-From%3CDecodeError%3E-for-Error"],[192,"impl-Decimal"],[193,"impl-Num-for-Decimal"],[211,"impl-Decimal"],[212,"impl-Signed-for-Decimal"],[213,"impl-Decimal"],[214,"impl-Signed-for-Decimal"],[217,"impl-Zero-for-Decimal"],[218,"impl-Decimal"],[229,"impl-Mul%3CDecimal%3E-for-%26Decimal"],[230,"impl-Mul%3C%26Decimal%3E-for-Decimal"],[231,"impl-Mul%3C%26Decimal%3E-for-%26Decimal"],[232,"impl-Mul-for-Decimal"],[233,"impl-MulAssign-for-Decimal"],[234,"impl-MulAssign%3C%26Decimal%3E-for-Decimal"],[235,"impl-MulAssign%3CDecimal%3E-for-%26mut+Decimal"],[236,"impl-MulAssign%3C%26Decimal%3E-for-%26mut+Decimal"],[237,"impl-Neg-for-Decimal"],[238,"impl-Neg-for-%26Decimal"],[247,"impl-Pow%3Cf64%3E-for-Decimal"],[248,"impl-Pow%3Ci64%3E-for-Decimal"],[249,"impl-Pow%3Cu64%3E-for-Decimal"],[250,"impl-Pow%3CDecimal%3E-for-Decimal"],[255,"impl-Product-for-Decimal"],[256,"impl-Product%3C%26Decimal%3E-for-Decimal"],[261,"impl-Rem%3CDecimal%3E-for-%26Decimal"],[262,"impl-Rem%3C%26Decimal%3E-for-%26Decimal"],[263,"impl-Rem-for-Decimal"],[264,"impl-Rem%3C%26Decimal%3E-for-Decimal"],[265,"impl-RemAssign%3C%26Decimal%3E-for-%26mut+Decimal"],[266,"impl-RemAssign%3CDecimal%3E-for-%26mut+Decimal"],[267,"impl-RemAssign%3C%26Decimal%3E-for-Decimal"],[268,"impl-RemAssign-for-Decimal"],[279,"impl-Decimal"],[280,"impl-Serialize-for-Decimal"],[290,"impl-Sub%3CDecimal%3E-for-%26Decimal"],[291,"impl-Sub-for-Decimal"],[292,"impl-Sub%3C%26Decimal%3E-for-Decimal"],[293,"impl-Sub%3C%26Decimal%3E-for-%26Decimal"],[294,"impl-SubAssign%3C%26Decimal%3E-for-%26mut+Decimal"],[295,"impl-SubAssign%3CDecimal%3E-for-%26mut+Decimal"],[296,"impl-SubAssign%3C%26Decimal%3E-for-Decimal"],[297,"impl-SubAssign-for-Decimal"],[298,"impl-Sum-for-Decimal"],[299,"impl-Sum%3C%26Decimal%3E-for-Decimal"],[321,"impl-TryFrom%3C%26str%3E-for-Decimal"],[323,"impl-TryFrom%3Cf32%3E-for-Decimal"],[324,"impl-TryFrom%3Cf64%3E-for-Decimal"],[612,"impl-SubFlags"],[613,"impl-Flags-for-SubFlags"],[614,"impl-DerivativeType"],[615,"impl-Flags-for-DerivativeType"],[1037,"impl-UpperHex-for-SubFlags"],[1038,"impl-Octal-for-SubFlags"],[1039,"impl-Debug-for-SubFlags"],[1040,"impl-LowerHex-for-SubFlags"],[1041,"impl-Binary-for-SubFlags"],[1047,"impl-LowerHex-for-DerivativeType"],[1048,"impl-Octal-for-DerivativeType"],[1049,"impl-Binary-for-DerivativeType"],[1050,"impl-UpperHex-for-DerivativeType"],[1051,"impl-Debug-for-DerivativeType"],[1052,"impl-Debug-for-SecurityBoard"],[1053,"impl-Display-for-SecurityBoard"],[1089,"impl-Display-for-SecurityListCategory"],[1090,"impl-Debug-for-SecurityListCategory"],[1163,"impl-Flags-for-SubFlags"],[1164,"impl-SubFlags"],[1165,"impl-Flags-for-DerivativeType"],[1166,"impl-DerivativeType"],[1612,"impl-TryFrom%3C%26str%3E-for-WarrantType"],[1613,"impl-TryFrom%3Ci32%3E-for-WarrantType"],[2349,"impl-Debug-for-TopicType"],[2350,"impl-Display-for-TopicType"],[2363,"impl-Display-for-OrderType"],[2364,"impl-Debug-for-OrderType"],[2365,"impl-Debug-for-OrderStatus"],[2366,"impl-Display-for-OrderStatus"],[2368,"impl-Display-for-OrderSide"],[2369,"impl-Debug-for-OrderSide"],[2370,"impl-Display-for-TriggerPriceType"],[2371,"impl-Debug-for-TriggerPriceType"],[2372,"impl-Display-for-OrderTag"],[2373,"impl-Debug-for-OrderTag"],[2374,"impl-Display-for-TimeInForceType"],[2375,"impl-Debug-for-TimeInForceType"],[2376,"impl-Debug-for-TriggerStatus"],[2377,"impl-Display-for-TriggerStatus"],[2378,"impl-Debug-for-OutsideRTH"],[2379,"impl-Display-for-OutsideRTH"],[2381,"impl-Display-for-CommissionFreeStatus"],[2382,"impl-Debug-for-CommissionFreeStatus"],[2383,"impl-Debug-for-DeductionStatus"],[2384,"impl-Display-for-DeductionStatus"],[2385,"impl-Debug-for-ChargeCategoryCode"],[2386,"impl-Display-for-ChargeCategoryCode"]],"c":"OjAAAAEAAAAAAAgAEAAAANQA1gDiAOUAHAGSBJMElASVBA==","e":"OzAAAAEAALoGbgAeAAAAJwAAAC8AAAAxABYASgABAE0ABABTAAUAWgACAF4AEABwAAAAdAACAHgACQCEAAYAjAANAJsAAQCeAAkAqwADALEAAAC0AAAAtgAAALgAAAC6AAEAvgABAMIABQDJAAAA0gAAANUAAADXAAAA2gAAAN0AAQDmAAkA8gABAPYACQAGAQcAGQEBAB8BHQBCAQoATgEGAFYBBgBeAQcAbQEAAIsBAACPAQEAnAEAAJ8BAACjAQAApQEDALEBAADDAQAAxQEAAMcBAQDKAQAA1QEAANkBAQDcAQAA4AEAAOsBAAAIAgAACgIAABICAAAVAgAAFwIDACECAQAnAgIANQIAAEACAABHAgEAZgIAAGgCAABuAnMA+QKYAJMDAwClAwwAtwMlAOQDAADtAxAABwRCAFIEAABWBAAAWQQAAGgEAABsBAAAbwQAAIwEAACOBAAAmgQFAKcEDwAJBQEAZQUDAI0FJwDlBTQALQaRAMsGOQAdBzkA6AdbAE8IdwDaCBAA7AghAA8JAAASCQ0ALAk4AI0JAACQCQAAmQkNAKkJDQA6CikAlQozAOUKZwBOCy0AgAstAA==","P":[[57,"T"],[71,""],[99,"T"],[104,""],[119,"D"],[121,""],[156,"T"],[157,""],[167,"T"],[170,""],[174,"T"],[176,""],[177,"T"],[178,""],[190,"FromStr::Err"],[191,""],[197,"H"],[198,"__H"],[199,""],[201,"U"],[208,""],[222,""],[223,""],[240,",,"],[241,""],[255,"I"],[257,""],[259,""],[260,""],[280,"S"],[282,""],[298,"I"],[300,""],[304,"T"],[309,""],[318,""],[319,""],[322,"U,T"],[323,""],[325,"U,T"],[330,"TryFrom::Error"],[331,"U,T"],[332,""],[333,"U"],[340,""],[349,"V"],[356,""],[621,"T"],[740,""],[741,"T,I,J"],[747,""],[760,""],[811,"T"],[862,""],[948,""],[950,"__D"],[989,""],[1026,"T"],[1030,""],[1097,"T"],[1105,""],[1106,"T"],[1109,""],[1110,"T"],[1112,""],[1113,"T"],[1127,""],[1128,"T"],[1131,""],[1132,"T"],[1134,""],[1135,"T"],[1161,""],[1173,"T"],[1175,""],[1177,"FromPrimitive::Primitive"],[1178,"FromStr::Err"],[1183,""],[1190,"__H"],[1214,""],[1224,""],[1230,"U"],[1288,"IntoIterator::IntoIter"],[1290,""],[1291,""],[1338,""],[1358,""],[1369,""],[1371,"T,I"],[1380,""],[1403,"T,I"],[1404,""],[1406,""],[1409,"T,I"],[1410,""],[1411,""],[1414,"T,I"],[1419,""],[1420,"__S"],[1454,"S"],[1455,"__S"],[1460,""],[1465,"T,I"],[1472,""],[1477,"T,I,"],[1478,"T"],[1479,""],[1508,"T"],[1559,""],[1575,""],[1577,""],[1580,"U,T"],[1591,""],[1592,"U,T"],[1594,""],[1595,"U,T"],[1598,"TryFrom::Error"],[1599,"U,T"],[1600,""],[1601,"U,T"],[1603,""],[1604,"U,T"],[1605,""],[1606,"U,T"],[1607,"TryFrom::Error"],[1609,"U,T"],[1611,""],[1612,"TryFrom::Error"],[1613,""],[1614,"U,T"],[1616,""],[1617,"U,T"],[1620,""],[1621,"U,T"],[1622,""],[1623,"U,T"],[1624,""],[1625,"U,T"],[1632,""],[1633,"U,T"],[1634,""],[1635,"U,T"],[1636,""],[1637,"U,T"],[1638,""],[1639,"U,T"],[1640,""],[1641,"U,T"],[1642,""],[1643,"U,T"],[1644,""],[1645,"U,T"],[1654,"TryFrom::Error"],[1655,"U,T"],[1656,""],[1657,"U,T"],[1659,""],[1661,"U,T"],[1663,""],[1664,"U,T"],[1665,""],[1666,"TryFromPrimitive::Primitive"],[1668,"U"],[1726,""],[1800,"T,I,"],[1801,"T"],[1802,""],[1820,"V"],[1879,""],[1880,""],[1881,"T,I"],[1885,""],[2023,"T"],[2116,""],[2119,""],[2120,""],[2166,"T"],[2206,""],[2250,""],[2265,""],[2283,"__D"],[2287,"D"],[2289,"__D"],[2290,"D"],[2296,"__D"],[2297,"D"],[2300,"__D"],[2307,"D"],[2309,"__D"],[2318,""],[2408,"T"],[2444,""],[2445,"T"],[2447,""],[2448,"T"],[2456,"FromPrimitive::Primitive"],[2458,"FromStr::Err"],[2471,""],[2472,"__H"],[2487,""],[2493,"U"],[2544,""],[2553,""],[2554,""],[2567,""],[2568,""],[2575,""],[2580,""],[2610,""],[2615,""],[2617,"__S"],[2629,"S"],[2631,"__S"],[2632,"S"],[2638,"__S"],[2639,"S"],[2642,"__S"],[2649,"S"],[2650,"__S"],[2660,""],[2668,""],[2678,""],[2685,"I"],[2686,""],[2700,"T,I"],[2708,"T"],[2748,""],[2760,""],[2766,""],[2788,"U,T"],[2791,"TryFrom::Error"],[2792,"U,T"],[2805,"TryFrom::Error"],[2806,"U,T"],[2807,"TryFrom::Error"],[2808,"U,T"],[2811,"TryFrom::Error"],[2812,"U,T"],[2813,"TryFrom::Error"],[2815,"U,T"],[2817,"TryFrom::Error"],[2818,"U,T"],[2819,"TryFrom::Error"],[2821,"U,T"],[2823,"TryFrom::Error"],[2824,"U,T"],[2826,"TryFrom::Error"],[2827,"U,T"],[2828,"TryFrom::Error"],[2829,"U,T"],[2846,"U"],[2892,""],[2939,"I"],[2943,"V"]]}]]'));
     if (typeof exports !== 'undefined') exports.searchIndex = searchIndex;
     else if (window.initSearch) window.initSearch(searchIndex);
    -//{"start":39,"fragment_lengths":[62878]}
    \ No newline at end of file
    +//{"start":39,"fragment_lengths":[62960]}
    \ No newline at end of file
    diff --git a/v2/rust/settings.html b/v2/rust/settings.html
    index e595ee460..4019d40ce 100644
    --- a/v2/rust/settings.html
    +++ b/v2/rust/settings.html
    @@ -1 +1 @@
    -Settings

    Rustdoc settings

    Back
    \ No newline at end of file +Settings

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/v2/rust/src/longport/config.rs.html b/v2/rust/src/longport/config.rs.html index 64e0e969c..a9149b10b 100644 --- a/v2/rust/src/longport/config.rs.html +++ b/v2/rust/src/longport/config.rs.html @@ -1,4 +1,4 @@ -config.rs - source

    longport/
    config.rs

    +config.rs - source

    longport/
    config.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/error.rs.html b/v2/rust/src/longport/error.rs.html
    index bc5aef304..0e3fa22c0 100644
    --- a/v2/rust/src/longport/error.rs.html
    +++ b/v2/rust/src/longport/error.rs.html
    @@ -1,4 +1,4 @@
    -error.rs - source

    longport/
    error.rs

    +error.rs - source

    longport/
    error.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/lib.rs.html b/v2/rust/src/longport/lib.rs.html
    index ac3b77399..208ef7dbd 100644
    --- a/v2/rust/src/longport/lib.rs.html
    +++ b/v2/rust/src/longport/lib.rs.html
    @@ -1,4 +1,4 @@
    -lib.rs - source

    longport/
    lib.rs

    +lib.rs - source

    longport/
    lib.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/macros.rs.html b/v2/rust/src/longport/macros.rs.html
    index abce49f3a..3e4245304 100644
    --- a/v2/rust/src/longport/macros.rs.html
    +++ b/v2/rust/src/longport/macros.rs.html
    @@ -1,4 +1,4 @@
    -macros.rs - source

    longport/
    macros.rs

    +macros.rs - source

    longport/
    macros.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/quote/cache.rs.html b/v2/rust/src/longport/quote/cache.rs.html
    index 250b13693..0db87a83d 100644
    --- a/v2/rust/src/longport/quote/cache.rs.html
    +++ b/v2/rust/src/longport/quote/cache.rs.html
    @@ -1,4 +1,4 @@
    -cache.rs - source

    longport/quote/
    cache.rs

    +cache.rs - source

    longport/quote/
    cache.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/quote/cmd_code.rs.html b/v2/rust/src/longport/quote/cmd_code.rs.html
    index de1c5267b..a44967365 100644
    --- a/v2/rust/src/longport/quote/cmd_code.rs.html
    +++ b/v2/rust/src/longport/quote/cmd_code.rs.html
    @@ -1,4 +1,4 @@
    -cmd_code.rs - source

    longport/quote/
    cmd_code.rs

    +cmd_code.rs - source

    longport/quote/
    cmd_code.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/quote/context.rs.html b/v2/rust/src/longport/quote/context.rs.html
    index 9d0df42e7..829f7f0bd 100644
    --- a/v2/rust/src/longport/quote/context.rs.html
    +++ b/v2/rust/src/longport/quote/context.rs.html
    @@ -1,4 +1,4 @@
    -context.rs - source

    longport/quote/
    context.rs

    +context.rs - source

    longport/quote/
    context.rs

     1
     2
     3
    @@ -1636,7 +1636,30 @@
     1635
     1636
     1637
    -1638
    use std::{sync::Arc, time::Duration};
    +1638
    +1639
    +1640
    +1641
    +1642
    +1643
    +1644
    +1645
    +1646
    +1647
    +1648
    +1649
    +1650
    +1651
    +1652
    +1653
    +1654
    +1655
    +1656
    +1657
    +1658
    +1659
    +1660
    +1661
    use std::{sync::Arc, time::Duration};
     
     use longport_httpcli::{HttpClient, Json, Method};
     use longport_proto::quote;
    @@ -1644,7 +1667,7 @@
     use serde::{Deserialize, Serialize};
     use time::{Date, PrimitiveDateTime};
     use tokio::sync::{mpsc, oneshot};
    -use tracing::{instrument::WithSubscriber, Subscriber};
    +use tracing::{dispatcher, instrument::WithSubscriber, Subscriber};
     
     use crate::{
         quote::{
    @@ -1692,12 +1715,31 @@
         log_subscriber: Arc<dyn Subscriber + Send + Sync>,
     }
     
    +impl Drop for QuoteContext {
    +    fn drop(&mut self) {
    +        dispatcher::with_default(&self.log_subscriber.clone().into(), || {
    +            tracing::info!("quote context dropped");
    +        });
    +    }
    +}
    +
     impl QuoteContext {
         /// Create a `QuoteContext`
         pub async fn try_new(
             config: Arc<Config>,
         ) -> Result<(Self, mpsc::UnboundedReceiver<PushEvent>)> {
             let log_subscriber = config.create_log_subscriber("quote");
    +
    +        dispatcher::with_default(&log_subscriber.clone().into(), || {
    +            tracing::info!(
    +                language = ?config.language,
    +                enable_overnight = ?config.enable_overnight,
    +                push_candlestick_mode = ?config.push_candlestick_mode,
    +                enable_print_quote_packages = ?config.enable_print_quote_packages,
    +                "creating quote context"
    +            );
    +        });
    +
             let language = config.language.unwrap_or_default();
             let http_cli = config.create_http_client();
             let (command_tx, command_rx) = mpsc::unbounded_channel();
    @@ -1710,6 +1752,10 @@
             let quote_package_details = core.quote_package_details().to_vec();
             tokio::spawn(core.run().with_subscriber(log_subscriber.clone()));
     
    +        dispatcher::with_default(&log_subscriber.clone().into(), || {
    +            tracing::info!("quote context created");
    +        });
    +
             Ok((
                 QuoteContext {
                     language,
    diff --git a/v2/rust/src/longport/quote/core.rs.html b/v2/rust/src/longport/quote/core.rs.html
    index e0cc43e18..3f98e1ec7 100644
    --- a/v2/rust/src/longport/quote/core.rs.html
    +++ b/v2/rust/src/longport/quote/core.rs.html
    @@ -1,4 +1,4 @@
    -core.rs - source

    longport/quote/
    core.rs

    +core.rs - source

    longport/quote/
    core.rs

     1
     2
     3
    @@ -1163,7 +1163,24 @@
     1162
     1163
     1164
    -1165
    use std::{
    +1165
    +1166
    +1167
    +1168
    +1169
    +1170
    +1171
    +1172
    +1173
    +1174
    +1175
    +1176
    +1177
    +1178
    +1179
    +1180
    +1181
    +1182
    use std::{
         collections::{HashMap, HashSet},
         sync::Arc,
     };
    @@ -1685,8 +1702,6 @@
             sub_types: SubFlags,
             is_first_push: bool,
         ) -> Result<()> {
    -        tracing::info!(symbols = ?symbols, sub_types = ?sub_types, "subscribe");
    -
             // send request
             let req = SubscribeRequest {
                 symbol: symbols.clone(),
    @@ -1778,17 +1793,22 @@
             symbol: String,
             period: Period,
         ) -> Result<Vec<Candlestick>> {
    +        tracing::info!(symbol = symbol, period = ?period, "subscribe candlesticks");
    +
             if let Some(candlesticks) = self
                 .store
                 .securities
                 .get(&symbol)
                 .map(|data| data.candlesticks.get(&period))
             {
    +            tracing::info!(symbol = symbol, period = ?period, "subscribed, returns candlesticks in memory");
                 return Ok(candlesticks
                     .map(|candlesticks| candlesticks.candlesticks.clone())
                     .unwrap_or_default());
             }
     
    +        tracing::info!(symbol = symbol, "fetch symbol board");
    +
             let security_data = self.store.securities.entry(symbol.clone()).or_default();
             if security_data.board != SecurityBoard::Unknown {
                 // update board
    @@ -1810,8 +1830,11 @@
                 security_data.board = resp.secu_static_info[0].board.parse().unwrap_or_default();
             }
     
    +        tracing::info!(symbol = symbol, board = ?security_data.board, "got the symbol board");
    +
             // pull candlesticks
    -        let resp: SecurityCandlestickResponse = self
    +        tracing::info!(symbol = symbol, period = ?period, "pull history candlesticks");
    +        let resp: SecurityCandlestickResponse = self
                 .ws_cli
                 .request(
                     cmd_code::GET_SECURITY_CANDLESTICKS,
    @@ -1824,6 +1847,7 @@
                     },
                 )
                 .await?;
    +        tracing::info!(symbol = symbol, period = ?period, len = resp.candlesticks.len(), "got history candlesticks");
     
             let candlesticks = resp
                 .candlesticks
    @@ -1855,8 +1879,10 @@
                 return Ok(candlesticks);
             }
     
    +        tracing::info!(symbol = symbol, period = ?period, sub_flags = ?sub_flags, "subscribe for candlesticks");
    +
             let req = SubscribeRequest {
    -            symbol: vec![symbol],
    +            symbol: vec![symbol.clone()],
                 sub_type: sub_flags.into(),
                 is_first_push: true,
             };
    @@ -1864,6 +1890,7 @@
                 .request::<_, ()>(cmd_code::SUBSCRIBE, None, req)
                 .await?;
     
    +        tracing::info!(symbol = symbol, period = ?period, sub_flags = ?sub_flags, "subscribed for candlesticks");
             Ok(candlesticks)
         }
     
    @@ -2295,6 +2322,13 @@
         };
     
         for (candlestick, is_confirmed) in push_candlesticks {
    +        tracing::info!(
    +            symbol = symbol,
    +            period = ?period,
    +            is_confirmed = is_confirmed,
    +            candlestick = ?candlestick,
    +            "push candlestick"
    +        );
             let _ = tx.send(PushEvent {
                 sequence: 0,
                 symbol: symbol.to_string(),
    diff --git a/v2/rust/src/longport/quote/mod.rs.html b/v2/rust/src/longport/quote/mod.rs.html
    index e0047e0c7..bd10521ff 100644
    --- a/v2/rust/src/longport/quote/mod.rs.html
    +++ b/v2/rust/src/longport/quote/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source

    longport/quote/
    mod.rs

    +mod.rs - source

    longport/quote/
    mod.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/quote/push_types.rs.html b/v2/rust/src/longport/quote/push_types.rs.html
    index 25030ac28..0d93c18e9 100644
    --- a/v2/rust/src/longport/quote/push_types.rs.html
    +++ b/v2/rust/src/longport/quote/push_types.rs.html
    @@ -1,4 +1,4 @@
    -push_types.rs - source

    longport/quote/
    push_types.rs

    +push_types.rs - source

    longport/quote/
    push_types.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/quote/store.rs.html b/v2/rust/src/longport/quote/store.rs.html
    index e3465a6b3..a1a5d8a0c 100644
    --- a/v2/rust/src/longport/quote/store.rs.html
    +++ b/v2/rust/src/longport/quote/store.rs.html
    @@ -1,4 +1,4 @@
    -store.rs - source

    longport/quote/
    store.rs

    +store.rs - source

    longport/quote/
    store.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/quote/sub_flags.rs.html b/v2/rust/src/longport/quote/sub_flags.rs.html
    index db02bf96e..1a86e4673 100644
    --- a/v2/rust/src/longport/quote/sub_flags.rs.html
    +++ b/v2/rust/src/longport/quote/sub_flags.rs.html
    @@ -1,4 +1,4 @@
    -sub_flags.rs - source

    longport/quote/
    sub_flags.rs

    +sub_flags.rs - source

    longport/quote/
    sub_flags.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/quote/types.rs.html b/v2/rust/src/longport/quote/types.rs.html
    index 4a53ba1b1..653ead3a9 100644
    --- a/v2/rust/src/longport/quote/types.rs.html
    +++ b/v2/rust/src/longport/quote/types.rs.html
    @@ -1,4 +1,4 @@
    -types.rs - source

    longport/quote/
    types.rs

    +types.rs - source

    longport/quote/
    types.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/quote/utils.rs.html b/v2/rust/src/longport/quote/utils.rs.html
    index 7c7503fa2..c40c5ee85 100644
    --- a/v2/rust/src/longport/quote/utils.rs.html
    +++ b/v2/rust/src/longport/quote/utils.rs.html
    @@ -1,4 +1,4 @@
    -utils.rs - source

    longport/quote/
    utils.rs

    +utils.rs - source

    longport/quote/
    utils.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/serde_utils.rs.html b/v2/rust/src/longport/serde_utils.rs.html
    index 48f15d372..1315415d6 100644
    --- a/v2/rust/src/longport/serde_utils.rs.html
    +++ b/v2/rust/src/longport/serde_utils.rs.html
    @@ -1,4 +1,4 @@
    -serde_utils.rs - source

    longport/
    serde_utils.rs

    +serde_utils.rs - source

    longport/
    serde_utils.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/cmd_code.rs.html b/v2/rust/src/longport/trade/cmd_code.rs.html
    index 16d5cc1ea..f46efcb2b 100644
    --- a/v2/rust/src/longport/trade/cmd_code.rs.html
    +++ b/v2/rust/src/longport/trade/cmd_code.rs.html
    @@ -1,4 +1,4 @@
    -cmd_code.rs - source

    longport/trade/
    cmd_code.rs

    +cmd_code.rs - source

    longport/trade/
    cmd_code.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/context.rs.html b/v2/rust/src/longport/trade/context.rs.html
    index 15133d541..ba46467c1 100644
    --- a/v2/rust/src/longport/trade/context.rs.html
    +++ b/v2/rust/src/longport/trade/context.rs.html
    @@ -1,4 +1,4 @@
    -context.rs - source

    longport/trade/
    context.rs

    +context.rs - source

    longport/trade/
    context.rs

     1
     2
     3
    @@ -748,14 +748,31 @@
     747
     748
     749
    -750
    use std::sync::Arc;
    +750
    +751
    +752
    +753
    +754
    +755
    +756
    +757
    +758
    +759
    +760
    +761
    +762
    +763
    +764
    +765
    +766
    +767
    use std::sync::Arc;
     
     use longport_httpcli::{HttpClient, Json, Method};
     use longport_wscli::WsClientError;
     use rust_decimal::Decimal;
     use serde::{Deserialize, Serialize};
     use tokio::sync::{mpsc, oneshot};
    -use tracing::{instrument::WithSubscriber, Subscriber};
    +use tracing::{dispatcher, instrument::WithSubscriber, Subscriber};
     
     use crate::{
         trade::{
    @@ -796,12 +813,25 @@
         log_subscriber: Arc<dyn Subscriber + Send + Sync>,
     }
     
    +impl Drop for TradeContext {
    +    fn drop(&mut self) {
    +        dispatcher::with_default(&self.log_subscriber.clone().into(), || {
    +            tracing::info!("trade context dropped");
    +        });
    +    }
    +}
    +
     impl TradeContext {
         /// Create a `TradeContext`
         pub async fn try_new(
             config: Arc<Config>,
         ) -> Result<(Self, mpsc::UnboundedReceiver<PushEvent>)> {
             let log_subscriber = config.create_log_subscriber("trade");
    +
    +        dispatcher::with_default(&log_subscriber.clone().into(), || {
    +            tracing::info!(language = ?config.language, "creating trade context");
    +        });
    +
             let http_cli = config.create_http_client();
             let (command_tx, command_rx) = mpsc::unbounded_channel();
             let (push_tx, push_rx) = mpsc::unbounded_channel();
    @@ -810,6 +840,10 @@
                 .await?;
             tokio::spawn(core.run().with_subscriber(log_subscriber.clone()));
     
    +        dispatcher::with_default(&log_subscriber.clone().into(), || {
    +            tracing::info!("trade context created");
    +        });
    +
             Ok((
                 TradeContext {
                     http_cli,
    diff --git a/v2/rust/src/longport/trade/core.rs.html b/v2/rust/src/longport/trade/core.rs.html
    index 78b4cd89f..f4807906f 100644
    --- a/v2/rust/src/longport/trade/core.rs.html
    +++ b/v2/rust/src/longport/trade/core.rs.html
    @@ -1,4 +1,4 @@
    -core.rs - source

    longport/trade/
    core.rs

    +core.rs - source

    longport/trade/
    core.rs

     1
     2
     3
    @@ -289,7 +289,10 @@
     288
     289
     290
    -291
    use std::{
    +291
    +292
    +293
    +294
    use std::{
         collections::{HashSet, VecDeque},
         sync::Arc,
         time::Duration,
    @@ -499,6 +502,7 @@
         async fn handle_push(&mut self, command_code: u8, body: Vec<u8>) -> Result<()> {
             match PushEvent::parse(command_code, &body) {
                 Ok(Some(event)) => {
    +                tracing::info!(event = ?event, "push event");
                     let _ = self.push_tx.send(event);
                 }
                 Ok(None) => {}
    @@ -553,6 +557,7 @@
             let req = Sub {
                 topics: topics.iter().map(ToString::to_string).collect(),
             };
    +        tracing::info!(topics = ?req.topics, "subscribing topics");
             let resp: SubResponse = self.ws_cli.request(cmd_code::SUBSCRIBE, None, req).await?;
             self.subscriptions = resp.current.into_iter().collect();
             Ok(())
    @@ -562,6 +567,7 @@
             let req = Unsub {
                 topics: topics.iter().map(ToString::to_string).collect(),
             };
    +        tracing::info!(topics = ?req.topics, "unsubscribing topics");
             let resp: UnsubResponse = self
                 .ws_cli
                 .request(cmd_code::UNSUBSCRIBE, None, req)
    diff --git a/v2/rust/src/longport/trade/mod.rs.html b/v2/rust/src/longport/trade/mod.rs.html
    index 73a7e2d57..b559768fc 100644
    --- a/v2/rust/src/longport/trade/mod.rs.html
    +++ b/v2/rust/src/longport/trade/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source

    longport/trade/
    mod.rs

    +mod.rs - source

    longport/trade/
    mod.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/push_types.rs.html b/v2/rust/src/longport/trade/push_types.rs.html
    index 6567bcc9e..1c9cbb76b 100644
    --- a/v2/rust/src/longport/trade/push_types.rs.html
    +++ b/v2/rust/src/longport/trade/push_types.rs.html
    @@ -1,4 +1,4 @@
    -push_types.rs - source

    longport/trade/
    push_types.rs

    +push_types.rs - source

    longport/trade/
    push_types.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/estimate_max_purchase_quantity.rs.html b/v2/rust/src/longport/trade/requests/estimate_max_purchase_quantity.rs.html
    index 4c3716f94..7bb2ef8c4 100644
    --- a/v2/rust/src/longport/trade/requests/estimate_max_purchase_quantity.rs.html
    +++ b/v2/rust/src/longport/trade/requests/estimate_max_purchase_quantity.rs.html
    @@ -1,4 +1,4 @@
    -estimate_max_purchase_quantity.rs - source

    longport/trade/requests/
    estimate_max_purchase_quantity.rs

    +estimate_max_purchase_quantity.rs - source

    longport/trade/requests/
    estimate_max_purchase_quantity.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/get_cash_flow.rs.html b/v2/rust/src/longport/trade/requests/get_cash_flow.rs.html
    index e0efc6b3b..8565a3584 100644
    --- a/v2/rust/src/longport/trade/requests/get_cash_flow.rs.html
    +++ b/v2/rust/src/longport/trade/requests/get_cash_flow.rs.html
    @@ -1,4 +1,4 @@
    -get_cash_flow.rs - source

    longport/trade/requests/
    get_cash_flow.rs

    +get_cash_flow.rs - source

    longport/trade/requests/
    get_cash_flow.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/get_fund_positions.rs.html b/v2/rust/src/longport/trade/requests/get_fund_positions.rs.html
    index aafba3176..33c390a74 100644
    --- a/v2/rust/src/longport/trade/requests/get_fund_positions.rs.html
    +++ b/v2/rust/src/longport/trade/requests/get_fund_positions.rs.html
    @@ -1,4 +1,4 @@
    -get_fund_positions.rs - source

    longport/trade/requests/
    get_fund_positions.rs

    +get_fund_positions.rs - source

    longport/trade/requests/
    get_fund_positions.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/get_history_executions.rs.html b/v2/rust/src/longport/trade/requests/get_history_executions.rs.html
    index 59a8f8be8..6ad2f2045 100644
    --- a/v2/rust/src/longport/trade/requests/get_history_executions.rs.html
    +++ b/v2/rust/src/longport/trade/requests/get_history_executions.rs.html
    @@ -1,4 +1,4 @@
    -get_history_executions.rs - source

    longport/trade/requests/
    get_history_executions.rs

    +get_history_executions.rs - source

    longport/trade/requests/
    get_history_executions.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/get_history_orders.rs.html b/v2/rust/src/longport/trade/requests/get_history_orders.rs.html
    index 9915eeabb..74a1069f7 100644
    --- a/v2/rust/src/longport/trade/requests/get_history_orders.rs.html
    +++ b/v2/rust/src/longport/trade/requests/get_history_orders.rs.html
    @@ -1,4 +1,4 @@
    -get_history_orders.rs - source

    longport/trade/requests/
    get_history_orders.rs

    +get_history_orders.rs - source

    longport/trade/requests/
    get_history_orders.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/get_stock_positions.rs.html b/v2/rust/src/longport/trade/requests/get_stock_positions.rs.html
    index 85c0105ba..2ab8af133 100644
    --- a/v2/rust/src/longport/trade/requests/get_stock_positions.rs.html
    +++ b/v2/rust/src/longport/trade/requests/get_stock_positions.rs.html
    @@ -1,4 +1,4 @@
    -get_stock_positions.rs - source

    longport/trade/requests/
    get_stock_positions.rs

    +get_stock_positions.rs - source

    longport/trade/requests/
    get_stock_positions.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/get_today_executions.rs.html b/v2/rust/src/longport/trade/requests/get_today_executions.rs.html
    index 9589742b8..c4627fa3e 100644
    --- a/v2/rust/src/longport/trade/requests/get_today_executions.rs.html
    +++ b/v2/rust/src/longport/trade/requests/get_today_executions.rs.html
    @@ -1,4 +1,4 @@
    -get_today_executions.rs - source

    longport/trade/requests/
    get_today_executions.rs

    +get_today_executions.rs - source

    longport/trade/requests/
    get_today_executions.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/get_today_orders.rs.html b/v2/rust/src/longport/trade/requests/get_today_orders.rs.html
    index b2dc2424c..d1d5f67eb 100644
    --- a/v2/rust/src/longport/trade/requests/get_today_orders.rs.html
    +++ b/v2/rust/src/longport/trade/requests/get_today_orders.rs.html
    @@ -1,4 +1,4 @@
    -get_today_orders.rs - source

    longport/trade/requests/
    get_today_orders.rs

    +get_today_orders.rs - source

    longport/trade/requests/
    get_today_orders.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/mod.rs.html b/v2/rust/src/longport/trade/requests/mod.rs.html
    index 88cc4153e..c0c408496 100644
    --- a/v2/rust/src/longport/trade/requests/mod.rs.html
    +++ b/v2/rust/src/longport/trade/requests/mod.rs.html
    @@ -1,4 +1,4 @@
    -mod.rs - source

    longport/trade/requests/
    mod.rs

    +mod.rs - source

    longport/trade/requests/
    mod.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/replace_order.rs.html b/v2/rust/src/longport/trade/requests/replace_order.rs.html
    index b4b0080e8..55acbbd8f 100644
    --- a/v2/rust/src/longport/trade/requests/replace_order.rs.html
    +++ b/v2/rust/src/longport/trade/requests/replace_order.rs.html
    @@ -1,4 +1,4 @@
    -replace_order.rs - source

    longport/trade/requests/
    replace_order.rs

    +replace_order.rs - source

    longport/trade/requests/
    replace_order.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/requests/submit_order.rs.html b/v2/rust/src/longport/trade/requests/submit_order.rs.html
    index fc16b69c9..0d7fdfd84 100644
    --- a/v2/rust/src/longport/trade/requests/submit_order.rs.html
    +++ b/v2/rust/src/longport/trade/requests/submit_order.rs.html
    @@ -1,4 +1,4 @@
    -submit_order.rs - source

    longport/trade/requests/
    submit_order.rs

    +submit_order.rs - source

    longport/trade/requests/
    submit_order.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/trade/types.rs.html b/v2/rust/src/longport/trade/types.rs.html
    index 3b53ba64e..dbe478314 100644
    --- a/v2/rust/src/longport/trade/types.rs.html
    +++ b/v2/rust/src/longport/trade/types.rs.html
    @@ -1,4 +1,4 @@
    -types.rs - source

    longport/trade/
    types.rs

    +types.rs - source

    longport/trade/
    types.rs

     1
     2
     3
    diff --git a/v2/rust/src/longport/types.rs.html b/v2/rust/src/longport/types.rs.html
    index a0d94c266..ca3d8b375 100644
    --- a/v2/rust/src/longport/types.rs.html
    +++ b/v2/rust/src/longport/types.rs.html
    @@ -1,4 +1,4 @@
    -types.rs - source

    longport/
    types.rs

    +types.rs - source

    longport/
    types.rs

     1
     2
     3
    diff --git a/v2/rust/trait.impl/core/clone/trait.Clone.js b/v2/rust/trait.impl/core/clone/trait.Clone.js
    index c4dc63237..2309b0ce1 100644
    --- a/v2/rust/trait.impl/core/clone/trait.Clone.js
    +++ b/v2/rust/trait.impl/core/clone/trait.Clone.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Clone for Language"],["impl Clone for Market"],["impl Clone for PushCandlestickMode"],["impl Clone for CalcIndex"],["impl Clone for FilterWarrantExpiryDate"],["impl Clone for FilterWarrantInOutBoundsType"],["impl Clone for OptionDirection"],["impl Clone for OptionType"],["impl Clone for SecuritiesUpdateMode"],["impl Clone for SecurityBoard"],["impl Clone for SecurityListCategory"],["impl Clone for SortOrderType"],["impl Clone for TradeDirection"],["impl Clone for WarrantSortBy"],["impl Clone for WarrantStatus"],["impl Clone for WarrantType"],["impl Clone for BalanceType"],["impl Clone for CashFlowDirection"],["impl Clone for ChargeCategoryCode"],["impl Clone for CommissionFreeStatus"],["impl Clone for DeductionStatus"],["impl Clone for OrderSide"],["impl Clone for OrderStatus"],["impl Clone for OrderTag"],["impl Clone for OrderType"],["impl Clone for OutsideRTH"],["impl Clone for TimeInForceType"],["impl Clone for TopicType"],["impl Clone for TriggerPriceType"],["impl Clone for TriggerStatus"],["impl Clone for Brokers"],["impl Clone for Candlestick"],["impl Clone for CapitalDistribution"],["impl Clone for CapitalDistributionResponse"],["impl Clone for CapitalFlowLine"],["impl Clone for Depth"],["impl Clone for DerivativeType"],["impl Clone for IntradayLine"],["impl Clone for IssuerInfo"],["impl Clone for MarketTradingDays"],["impl Clone for MarketTradingSession"],["impl Clone for OptionQuote"],["impl Clone for ParticipantInfo"],["impl Clone for PrePostQuote"],["impl Clone for PushCandlestick"],["impl Clone for PushQuote"],["impl Clone for QuoteContext"],["impl Clone for QuotePackageDetail"],["impl Clone for RealtimeQuote"],["impl Clone for RequestCreateWatchlistGroup"],["impl Clone for RequestUpdateWatchlistGroup"],["impl Clone for SecurityBrokers"],["impl Clone for SecurityCalcIndex"],["impl Clone for SecurityDepth"],["impl Clone for SecurityQuote"],["impl Clone for StrikePriceInfo"],["impl Clone for SubFlags"],["impl Clone for Subscription"],["impl Clone for Trade"],["impl Clone for TradingSessionInfo"],["impl Clone for WarrantInfo"],["impl Clone for WarrantQuote"],["impl Clone for WatchlistGroup"],["impl Clone for WatchlistSecurity"],["impl Clone for Config"],["impl Clone for AccountBalance"],["impl Clone for CashFlow"],["impl Clone for CashInfo"],["impl Clone for EstimateMaxPurchaseQuantityOptions"],["impl Clone for Execution"],["impl Clone for FundPosition"],["impl Clone for FundPositionChannel"],["impl Clone for FundPositionsResponse"],["impl Clone for GetCashFlowOptions"],["impl Clone for GetHistoryExecutionsOptions"],["impl Clone for GetHistoryOrdersOptions"],["impl Clone for GetTodayExecutionsOptions"],["impl Clone for GetTodayOrdersOptions"],["impl Clone for MarginRatio"],["impl Clone for Order"],["impl Clone for OrderChargeDetail"],["impl Clone for OrderChargeFee"],["impl Clone for OrderChargeItem"],["impl Clone for OrderDetail"],["impl Clone for OrderHistoryDetail"],["impl Clone for ReplaceOrderOptions"],["impl Clone for StockPosition"],["impl Clone for StockPositionChannel"],["impl Clone for StockPositionsResponse"],["impl Clone for SubmitOrderOptions"],["impl Clone for TradeContext"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Clone for Language"],["impl Clone for Market"],["impl Clone for PushCandlestickMode"],["impl Clone for CalcIndex"],["impl Clone for FilterWarrantExpiryDate"],["impl Clone for FilterWarrantInOutBoundsType"],["impl Clone for OptionDirection"],["impl Clone for OptionType"],["impl Clone for SecuritiesUpdateMode"],["impl Clone for SecurityBoard"],["impl Clone for SecurityListCategory"],["impl Clone for SortOrderType"],["impl Clone for TradeDirection"],["impl Clone for WarrantSortBy"],["impl Clone for WarrantStatus"],["impl Clone for WarrantType"],["impl Clone for BalanceType"],["impl Clone for CashFlowDirection"],["impl Clone for ChargeCategoryCode"],["impl Clone for CommissionFreeStatus"],["impl Clone for DeductionStatus"],["impl Clone for OrderSide"],["impl Clone for OrderStatus"],["impl Clone for OrderTag"],["impl Clone for OrderType"],["impl Clone for OutsideRTH"],["impl Clone for TimeInForceType"],["impl Clone for TopicType"],["impl Clone for TriggerPriceType"],["impl Clone for TriggerStatus"],["impl Clone for Brokers"],["impl Clone for Candlestick"],["impl Clone for CapitalDistribution"],["impl Clone for CapitalDistributionResponse"],["impl Clone for CapitalFlowLine"],["impl Clone for Depth"],["impl Clone for DerivativeType"],["impl Clone for IntradayLine"],["impl Clone for IssuerInfo"],["impl Clone for MarketTradingDays"],["impl Clone for MarketTradingSession"],["impl Clone for OptionQuote"],["impl Clone for ParticipantInfo"],["impl Clone for PrePostQuote"],["impl Clone for PushCandlestick"],["impl Clone for PushQuote"],["impl Clone for QuoteContext"],["impl Clone for QuotePackageDetail"],["impl Clone for RealtimeQuote"],["impl Clone for RequestCreateWatchlistGroup"],["impl Clone for RequestUpdateWatchlistGroup"],["impl Clone for SecurityBrokers"],["impl Clone for SecurityCalcIndex"],["impl Clone for SecurityDepth"],["impl Clone for SecurityQuote"],["impl Clone for StrikePriceInfo"],["impl Clone for SubFlags"],["impl Clone for Subscription"],["impl Clone for Trade"],["impl Clone for TradingSessionInfo"],["impl Clone for WarrantInfo"],["impl Clone for WarrantQuote"],["impl Clone for WatchlistGroup"],["impl Clone for WatchlistSecurity"],["impl Clone for Config"],["impl Clone for AccountBalance"],["impl Clone for CashFlow"],["impl Clone for CashInfo"],["impl Clone for EstimateMaxPurchaseQuantityOptions"],["impl Clone for Execution"],["impl Clone for FundPosition"],["impl Clone for FundPositionChannel"],["impl Clone for FundPositionsResponse"],["impl Clone for GetCashFlowOptions"],["impl Clone for GetHistoryExecutionsOptions"],["impl Clone for GetHistoryOrdersOptions"],["impl Clone for GetTodayExecutionsOptions"],["impl Clone for GetTodayOrdersOptions"],["impl Clone for MarginRatio"],["impl Clone for Order"],["impl Clone for OrderChargeDetail"],["impl Clone for OrderChargeFee"],["impl Clone for OrderChargeItem"],["impl Clone for OrderDetail"],["impl Clone for OrderHistoryDetail"],["impl Clone for ReplaceOrderOptions"],["impl Clone for StockPosition"],["impl Clone for StockPositionChannel"],["impl Clone for StockPositionsResponse"],["impl Clone for SubmitOrderOptions"],["impl Clone for TradeContext"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/cmp/trait.Eq.js b/v2/rust/trait.impl/core/cmp/trait.Eq.js
    index 4f4feace5..35fc1cbc3 100644
    --- a/v2/rust/trait.impl/core/cmp/trait.Eq.js
    +++ b/v2/rust/trait.impl/core/cmp/trait.Eq.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Eq for Language"],["impl Eq for Market"],["impl Eq for PushCandlestickMode"],["impl Eq for CalcIndex"],["impl Eq for FilterWarrantExpiryDate"],["impl Eq for FilterWarrantInOutBoundsType"],["impl Eq for OptionDirection"],["impl Eq for OptionType"],["impl Eq for SecurityBoard"],["impl Eq for SecurityListCategory"],["impl Eq for SortOrderType"],["impl Eq for TradeDirection"],["impl Eq for WarrantSortBy"],["impl Eq for WarrantStatus"],["impl Eq for WarrantType"],["impl Eq for BalanceType"],["impl Eq for CashFlowDirection"],["impl Eq for ChargeCategoryCode"],["impl Eq for CommissionFreeStatus"],["impl Eq for DeductionStatus"],["impl Eq for OrderSide"],["impl Eq for OrderStatus"],["impl Eq for OrderTag"],["impl Eq for OrderType"],["impl Eq for OutsideRTH"],["impl Eq for TimeInForceType"],["impl Eq for TopicType"],["impl Eq for TriggerPriceType"],["impl Eq for TriggerStatus"],["impl Eq for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Eq for Language"],["impl Eq for Market"],["impl Eq for PushCandlestickMode"],["impl Eq for CalcIndex"],["impl Eq for FilterWarrantExpiryDate"],["impl Eq for FilterWarrantInOutBoundsType"],["impl Eq for OptionDirection"],["impl Eq for OptionType"],["impl Eq for SecurityBoard"],["impl Eq for SecurityListCategory"],["impl Eq for SortOrderType"],["impl Eq for TradeDirection"],["impl Eq for WarrantSortBy"],["impl Eq for WarrantStatus"],["impl Eq for WarrantType"],["impl Eq for BalanceType"],["impl Eq for CashFlowDirection"],["impl Eq for ChargeCategoryCode"],["impl Eq for CommissionFreeStatus"],["impl Eq for DeductionStatus"],["impl Eq for OrderSide"],["impl Eq for OrderStatus"],["impl Eq for OrderTag"],["impl Eq for OrderType"],["impl Eq for OutsideRTH"],["impl Eq for TimeInForceType"],["impl Eq for TopicType"],["impl Eq for TriggerPriceType"],["impl Eq for TriggerStatus"],["impl Eq for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/cmp/trait.PartialEq.js b/v2/rust/trait.impl/core/cmp/trait.PartialEq.js
    index ca1789e38..e33349bb1 100644
    --- a/v2/rust/trait.impl/core/cmp/trait.PartialEq.js
    +++ b/v2/rust/trait.impl/core/cmp/trait.PartialEq.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl PartialEq for Language"],["impl PartialEq for Market"],["impl PartialEq for PushCandlestickMode"],["impl PartialEq for CalcIndex"],["impl PartialEq for FilterWarrantExpiryDate"],["impl PartialEq for FilterWarrantInOutBoundsType"],["impl PartialEq for OptionDirection"],["impl PartialEq for OptionType"],["impl PartialEq for SecurityBoard"],["impl PartialEq for SecurityListCategory"],["impl PartialEq for SortOrderType"],["impl PartialEq for TradeDirection"],["impl PartialEq for WarrantSortBy"],["impl PartialEq for WarrantStatus"],["impl PartialEq for WarrantType"],["impl PartialEq for BalanceType"],["impl PartialEq for CashFlowDirection"],["impl PartialEq for ChargeCategoryCode"],["impl PartialEq for CommissionFreeStatus"],["impl PartialEq for DeductionStatus"],["impl PartialEq for OrderSide"],["impl PartialEq for OrderStatus"],["impl PartialEq for OrderTag"],["impl PartialEq for OrderType"],["impl PartialEq for OutsideRTH"],["impl PartialEq for TimeInForceType"],["impl PartialEq for TopicType"],["impl PartialEq for TriggerPriceType"],["impl PartialEq for TriggerStatus"],["impl PartialEq for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl PartialEq for Language"],["impl PartialEq for Market"],["impl PartialEq for PushCandlestickMode"],["impl PartialEq for CalcIndex"],["impl PartialEq for FilterWarrantExpiryDate"],["impl PartialEq for FilterWarrantInOutBoundsType"],["impl PartialEq for OptionDirection"],["impl PartialEq for OptionType"],["impl PartialEq for SecurityBoard"],["impl PartialEq for SecurityListCategory"],["impl PartialEq for SortOrderType"],["impl PartialEq for TradeDirection"],["impl PartialEq for WarrantSortBy"],["impl PartialEq for WarrantStatus"],["impl PartialEq for WarrantType"],["impl PartialEq for BalanceType"],["impl PartialEq for CashFlowDirection"],["impl PartialEq for ChargeCategoryCode"],["impl PartialEq for CommissionFreeStatus"],["impl PartialEq for DeductionStatus"],["impl PartialEq for OrderSide"],["impl PartialEq for OrderStatus"],["impl PartialEq for OrderTag"],["impl PartialEq for OrderType"],["impl PartialEq for OutsideRTH"],["impl PartialEq for TimeInForceType"],["impl PartialEq for TopicType"],["impl PartialEq for TriggerPriceType"],["impl PartialEq for TriggerStatus"],["impl PartialEq for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/convert/trait.From.js b/v2/rust/trait.impl/core/convert/trait.From.js
    index 13c9c7b9e..41c218edf 100644
    --- a/v2/rust/trait.impl/core/convert/trait.From.js
    +++ b/v2/rust/trait.impl/core/convert/trait.From.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl From<Error> for SimpleError"],["impl From<Language> for i32"],["impl From<CalcIndex> for CalcIndex"],["impl From<FilterWarrantExpiryDate> for i32"],["impl From<FilterWarrantInOutBoundsType> for i32"],["impl From<SortOrderType> for i32"],["impl From<WarrantSortBy> for i32"],["impl From<WarrantStatus> for i32"],["impl From<WarrantType> for i32"],["impl From<BalanceType> for i32"],["impl From<i32> for TradeDirection"],["impl From<i32> for BalanceType"],["impl From<i32> for CashFlowDirection"],["impl From<Vec<i32>> for SubFlags"],["impl From<DecodeError> for Error"],["impl From<Error> for Error"],["impl From<Candlestick> for Candlestick"],["impl From<SubFlags> for Vec<i32>"],["impl From<Brokers> for Brokers"],["impl From<Candlestick> for Candlestick"],["impl From<HttpClientError> for Error"],["impl From<IssuerInfo> for IssuerInfo"],["impl From<ParticipantInfo> for ParticipantInfo"],["impl From<WsClientError> for Error"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl From<Error> for SimpleError"],["impl From<Language> for i32"],["impl From<CalcIndex> for CalcIndex"],["impl From<FilterWarrantExpiryDate> for i32"],["impl From<FilterWarrantInOutBoundsType> for i32"],["impl From<SortOrderType> for i32"],["impl From<WarrantSortBy> for i32"],["impl From<WarrantStatus> for i32"],["impl From<WarrantType> for i32"],["impl From<BalanceType> for i32"],["impl From<i32> for TradeDirection"],["impl From<i32> for BalanceType"],["impl From<i32> for CashFlowDirection"],["impl From<Vec<i32>> for SubFlags"],["impl From<DecodeError> for Error"],["impl From<Error> for Error"],["impl From<Candlestick> for Candlestick"],["impl From<SubFlags> for Vec<i32>"],["impl From<Brokers> for Brokers"],["impl From<Candlestick> for Candlestick"],["impl From<HttpClientError> for Error"],["impl From<IssuerInfo> for IssuerInfo"],["impl From<ParticipantInfo> for ParticipantInfo"],["impl From<WsClientError> for Error"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/convert/trait.TryFrom.js b/v2/rust/trait.impl/core/convert/trait.TryFrom.js
    index 597b51c2e..275e168f9 100644
    --- a/v2/rust/trait.impl/core/convert/trait.TryFrom.js
    +++ b/v2/rust/trait.impl/core/convert/trait.TryFrom.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl TryFrom<&str> for Market"],["impl TryFrom<&str> for OptionDirection"],["impl TryFrom<&str> for OptionType"],["impl TryFrom<&str> for SecurityBoard"],["impl TryFrom<&str> for SecurityListCategory"],["impl TryFrom<&str> for WarrantType"],["impl TryFrom<&str> for ChargeCategoryCode"],["impl TryFrom<&str> for CommissionFreeStatus"],["impl TryFrom<&str> for DeductionStatus"],["impl TryFrom<&str> for OrderSide"],["impl TryFrom<&str> for OrderStatus"],["impl TryFrom<&str> for OrderTag"],["impl TryFrom<&str> for OrderType"],["impl TryFrom<&str> for OutsideRTH"],["impl TryFrom<&str> for TimeInForceType"],["impl TryFrom<&str> for TopicType"],["impl TryFrom<&str> for TriggerPriceType"],["impl TryFrom<&str> for TriggerStatus"],["impl TryFrom<i32> for WarrantStatus"],["impl TryFrom<i32> for WarrantType"],["impl TryFrom<Candlestick> for Candlestick"],["impl TryFrom<CapitalDistribution> for CapitalDistribution"],["impl TryFrom<CapitalDistributionResponse> for CapitalDistributionResponse"],["impl TryFrom<CapitalFlowLine> for CapitalFlowLine"],["impl TryFrom<Depth> for Depth"],["impl TryFrom<FilterWarrant> for WarrantInfo"],["impl TryFrom<Line> for IntradayLine"],["impl TryFrom<MarketTradePeriod> for MarketTradingSession"],["impl TryFrom<OptionQuote> for OptionQuote"],["impl TryFrom<PackageDetail> for QuotePackageDetail"],["impl TryFrom<PrePostQuote> for PrePostQuote"],["impl TryFrom<SecurityQuote> for SecurityQuote"],["impl TryFrom<StaticInfo> for SecurityStaticInfo"],["impl TryFrom<StrikePriceInfo> for StrikePriceInfo"],["impl TryFrom<Trade> for Trade"],["impl TryFrom<TradePeriod> for TradingSessionInfo"],["impl TryFrom<WarrantQuote> for WarrantQuote"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl TryFrom<&str> for Market"],["impl TryFrom<&str> for OptionDirection"],["impl TryFrom<&str> for OptionType"],["impl TryFrom<&str> for SecurityBoard"],["impl TryFrom<&str> for SecurityListCategory"],["impl TryFrom<&str> for WarrantType"],["impl TryFrom<&str> for ChargeCategoryCode"],["impl TryFrom<&str> for CommissionFreeStatus"],["impl TryFrom<&str> for DeductionStatus"],["impl TryFrom<&str> for OrderSide"],["impl TryFrom<&str> for OrderStatus"],["impl TryFrom<&str> for OrderTag"],["impl TryFrom<&str> for OrderType"],["impl TryFrom<&str> for OutsideRTH"],["impl TryFrom<&str> for TimeInForceType"],["impl TryFrom<&str> for TopicType"],["impl TryFrom<&str> for TriggerPriceType"],["impl TryFrom<&str> for TriggerStatus"],["impl TryFrom<i32> for WarrantStatus"],["impl TryFrom<i32> for WarrantType"],["impl TryFrom<Candlestick> for Candlestick"],["impl TryFrom<CapitalDistribution> for CapitalDistribution"],["impl TryFrom<CapitalDistributionResponse> for CapitalDistributionResponse"],["impl TryFrom<CapitalFlowLine> for CapitalFlowLine"],["impl TryFrom<Depth> for Depth"],["impl TryFrom<FilterWarrant> for WarrantInfo"],["impl TryFrom<Line> for IntradayLine"],["impl TryFrom<MarketTradePeriod> for MarketTradingSession"],["impl TryFrom<OptionQuote> for OptionQuote"],["impl TryFrom<PackageDetail> for QuotePackageDetail"],["impl TryFrom<PrePostQuote> for PrePostQuote"],["impl TryFrom<SecurityQuote> for SecurityQuote"],["impl TryFrom<StaticInfo> for SecurityStaticInfo"],["impl TryFrom<StrikePriceInfo> for StrikePriceInfo"],["impl TryFrom<Trade> for Trade"],["impl TryFrom<TradePeriod> for TradingSessionInfo"],["impl TryFrom<WarrantQuote> for WarrantQuote"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/default/trait.Default.js b/v2/rust/trait.impl/core/default/trait.Default.js
    index 42753ecf1..64f06d201 100644
    --- a/v2/rust/trait.impl/core/default/trait.Default.js
    +++ b/v2/rust/trait.impl/core/default/trait.Default.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Default for Language"],["impl Default for Market"],["impl Default for PushCandlestickMode"],["impl Default for OptionDirection"],["impl Default for OptionType"],["impl Default for SecuritiesUpdateMode"],["impl Default for SecurityBoard"],["impl Default for WarrantType"],["impl Default for ChargeCategoryCode"],["impl Default for CommissionFreeStatus"],["impl Default for DeductionStatus"],["impl Default for OrderSide"],["impl Default for OrderStatus"],["impl Default for OrderTag"],["impl Default for OrderType"],["impl Default for OutsideRTH"],["impl Default for TimeInForceType"],["impl Default for TriggerPriceType"],["impl Default for TriggerStatus"],["impl Default for CapitalDistribution"],["impl Default for PushQuote"],["impl Default for SecurityBrokers"],["impl Default for SecurityDepth"],["impl Default for GetFundPositionsOptions"],["impl Default for GetHistoryExecutionsOptions"],["impl Default for GetHistoryOrdersOptions"],["impl Default for GetStockPositionsOptions"],["impl Default for GetTodayExecutionsOptions"],["impl Default for GetTodayOrdersOptions"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Default for Language"],["impl Default for Market"],["impl Default for PushCandlestickMode"],["impl Default for OptionDirection"],["impl Default for OptionType"],["impl Default for SecuritiesUpdateMode"],["impl Default for SecurityBoard"],["impl Default for WarrantType"],["impl Default for ChargeCategoryCode"],["impl Default for CommissionFreeStatus"],["impl Default for DeductionStatus"],["impl Default for OrderSide"],["impl Default for OrderStatus"],["impl Default for OrderTag"],["impl Default for OrderType"],["impl Default for OutsideRTH"],["impl Default for TimeInForceType"],["impl Default for TriggerPriceType"],["impl Default for TriggerStatus"],["impl Default for CapitalDistribution"],["impl Default for PushQuote"],["impl Default for SecurityBrokers"],["impl Default for SecurityDepth"],["impl Default for GetFundPositionsOptions"],["impl Default for GetHistoryExecutionsOptions"],["impl Default for GetHistoryOrdersOptions"],["impl Default for GetStockPositionsOptions"],["impl Default for GetTodayExecutionsOptions"],["impl Default for GetTodayOrdersOptions"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/error/trait.Error.js b/v2/rust/trait.impl/core/error/trait.Error.js
    index e09921110..e04fb876c 100644
    --- a/v2/rust/trait.impl/core/error/trait.Error.js
    +++ b/v2/rust/trait.impl/core/error/trait.Error.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Error for Error"],["impl Error for SimpleError"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Error for Error"],["impl Error for SimpleError"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/fmt/trait.Binary.js b/v2/rust/trait.impl/core/fmt/trait.Binary.js
    index 29e6b4d88..7ee65f2d1 100644
    --- a/v2/rust/trait.impl/core/fmt/trait.Binary.js
    +++ b/v2/rust/trait.impl/core/fmt/trait.Binary.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Binary for DerivativeType"],["impl Binary for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Binary for DerivativeType"],["impl Binary for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/fmt/trait.Debug.js b/v2/rust/trait.impl/core/fmt/trait.Debug.js
    index c60431d0f..7abeb9713 100644
    --- a/v2/rust/trait.impl/core/fmt/trait.Debug.js
    +++ b/v2/rust/trait.impl/core/fmt/trait.Debug.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Debug for Error"],["impl Debug for Language"],["impl Debug for Market"],["impl Debug for PushCandlestickMode"],["impl Debug for SimpleError"],["impl Debug for CalcIndex"],["impl Debug for FilterWarrantExpiryDate"],["impl Debug for FilterWarrantInOutBoundsType"],["impl Debug for OptionDirection"],["impl Debug for OptionType"],["impl Debug for PushEventDetail"],["impl Debug for SecuritiesUpdateMode"],["impl Debug for SecurityBoard"],["impl Debug for SecurityListCategory"],["impl Debug for SortOrderType"],["impl Debug for TradeDirection"],["impl Debug for WarrantSortBy"],["impl Debug for WarrantStatus"],["impl Debug for WarrantType"],["impl Debug for BalanceType"],["impl Debug for CashFlowDirection"],["impl Debug for ChargeCategoryCode"],["impl Debug for CommissionFreeStatus"],["impl Debug for DeductionStatus"],["impl Debug for OrderSide"],["impl Debug for OrderStatus"],["impl Debug for OrderTag"],["impl Debug for OrderType"],["impl Debug for OutsideRTH"],["impl Debug for PushEvent"],["impl Debug for TimeInForceType"],["impl Debug for TopicType"],["impl Debug for TriggerPriceType"],["impl Debug for TriggerStatus"],["impl Debug for Brokers"],["impl Debug for Candlestick"],["impl Debug for CapitalDistribution"],["impl Debug for CapitalDistributionResponse"],["impl Debug for CapitalFlowLine"],["impl Debug for Depth"],["impl Debug for DerivativeType"],["impl Debug for IntradayLine"],["impl Debug for IssuerInfo"],["impl Debug for MarketTradingDays"],["impl Debug for MarketTradingSession"],["impl Debug for OptionQuote"],["impl Debug for ParticipantInfo"],["impl Debug for PrePostQuote"],["impl Debug for PushBrokers"],["impl Debug for PushCandlestick"],["impl Debug for PushDepth"],["impl Debug for PushEvent"],["impl Debug for PushQuote"],["impl Debug for PushTrades"],["impl Debug for QuotePackageDetail"],["impl Debug for RealtimeQuote"],["impl Debug for RequestCreateWatchlistGroup"],["impl Debug for RequestUpdateWatchlistGroup"],["impl Debug for Security"],["impl Debug for SecurityBrokers"],["impl Debug for SecurityCalcIndex"],["impl Debug for SecurityDepth"],["impl Debug for SecurityQuote"],["impl Debug for SecurityStaticInfo"],["impl Debug for StrikePriceInfo"],["impl Debug for SubFlags"],["impl Debug for Subscription"],["impl Debug for Trade"],["impl Debug for TradingSessionInfo"],["impl Debug for WarrantInfo"],["impl Debug for WarrantQuote"],["impl Debug for WatchlistGroup"],["impl Debug for WatchlistSecurity"],["impl Debug for Config"],["impl Debug for AccountBalance"],["impl Debug for CashFlow"],["impl Debug for CashInfo"],["impl Debug for EstimateMaxPurchaseQuantityOptions"],["impl Debug for EstimateMaxPurchaseQuantityResponse"],["impl Debug for Execution"],["impl Debug for FundPosition"],["impl Debug for FundPositionChannel"],["impl Debug for FundPositionsResponse"],["impl Debug for GetCashFlowOptions"],["impl Debug for GetFundPositionsOptions"],["impl Debug for GetHistoryExecutionsOptions"],["impl Debug for GetHistoryOrdersOptions"],["impl Debug for GetStockPositionsOptions"],["impl Debug for GetTodayExecutionsOptions"],["impl Debug for GetTodayOrdersOptions"],["impl Debug for MarginRatio"],["impl Debug for Order"],["impl Debug for OrderChargeDetail"],["impl Debug for OrderChargeFee"],["impl Debug for OrderChargeItem"],["impl Debug for OrderDetail"],["impl Debug for OrderHistoryDetail"],["impl Debug for PushOrderChanged"],["impl Debug for ReplaceOrderOptions"],["impl Debug for StockPosition"],["impl Debug for StockPositionChannel"],["impl Debug for StockPositionsResponse"],["impl Debug for SubmitOrderOptions"],["impl Debug for SubmitOrderResponse"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Debug for Error"],["impl Debug for Language"],["impl Debug for Market"],["impl Debug for PushCandlestickMode"],["impl Debug for SimpleError"],["impl Debug for CalcIndex"],["impl Debug for FilterWarrantExpiryDate"],["impl Debug for FilterWarrantInOutBoundsType"],["impl Debug for OptionDirection"],["impl Debug for OptionType"],["impl Debug for PushEventDetail"],["impl Debug for SecuritiesUpdateMode"],["impl Debug for SecurityBoard"],["impl Debug for SecurityListCategory"],["impl Debug for SortOrderType"],["impl Debug for TradeDirection"],["impl Debug for WarrantSortBy"],["impl Debug for WarrantStatus"],["impl Debug for WarrantType"],["impl Debug for BalanceType"],["impl Debug for CashFlowDirection"],["impl Debug for ChargeCategoryCode"],["impl Debug for CommissionFreeStatus"],["impl Debug for DeductionStatus"],["impl Debug for OrderSide"],["impl Debug for OrderStatus"],["impl Debug for OrderTag"],["impl Debug for OrderType"],["impl Debug for OutsideRTH"],["impl Debug for PushEvent"],["impl Debug for TimeInForceType"],["impl Debug for TopicType"],["impl Debug for TriggerPriceType"],["impl Debug for TriggerStatus"],["impl Debug for Brokers"],["impl Debug for Candlestick"],["impl Debug for CapitalDistribution"],["impl Debug for CapitalDistributionResponse"],["impl Debug for CapitalFlowLine"],["impl Debug for Depth"],["impl Debug for DerivativeType"],["impl Debug for IntradayLine"],["impl Debug for IssuerInfo"],["impl Debug for MarketTradingDays"],["impl Debug for MarketTradingSession"],["impl Debug for OptionQuote"],["impl Debug for ParticipantInfo"],["impl Debug for PrePostQuote"],["impl Debug for PushBrokers"],["impl Debug for PushCandlestick"],["impl Debug for PushDepth"],["impl Debug for PushEvent"],["impl Debug for PushQuote"],["impl Debug for PushTrades"],["impl Debug for QuotePackageDetail"],["impl Debug for RealtimeQuote"],["impl Debug for RequestCreateWatchlistGroup"],["impl Debug for RequestUpdateWatchlistGroup"],["impl Debug for Security"],["impl Debug for SecurityBrokers"],["impl Debug for SecurityCalcIndex"],["impl Debug for SecurityDepth"],["impl Debug for SecurityQuote"],["impl Debug for SecurityStaticInfo"],["impl Debug for StrikePriceInfo"],["impl Debug for SubFlags"],["impl Debug for Subscription"],["impl Debug for Trade"],["impl Debug for TradingSessionInfo"],["impl Debug for WarrantInfo"],["impl Debug for WarrantQuote"],["impl Debug for WatchlistGroup"],["impl Debug for WatchlistSecurity"],["impl Debug for Config"],["impl Debug for AccountBalance"],["impl Debug for CashFlow"],["impl Debug for CashInfo"],["impl Debug for EstimateMaxPurchaseQuantityOptions"],["impl Debug for EstimateMaxPurchaseQuantityResponse"],["impl Debug for Execution"],["impl Debug for FundPosition"],["impl Debug for FundPositionChannel"],["impl Debug for FundPositionsResponse"],["impl Debug for GetCashFlowOptions"],["impl Debug for GetFundPositionsOptions"],["impl Debug for GetHistoryExecutionsOptions"],["impl Debug for GetHistoryOrdersOptions"],["impl Debug for GetStockPositionsOptions"],["impl Debug for GetTodayExecutionsOptions"],["impl Debug for GetTodayOrdersOptions"],["impl Debug for MarginRatio"],["impl Debug for Order"],["impl Debug for OrderChargeDetail"],["impl Debug for OrderChargeFee"],["impl Debug for OrderChargeItem"],["impl Debug for OrderDetail"],["impl Debug for OrderHistoryDetail"],["impl Debug for PushOrderChanged"],["impl Debug for ReplaceOrderOptions"],["impl Debug for StockPosition"],["impl Debug for StockPositionChannel"],["impl Debug for StockPositionsResponse"],["impl Debug for SubmitOrderOptions"],["impl Debug for SubmitOrderResponse"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/fmt/trait.Display.js b/v2/rust/trait.impl/core/fmt/trait.Display.js
    index 5cb7a2307..27fcac15e 100644
    --- a/v2/rust/trait.impl/core/fmt/trait.Display.js
    +++ b/v2/rust/trait.impl/core/fmt/trait.Display.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Display for Error"],["impl Display for Language"],["impl Display for Market"],["impl Display for SimpleError"],["impl Display for SecurityBoard"],["impl Display for SecurityListCategory"],["impl Display for ChargeCategoryCode"],["impl Display for CommissionFreeStatus"],["impl Display for DeductionStatus"],["impl Display for OrderSide"],["impl Display for OrderStatus"],["impl Display for OrderTag"],["impl Display for OrderType"],["impl Display for OutsideRTH"],["impl Display for TimeInForceType"],["impl Display for TopicType"],["impl Display for TriggerPriceType"],["impl Display for TriggerStatus"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Display for Error"],["impl Display for Language"],["impl Display for Market"],["impl Display for SimpleError"],["impl Display for SecurityBoard"],["impl Display for SecurityListCategory"],["impl Display for ChargeCategoryCode"],["impl Display for CommissionFreeStatus"],["impl Display for DeductionStatus"],["impl Display for OrderSide"],["impl Display for OrderStatus"],["impl Display for OrderTag"],["impl Display for OrderType"],["impl Display for OutsideRTH"],["impl Display for TimeInForceType"],["impl Display for TopicType"],["impl Display for TriggerPriceType"],["impl Display for TriggerStatus"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/fmt/trait.LowerHex.js b/v2/rust/trait.impl/core/fmt/trait.LowerHex.js
    index 51ee1a0dc..5f7ea0d7b 100644
    --- a/v2/rust/trait.impl/core/fmt/trait.LowerHex.js
    +++ b/v2/rust/trait.impl/core/fmt/trait.LowerHex.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl LowerHex for DerivativeType"],["impl LowerHex for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl LowerHex for DerivativeType"],["impl LowerHex for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/fmt/trait.Octal.js b/v2/rust/trait.impl/core/fmt/trait.Octal.js
    index bc0c49530..019aa938e 100644
    --- a/v2/rust/trait.impl/core/fmt/trait.Octal.js
    +++ b/v2/rust/trait.impl/core/fmt/trait.Octal.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Octal for DerivativeType"],["impl Octal for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Octal for DerivativeType"],["impl Octal for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/fmt/trait.UpperHex.js b/v2/rust/trait.impl/core/fmt/trait.UpperHex.js
    index 1e9f2a0c0..5f1fa4f2b 100644
    --- a/v2/rust/trait.impl/core/fmt/trait.UpperHex.js
    +++ b/v2/rust/trait.impl/core/fmt/trait.UpperHex.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl UpperHex for DerivativeType"],["impl UpperHex for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl UpperHex for DerivativeType"],["impl UpperHex for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/hash/trait.Hash.js b/v2/rust/trait.impl/core/hash/trait.Hash.js
    index 6090432bc..1e088aa57 100644
    --- a/v2/rust/trait.impl/core/hash/trait.Hash.js
    +++ b/v2/rust/trait.impl/core/hash/trait.Hash.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Hash for Market"],["impl Hash for FilterWarrantExpiryDate"],["impl Hash for FilterWarrantInOutBoundsType"],["impl Hash for OptionDirection"],["impl Hash for OptionType"],["impl Hash for SecurityBoard"],["impl Hash for SecurityListCategory"],["impl Hash for SortOrderType"],["impl Hash for TradeDirection"],["impl Hash for WarrantSortBy"],["impl Hash for WarrantStatus"],["impl Hash for WarrantType"],["impl Hash for BalanceType"],["impl Hash for CashFlowDirection"],["impl Hash for ChargeCategoryCode"],["impl Hash for CommissionFreeStatus"],["impl Hash for DeductionStatus"],["impl Hash for OrderSide"],["impl Hash for OrderStatus"],["impl Hash for OrderTag"],["impl Hash for OrderType"],["impl Hash for OutsideRTH"],["impl Hash for TimeInForceType"],["impl Hash for TopicType"],["impl Hash for TriggerPriceType"],["impl Hash for TriggerStatus"],["impl Hash for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Hash for Market"],["impl Hash for FilterWarrantExpiryDate"],["impl Hash for FilterWarrantInOutBoundsType"],["impl Hash for OptionDirection"],["impl Hash for OptionType"],["impl Hash for SecurityBoard"],["impl Hash for SecurityListCategory"],["impl Hash for SortOrderType"],["impl Hash for TradeDirection"],["impl Hash for WarrantSortBy"],["impl Hash for WarrantStatus"],["impl Hash for WarrantType"],["impl Hash for BalanceType"],["impl Hash for CashFlowDirection"],["impl Hash for ChargeCategoryCode"],["impl Hash for CommissionFreeStatus"],["impl Hash for DeductionStatus"],["impl Hash for OrderSide"],["impl Hash for OrderStatus"],["impl Hash for OrderTag"],["impl Hash for OrderType"],["impl Hash for OutsideRTH"],["impl Hash for TimeInForceType"],["impl Hash for TopicType"],["impl Hash for TriggerPriceType"],["impl Hash for TriggerStatus"],["impl Hash for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/iter/traits/collect/trait.Extend.js b/v2/rust/trait.impl/core/iter/traits/collect/trait.Extend.js
    index 1d5fa95f4..d6e9e5089 100644
    --- a/v2/rust/trait.impl/core/iter/traits/collect/trait.Extend.js
    +++ b/v2/rust/trait.impl/core/iter/traits/collect/trait.Extend.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Extend<DerivativeType> for DerivativeType"],["impl Extend<SubFlags> for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Extend<DerivativeType> for DerivativeType"],["impl Extend<SubFlags> for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/iter/traits/collect/trait.FromIterator.js b/v2/rust/trait.impl/core/iter/traits/collect/trait.FromIterator.js
    index c83ec4368..da4e024f4 100644
    --- a/v2/rust/trait.impl/core/iter/traits/collect/trait.FromIterator.js
    +++ b/v2/rust/trait.impl/core/iter/traits/collect/trait.FromIterator.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl FromIterator<DerivativeType> for DerivativeType"],["impl FromIterator<SubFlags> for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl FromIterator<DerivativeType> for DerivativeType"],["impl FromIterator<SubFlags> for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/iter/traits/collect/trait.IntoIterator.js b/v2/rust/trait.impl/core/iter/traits/collect/trait.IntoIterator.js
    index 537cf6d47..e08c8fe6c 100644
    --- a/v2/rust/trait.impl/core/iter/traits/collect/trait.IntoIterator.js
    +++ b/v2/rust/trait.impl/core/iter/traits/collect/trait.IntoIterator.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl IntoIterator for DerivativeType"],["impl IntoIterator for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl IntoIterator for DerivativeType"],["impl IntoIterator for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/marker/trait.Copy.js b/v2/rust/trait.impl/core/marker/trait.Copy.js
    index 1775096e1..0d5ebe98c 100644
    --- a/v2/rust/trait.impl/core/marker/trait.Copy.js
    +++ b/v2/rust/trait.impl/core/marker/trait.Copy.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Copy for Language"],["impl Copy for Market"],["impl Copy for PushCandlestickMode"],["impl Copy for CalcIndex"],["impl Copy for FilterWarrantExpiryDate"],["impl Copy for FilterWarrantInOutBoundsType"],["impl Copy for OptionDirection"],["impl Copy for OptionType"],["impl Copy for SecuritiesUpdateMode"],["impl Copy for SecurityBoard"],["impl Copy for SecurityListCategory"],["impl Copy for SortOrderType"],["impl Copy for TradeDirection"],["impl Copy for WarrantSortBy"],["impl Copy for WarrantStatus"],["impl Copy for WarrantType"],["impl Copy for BalanceType"],["impl Copy for CashFlowDirection"],["impl Copy for ChargeCategoryCode"],["impl Copy for CommissionFreeStatus"],["impl Copy for DeductionStatus"],["impl Copy for OrderSide"],["impl Copy for OrderStatus"],["impl Copy for OrderTag"],["impl Copy for OrderType"],["impl Copy for OutsideRTH"],["impl Copy for TimeInForceType"],["impl Copy for TopicType"],["impl Copy for TriggerPriceType"],["impl Copy for TriggerStatus"],["impl Copy for Candlestick"],["impl Copy for DerivativeType"],["impl Copy for PushCandlestick"],["impl Copy for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Copy for Language"],["impl Copy for Market"],["impl Copy for PushCandlestickMode"],["impl Copy for CalcIndex"],["impl Copy for FilterWarrantExpiryDate"],["impl Copy for FilterWarrantInOutBoundsType"],["impl Copy for OptionDirection"],["impl Copy for OptionType"],["impl Copy for SecuritiesUpdateMode"],["impl Copy for SecurityBoard"],["impl Copy for SecurityListCategory"],["impl Copy for SortOrderType"],["impl Copy for TradeDirection"],["impl Copy for WarrantSortBy"],["impl Copy for WarrantStatus"],["impl Copy for WarrantType"],["impl Copy for BalanceType"],["impl Copy for CashFlowDirection"],["impl Copy for ChargeCategoryCode"],["impl Copy for CommissionFreeStatus"],["impl Copy for DeductionStatus"],["impl Copy for OrderSide"],["impl Copy for OrderStatus"],["impl Copy for OrderTag"],["impl Copy for OrderType"],["impl Copy for OutsideRTH"],["impl Copy for TimeInForceType"],["impl Copy for TopicType"],["impl Copy for TriggerPriceType"],["impl Copy for TriggerStatus"],["impl Copy for Candlestick"],["impl Copy for DerivativeType"],["impl Copy for PushCandlestick"],["impl Copy for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/marker/trait.Freeze.js b/v2/rust/trait.impl/core/marker/trait.Freeze.js
    index 5283124c2..02f6a4015 100644
    --- a/v2/rust/trait.impl/core/marker/trait.Freeze.js
    +++ b/v2/rust/trait.impl/core/marker/trait.Freeze.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl !Freeze for Error",1,["longport::error::Error"]],["impl Freeze for Language",1,["longport::config::Language"]],["impl Freeze for Market",1,["longport::types::Market"]],["impl Freeze for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl Freeze for SimpleError",1,["longport::error::SimpleError"]],["impl Freeze for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl Freeze for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl Freeze for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl Freeze for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl Freeze for OptionType",1,["longport::quote::types::OptionType"]],["impl Freeze for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl Freeze for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl Freeze for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl Freeze for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl Freeze for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl Freeze for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl Freeze for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl Freeze for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl Freeze for WarrantType",1,["longport::quote::types::WarrantType"]],["impl Freeze for BalanceType",1,["longport::trade::types::BalanceType"]],["impl Freeze for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl Freeze for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl Freeze for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl Freeze for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl Freeze for OrderSide",1,["longport::trade::types::OrderSide"]],["impl Freeze for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl Freeze for OrderTag",1,["longport::trade::types::OrderTag"]],["impl Freeze for OrderType",1,["longport::trade::types::OrderType"]],["impl Freeze for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl Freeze for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl Freeze for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl Freeze for TopicType",1,["longport::trade::push_types::TopicType"]],["impl Freeze for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl Freeze for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl Freeze for Brokers",1,["longport::quote::types::Brokers"]],["impl Freeze for Candlestick",1,["longport::quote::types::Candlestick"]],["impl Freeze for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl Freeze for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl Freeze for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl Freeze for Depth",1,["longport::quote::types::Depth"]],["impl Freeze for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl Freeze for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl Freeze for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl Freeze for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl Freeze for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl Freeze for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl Freeze for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl Freeze for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl Freeze for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl Freeze for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl Freeze for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl Freeze for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl Freeze for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl Freeze for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl Freeze for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl Freeze for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl Freeze for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl Freeze for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl Freeze for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl Freeze for Security",1,["longport::quote::types::Security"]],["impl Freeze for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl Freeze for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl Freeze for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl Freeze for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl Freeze for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl Freeze for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl Freeze for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl Freeze for Subscription",1,["longport::quote::types::Subscription"]],["impl Freeze for Trade",1,["longport::quote::types::Trade"]],["impl Freeze for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl Freeze for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl Freeze for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl Freeze for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl Freeze for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl Freeze for Config",1,["longport::config::Config"]],["impl Freeze for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl Freeze for CashFlow",1,["longport::trade::types::CashFlow"]],["impl Freeze for CashInfo",1,["longport::trade::types::CashInfo"]],["impl Freeze for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl Freeze for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl Freeze for Execution",1,["longport::trade::types::Execution"]],["impl Freeze for FundPosition",1,["longport::trade::types::FundPosition"]],["impl Freeze for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl Freeze for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl Freeze for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl Freeze for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl Freeze for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl Freeze for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl Freeze for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl Freeze for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl Freeze for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl Freeze for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl Freeze for Order",1,["longport::trade::types::Order"]],["impl Freeze for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl Freeze for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl Freeze for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl Freeze for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl Freeze for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl Freeze for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl Freeze for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl Freeze for StockPosition",1,["longport::trade::types::StockPosition"]],["impl Freeze for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl Freeze for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl Freeze for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl Freeze for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]],["impl Freeze for TradeContext",1,["longport::trade::context::TradeContext"]]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl !Freeze for Error",1,["longport::error::Error"]],["impl Freeze for Language",1,["longport::config::Language"]],["impl Freeze for Market",1,["longport::types::Market"]],["impl Freeze for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl Freeze for SimpleError",1,["longport::error::SimpleError"]],["impl Freeze for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl Freeze for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl Freeze for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl Freeze for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl Freeze for OptionType",1,["longport::quote::types::OptionType"]],["impl Freeze for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl Freeze for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl Freeze for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl Freeze for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl Freeze for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl Freeze for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl Freeze for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl Freeze for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl Freeze for WarrantType",1,["longport::quote::types::WarrantType"]],["impl Freeze for BalanceType",1,["longport::trade::types::BalanceType"]],["impl Freeze for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl Freeze for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl Freeze for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl Freeze for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl Freeze for OrderSide",1,["longport::trade::types::OrderSide"]],["impl Freeze for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl Freeze for OrderTag",1,["longport::trade::types::OrderTag"]],["impl Freeze for OrderType",1,["longport::trade::types::OrderType"]],["impl Freeze for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl Freeze for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl Freeze for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl Freeze for TopicType",1,["longport::trade::push_types::TopicType"]],["impl Freeze for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl Freeze for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl Freeze for Brokers",1,["longport::quote::types::Brokers"]],["impl Freeze for Candlestick",1,["longport::quote::types::Candlestick"]],["impl Freeze for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl Freeze for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl Freeze for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl Freeze for Depth",1,["longport::quote::types::Depth"]],["impl Freeze for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl Freeze for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl Freeze for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl Freeze for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl Freeze for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl Freeze for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl Freeze for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl Freeze for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl Freeze for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl Freeze for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl Freeze for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl Freeze for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl Freeze for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl Freeze for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl Freeze for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl Freeze for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl Freeze for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl Freeze for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl Freeze for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl Freeze for Security",1,["longport::quote::types::Security"]],["impl Freeze for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl Freeze for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl Freeze for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl Freeze for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl Freeze for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl Freeze for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl Freeze for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl Freeze for Subscription",1,["longport::quote::types::Subscription"]],["impl Freeze for Trade",1,["longport::quote::types::Trade"]],["impl Freeze for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl Freeze for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl Freeze for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl Freeze for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl Freeze for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl Freeze for Config",1,["longport::config::Config"]],["impl Freeze for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl Freeze for CashFlow",1,["longport::trade::types::CashFlow"]],["impl Freeze for CashInfo",1,["longport::trade::types::CashInfo"]],["impl Freeze for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl Freeze for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl Freeze for Execution",1,["longport::trade::types::Execution"]],["impl Freeze for FundPosition",1,["longport::trade::types::FundPosition"]],["impl Freeze for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl Freeze for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl Freeze for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl Freeze for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl Freeze for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl Freeze for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl Freeze for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl Freeze for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl Freeze for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl Freeze for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl Freeze for Order",1,["longport::trade::types::Order"]],["impl Freeze for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl Freeze for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl Freeze for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl Freeze for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl Freeze for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl Freeze for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl Freeze for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl Freeze for StockPosition",1,["longport::trade::types::StockPosition"]],["impl Freeze for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl Freeze for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl Freeze for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl Freeze for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]],["impl Freeze for TradeContext",1,["longport::trade::context::TradeContext"]]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/marker/trait.Send.js b/v2/rust/trait.impl/core/marker/trait.Send.js
    index 681b2043d..104a809e1 100644
    --- a/v2/rust/trait.impl/core/marker/trait.Send.js
    +++ b/v2/rust/trait.impl/core/marker/trait.Send.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Send for Error",1,["longport::error::Error"]],["impl Send for Language",1,["longport::config::Language"]],["impl Send for Market",1,["longport::types::Market"]],["impl Send for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl Send for SimpleError",1,["longport::error::SimpleError"]],["impl Send for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl Send for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl Send for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl Send for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl Send for OptionType",1,["longport::quote::types::OptionType"]],["impl Send for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl Send for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl Send for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl Send for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl Send for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl Send for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl Send for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl Send for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl Send for WarrantType",1,["longport::quote::types::WarrantType"]],["impl Send for BalanceType",1,["longport::trade::types::BalanceType"]],["impl Send for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl Send for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl Send for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl Send for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl Send for OrderSide",1,["longport::trade::types::OrderSide"]],["impl Send for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl Send for OrderTag",1,["longport::trade::types::OrderTag"]],["impl Send for OrderType",1,["longport::trade::types::OrderType"]],["impl Send for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl Send for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl Send for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl Send for TopicType",1,["longport::trade::push_types::TopicType"]],["impl Send for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl Send for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl Send for Brokers",1,["longport::quote::types::Brokers"]],["impl Send for Candlestick",1,["longport::quote::types::Candlestick"]],["impl Send for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl Send for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl Send for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl Send for Depth",1,["longport::quote::types::Depth"]],["impl Send for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl Send for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl Send for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl Send for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl Send for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl Send for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl Send for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl Send for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl Send for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl Send for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl Send for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl Send for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl Send for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl Send for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl Send for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl Send for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl Send for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl Send for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl Send for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl Send for Security",1,["longport::quote::types::Security"]],["impl Send for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl Send for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl Send for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl Send for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl Send for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl Send for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl Send for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl Send for Subscription",1,["longport::quote::types::Subscription"]],["impl Send for Trade",1,["longport::quote::types::Trade"]],["impl Send for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl Send for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl Send for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl Send for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl Send for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl Send for Config",1,["longport::config::Config"]],["impl Send for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl Send for CashFlow",1,["longport::trade::types::CashFlow"]],["impl Send for CashInfo",1,["longport::trade::types::CashInfo"]],["impl Send for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl Send for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl Send for Execution",1,["longport::trade::types::Execution"]],["impl Send for FundPosition",1,["longport::trade::types::FundPosition"]],["impl Send for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl Send for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl Send for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl Send for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl Send for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl Send for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl Send for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl Send for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl Send for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl Send for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl Send for Order",1,["longport::trade::types::Order"]],["impl Send for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl Send for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl Send for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl Send for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl Send for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl Send for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl Send for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl Send for StockPosition",1,["longport::trade::types::StockPosition"]],["impl Send for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl Send for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl Send for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl Send for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]],["impl Send for TradeContext",1,["longport::trade::context::TradeContext"]]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Send for Error",1,["longport::error::Error"]],["impl Send for Language",1,["longport::config::Language"]],["impl Send for Market",1,["longport::types::Market"]],["impl Send for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl Send for SimpleError",1,["longport::error::SimpleError"]],["impl Send for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl Send for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl Send for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl Send for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl Send for OptionType",1,["longport::quote::types::OptionType"]],["impl Send for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl Send for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl Send for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl Send for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl Send for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl Send for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl Send for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl Send for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl Send for WarrantType",1,["longport::quote::types::WarrantType"]],["impl Send for BalanceType",1,["longport::trade::types::BalanceType"]],["impl Send for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl Send for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl Send for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl Send for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl Send for OrderSide",1,["longport::trade::types::OrderSide"]],["impl Send for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl Send for OrderTag",1,["longport::trade::types::OrderTag"]],["impl Send for OrderType",1,["longport::trade::types::OrderType"]],["impl Send for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl Send for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl Send for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl Send for TopicType",1,["longport::trade::push_types::TopicType"]],["impl Send for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl Send for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl Send for Brokers",1,["longport::quote::types::Brokers"]],["impl Send for Candlestick",1,["longport::quote::types::Candlestick"]],["impl Send for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl Send for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl Send for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl Send for Depth",1,["longport::quote::types::Depth"]],["impl Send for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl Send for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl Send for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl Send for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl Send for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl Send for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl Send for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl Send for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl Send for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl Send for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl Send for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl Send for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl Send for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl Send for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl Send for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl Send for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl Send for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl Send for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl Send for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl Send for Security",1,["longport::quote::types::Security"]],["impl Send for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl Send for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl Send for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl Send for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl Send for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl Send for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl Send for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl Send for Subscription",1,["longport::quote::types::Subscription"]],["impl Send for Trade",1,["longport::quote::types::Trade"]],["impl Send for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl Send for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl Send for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl Send for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl Send for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl Send for Config",1,["longport::config::Config"]],["impl Send for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl Send for CashFlow",1,["longport::trade::types::CashFlow"]],["impl Send for CashInfo",1,["longport::trade::types::CashInfo"]],["impl Send for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl Send for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl Send for Execution",1,["longport::trade::types::Execution"]],["impl Send for FundPosition",1,["longport::trade::types::FundPosition"]],["impl Send for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl Send for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl Send for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl Send for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl Send for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl Send for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl Send for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl Send for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl Send for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl Send for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl Send for Order",1,["longport::trade::types::Order"]],["impl Send for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl Send for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl Send for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl Send for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl Send for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl Send for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl Send for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl Send for StockPosition",1,["longport::trade::types::StockPosition"]],["impl Send for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl Send for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl Send for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl Send for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]],["impl Send for TradeContext",1,["longport::trade::context::TradeContext"]]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/marker/trait.StructuralPartialEq.js b/v2/rust/trait.impl/core/marker/trait.StructuralPartialEq.js
    index 650a5bb96..cde787a7b 100644
    --- a/v2/rust/trait.impl/core/marker/trait.StructuralPartialEq.js
    +++ b/v2/rust/trait.impl/core/marker/trait.StructuralPartialEq.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl StructuralPartialEq for Language"],["impl StructuralPartialEq for Market"],["impl StructuralPartialEq for PushCandlestickMode"],["impl StructuralPartialEq for CalcIndex"],["impl StructuralPartialEq for FilterWarrantExpiryDate"],["impl StructuralPartialEq for FilterWarrantInOutBoundsType"],["impl StructuralPartialEq for OptionDirection"],["impl StructuralPartialEq for OptionType"],["impl StructuralPartialEq for SecurityBoard"],["impl StructuralPartialEq for SecurityListCategory"],["impl StructuralPartialEq for SortOrderType"],["impl StructuralPartialEq for TradeDirection"],["impl StructuralPartialEq for WarrantSortBy"],["impl StructuralPartialEq for WarrantStatus"],["impl StructuralPartialEq for WarrantType"],["impl StructuralPartialEq for BalanceType"],["impl StructuralPartialEq for CashFlowDirection"],["impl StructuralPartialEq for ChargeCategoryCode"],["impl StructuralPartialEq for CommissionFreeStatus"],["impl StructuralPartialEq for DeductionStatus"],["impl StructuralPartialEq for OrderSide"],["impl StructuralPartialEq for OrderStatus"],["impl StructuralPartialEq for OrderTag"],["impl StructuralPartialEq for OrderType"],["impl StructuralPartialEq for OutsideRTH"],["impl StructuralPartialEq for TimeInForceType"],["impl StructuralPartialEq for TopicType"],["impl StructuralPartialEq for TriggerPriceType"],["impl StructuralPartialEq for TriggerStatus"],["impl StructuralPartialEq for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl StructuralPartialEq for Language"],["impl StructuralPartialEq for Market"],["impl StructuralPartialEq for PushCandlestickMode"],["impl StructuralPartialEq for CalcIndex"],["impl StructuralPartialEq for FilterWarrantExpiryDate"],["impl StructuralPartialEq for FilterWarrantInOutBoundsType"],["impl StructuralPartialEq for OptionDirection"],["impl StructuralPartialEq for OptionType"],["impl StructuralPartialEq for SecurityBoard"],["impl StructuralPartialEq for SecurityListCategory"],["impl StructuralPartialEq for SortOrderType"],["impl StructuralPartialEq for TradeDirection"],["impl StructuralPartialEq for WarrantSortBy"],["impl StructuralPartialEq for WarrantStatus"],["impl StructuralPartialEq for WarrantType"],["impl StructuralPartialEq for BalanceType"],["impl StructuralPartialEq for CashFlowDirection"],["impl StructuralPartialEq for ChargeCategoryCode"],["impl StructuralPartialEq for CommissionFreeStatus"],["impl StructuralPartialEq for DeductionStatus"],["impl StructuralPartialEq for OrderSide"],["impl StructuralPartialEq for OrderStatus"],["impl StructuralPartialEq for OrderTag"],["impl StructuralPartialEq for OrderType"],["impl StructuralPartialEq for OutsideRTH"],["impl StructuralPartialEq for TimeInForceType"],["impl StructuralPartialEq for TopicType"],["impl StructuralPartialEq for TriggerPriceType"],["impl StructuralPartialEq for TriggerStatus"],["impl StructuralPartialEq for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/marker/trait.Sync.js b/v2/rust/trait.impl/core/marker/trait.Sync.js
    index 3e73d4974..499d8e8de 100644
    --- a/v2/rust/trait.impl/core/marker/trait.Sync.js
    +++ b/v2/rust/trait.impl/core/marker/trait.Sync.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Sync for Error",1,["longport::error::Error"]],["impl Sync for Language",1,["longport::config::Language"]],["impl Sync for Market",1,["longport::types::Market"]],["impl Sync for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl Sync for SimpleError",1,["longport::error::SimpleError"]],["impl Sync for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl Sync for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl Sync for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl Sync for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl Sync for OptionType",1,["longport::quote::types::OptionType"]],["impl Sync for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl Sync for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl Sync for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl Sync for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl Sync for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl Sync for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl Sync for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl Sync for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl Sync for WarrantType",1,["longport::quote::types::WarrantType"]],["impl Sync for BalanceType",1,["longport::trade::types::BalanceType"]],["impl Sync for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl Sync for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl Sync for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl Sync for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl Sync for OrderSide",1,["longport::trade::types::OrderSide"]],["impl Sync for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl Sync for OrderTag",1,["longport::trade::types::OrderTag"]],["impl Sync for OrderType",1,["longport::trade::types::OrderType"]],["impl Sync for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl Sync for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl Sync for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl Sync for TopicType",1,["longport::trade::push_types::TopicType"]],["impl Sync for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl Sync for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl Sync for Brokers",1,["longport::quote::types::Brokers"]],["impl Sync for Candlestick",1,["longport::quote::types::Candlestick"]],["impl Sync for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl Sync for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl Sync for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl Sync for Depth",1,["longport::quote::types::Depth"]],["impl Sync for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl Sync for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl Sync for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl Sync for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl Sync for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl Sync for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl Sync for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl Sync for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl Sync for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl Sync for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl Sync for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl Sync for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl Sync for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl Sync for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl Sync for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl Sync for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl Sync for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl Sync for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl Sync for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl Sync for Security",1,["longport::quote::types::Security"]],["impl Sync for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl Sync for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl Sync for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl Sync for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl Sync for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl Sync for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl Sync for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl Sync for Subscription",1,["longport::quote::types::Subscription"]],["impl Sync for Trade",1,["longport::quote::types::Trade"]],["impl Sync for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl Sync for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl Sync for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl Sync for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl Sync for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl Sync for Config",1,["longport::config::Config"]],["impl Sync for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl Sync for CashFlow",1,["longport::trade::types::CashFlow"]],["impl Sync for CashInfo",1,["longport::trade::types::CashInfo"]],["impl Sync for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl Sync for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl Sync for Execution",1,["longport::trade::types::Execution"]],["impl Sync for FundPosition",1,["longport::trade::types::FundPosition"]],["impl Sync for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl Sync for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl Sync for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl Sync for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl Sync for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl Sync for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl Sync for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl Sync for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl Sync for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl Sync for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl Sync for Order",1,["longport::trade::types::Order"]],["impl Sync for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl Sync for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl Sync for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl Sync for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl Sync for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl Sync for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl Sync for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl Sync for StockPosition",1,["longport::trade::types::StockPosition"]],["impl Sync for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl Sync for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl Sync for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl Sync for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]],["impl Sync for TradeContext",1,["longport::trade::context::TradeContext"]]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Sync for Error",1,["longport::error::Error"]],["impl Sync for Language",1,["longport::config::Language"]],["impl Sync for Market",1,["longport::types::Market"]],["impl Sync for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl Sync for SimpleError",1,["longport::error::SimpleError"]],["impl Sync for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl Sync for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl Sync for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl Sync for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl Sync for OptionType",1,["longport::quote::types::OptionType"]],["impl Sync for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl Sync for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl Sync for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl Sync for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl Sync for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl Sync for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl Sync for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl Sync for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl Sync for WarrantType",1,["longport::quote::types::WarrantType"]],["impl Sync for BalanceType",1,["longport::trade::types::BalanceType"]],["impl Sync for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl Sync for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl Sync for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl Sync for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl Sync for OrderSide",1,["longport::trade::types::OrderSide"]],["impl Sync for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl Sync for OrderTag",1,["longport::trade::types::OrderTag"]],["impl Sync for OrderType",1,["longport::trade::types::OrderType"]],["impl Sync for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl Sync for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl Sync for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl Sync for TopicType",1,["longport::trade::push_types::TopicType"]],["impl Sync for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl Sync for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl Sync for Brokers",1,["longport::quote::types::Brokers"]],["impl Sync for Candlestick",1,["longport::quote::types::Candlestick"]],["impl Sync for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl Sync for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl Sync for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl Sync for Depth",1,["longport::quote::types::Depth"]],["impl Sync for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl Sync for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl Sync for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl Sync for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl Sync for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl Sync for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl Sync for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl Sync for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl Sync for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl Sync for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl Sync for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl Sync for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl Sync for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl Sync for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl Sync for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl Sync for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl Sync for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl Sync for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl Sync for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl Sync for Security",1,["longport::quote::types::Security"]],["impl Sync for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl Sync for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl Sync for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl Sync for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl Sync for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl Sync for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl Sync for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl Sync for Subscription",1,["longport::quote::types::Subscription"]],["impl Sync for Trade",1,["longport::quote::types::Trade"]],["impl Sync for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl Sync for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl Sync for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl Sync for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl Sync for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl Sync for Config",1,["longport::config::Config"]],["impl Sync for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl Sync for CashFlow",1,["longport::trade::types::CashFlow"]],["impl Sync for CashInfo",1,["longport::trade::types::CashInfo"]],["impl Sync for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl Sync for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl Sync for Execution",1,["longport::trade::types::Execution"]],["impl Sync for FundPosition",1,["longport::trade::types::FundPosition"]],["impl Sync for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl Sync for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl Sync for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl Sync for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl Sync for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl Sync for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl Sync for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl Sync for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl Sync for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl Sync for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl Sync for Order",1,["longport::trade::types::Order"]],["impl Sync for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl Sync for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl Sync for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl Sync for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl Sync for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl Sync for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl Sync for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl Sync for StockPosition",1,["longport::trade::types::StockPosition"]],["impl Sync for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl Sync for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl Sync for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl Sync for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]],["impl Sync for TradeContext",1,["longport::trade::context::TradeContext"]]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/marker/trait.Unpin.js b/v2/rust/trait.impl/core/marker/trait.Unpin.js
    index 4e9ce25be..eedd5c9c0 100644
    --- a/v2/rust/trait.impl/core/marker/trait.Unpin.js
    +++ b/v2/rust/trait.impl/core/marker/trait.Unpin.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Unpin for Error",1,["longport::error::Error"]],["impl Unpin for Language",1,["longport::config::Language"]],["impl Unpin for Market",1,["longport::types::Market"]],["impl Unpin for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl Unpin for SimpleError",1,["longport::error::SimpleError"]],["impl Unpin for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl Unpin for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl Unpin for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl Unpin for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl Unpin for OptionType",1,["longport::quote::types::OptionType"]],["impl Unpin for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl Unpin for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl Unpin for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl Unpin for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl Unpin for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl Unpin for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl Unpin for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl Unpin for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl Unpin for WarrantType",1,["longport::quote::types::WarrantType"]],["impl Unpin for BalanceType",1,["longport::trade::types::BalanceType"]],["impl Unpin for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl Unpin for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl Unpin for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl Unpin for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl Unpin for OrderSide",1,["longport::trade::types::OrderSide"]],["impl Unpin for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl Unpin for OrderTag",1,["longport::trade::types::OrderTag"]],["impl Unpin for OrderType",1,["longport::trade::types::OrderType"]],["impl Unpin for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl Unpin for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl Unpin for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl Unpin for TopicType",1,["longport::trade::push_types::TopicType"]],["impl Unpin for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl Unpin for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl Unpin for Brokers",1,["longport::quote::types::Brokers"]],["impl Unpin for Candlestick",1,["longport::quote::types::Candlestick"]],["impl Unpin for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl Unpin for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl Unpin for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl Unpin for Depth",1,["longport::quote::types::Depth"]],["impl Unpin for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl Unpin for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl Unpin for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl Unpin for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl Unpin for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl Unpin for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl Unpin for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl Unpin for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl Unpin for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl Unpin for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl Unpin for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl Unpin for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl Unpin for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl Unpin for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl Unpin for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl Unpin for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl Unpin for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl Unpin for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl Unpin for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl Unpin for Security",1,["longport::quote::types::Security"]],["impl Unpin for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl Unpin for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl Unpin for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl Unpin for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl Unpin for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl Unpin for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl Unpin for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl Unpin for Subscription",1,["longport::quote::types::Subscription"]],["impl Unpin for Trade",1,["longport::quote::types::Trade"]],["impl Unpin for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl Unpin for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl Unpin for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl Unpin for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl Unpin for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl Unpin for Config",1,["longport::config::Config"]],["impl Unpin for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl Unpin for CashFlow",1,["longport::trade::types::CashFlow"]],["impl Unpin for CashInfo",1,["longport::trade::types::CashInfo"]],["impl Unpin for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl Unpin for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl Unpin for Execution",1,["longport::trade::types::Execution"]],["impl Unpin for FundPosition",1,["longport::trade::types::FundPosition"]],["impl Unpin for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl Unpin for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl Unpin for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl Unpin for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl Unpin for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl Unpin for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl Unpin for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl Unpin for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl Unpin for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl Unpin for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl Unpin for Order",1,["longport::trade::types::Order"]],["impl Unpin for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl Unpin for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl Unpin for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl Unpin for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl Unpin for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl Unpin for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl Unpin for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl Unpin for StockPosition",1,["longport::trade::types::StockPosition"]],["impl Unpin for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl Unpin for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl Unpin for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl Unpin for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]],["impl Unpin for TradeContext",1,["longport::trade::context::TradeContext"]]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Unpin for Error",1,["longport::error::Error"]],["impl Unpin for Language",1,["longport::config::Language"]],["impl Unpin for Market",1,["longport::types::Market"]],["impl Unpin for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl Unpin for SimpleError",1,["longport::error::SimpleError"]],["impl Unpin for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl Unpin for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl Unpin for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl Unpin for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl Unpin for OptionType",1,["longport::quote::types::OptionType"]],["impl Unpin for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl Unpin for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl Unpin for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl Unpin for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl Unpin for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl Unpin for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl Unpin for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl Unpin for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl Unpin for WarrantType",1,["longport::quote::types::WarrantType"]],["impl Unpin for BalanceType",1,["longport::trade::types::BalanceType"]],["impl Unpin for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl Unpin for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl Unpin for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl Unpin for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl Unpin for OrderSide",1,["longport::trade::types::OrderSide"]],["impl Unpin for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl Unpin for OrderTag",1,["longport::trade::types::OrderTag"]],["impl Unpin for OrderType",1,["longport::trade::types::OrderType"]],["impl Unpin for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl Unpin for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl Unpin for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl Unpin for TopicType",1,["longport::trade::push_types::TopicType"]],["impl Unpin for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl Unpin for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl Unpin for Brokers",1,["longport::quote::types::Brokers"]],["impl Unpin for Candlestick",1,["longport::quote::types::Candlestick"]],["impl Unpin for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl Unpin for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl Unpin for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl Unpin for Depth",1,["longport::quote::types::Depth"]],["impl Unpin for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl Unpin for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl Unpin for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl Unpin for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl Unpin for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl Unpin for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl Unpin for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl Unpin for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl Unpin for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl Unpin for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl Unpin for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl Unpin for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl Unpin for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl Unpin for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl Unpin for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl Unpin for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl Unpin for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl Unpin for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl Unpin for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl Unpin for Security",1,["longport::quote::types::Security"]],["impl Unpin for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl Unpin for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl Unpin for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl Unpin for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl Unpin for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl Unpin for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl Unpin for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl Unpin for Subscription",1,["longport::quote::types::Subscription"]],["impl Unpin for Trade",1,["longport::quote::types::Trade"]],["impl Unpin for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl Unpin for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl Unpin for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl Unpin for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl Unpin for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl Unpin for Config",1,["longport::config::Config"]],["impl Unpin for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl Unpin for CashFlow",1,["longport::trade::types::CashFlow"]],["impl Unpin for CashInfo",1,["longport::trade::types::CashInfo"]],["impl Unpin for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl Unpin for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl Unpin for Execution",1,["longport::trade::types::Execution"]],["impl Unpin for FundPosition",1,["longport::trade::types::FundPosition"]],["impl Unpin for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl Unpin for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl Unpin for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl Unpin for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl Unpin for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl Unpin for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl Unpin for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl Unpin for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl Unpin for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl Unpin for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl Unpin for Order",1,["longport::trade::types::Order"]],["impl Unpin for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl Unpin for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl Unpin for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl Unpin for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl Unpin for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl Unpin for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl Unpin for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl Unpin for StockPosition",1,["longport::trade::types::StockPosition"]],["impl Unpin for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl Unpin for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl Unpin for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl Unpin for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]],["impl Unpin for TradeContext",1,["longport::trade::context::TradeContext"]]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/ops/arith/trait.Sub.js b/v2/rust/trait.impl/core/ops/arith/trait.Sub.js
    index cbf81b3de..d894afa8a 100644
    --- a/v2/rust/trait.impl/core/ops/arith/trait.Sub.js
    +++ b/v2/rust/trait.impl/core/ops/arith/trait.Sub.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Sub for DerivativeType"],["impl Sub for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Sub for DerivativeType"],["impl Sub for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/ops/arith/trait.SubAssign.js b/v2/rust/trait.impl/core/ops/arith/trait.SubAssign.js
    index 28c825359..32a9a8596 100644
    --- a/v2/rust/trait.impl/core/ops/arith/trait.SubAssign.js
    +++ b/v2/rust/trait.impl/core/ops/arith/trait.SubAssign.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl SubAssign for DerivativeType"],["impl SubAssign for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl SubAssign for DerivativeType"],["impl SubAssign for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/ops/bit/trait.BitAnd.js b/v2/rust/trait.impl/core/ops/bit/trait.BitAnd.js
    index c4522f92d..417dc7889 100644
    --- a/v2/rust/trait.impl/core/ops/bit/trait.BitAnd.js
    +++ b/v2/rust/trait.impl/core/ops/bit/trait.BitAnd.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl BitAnd for DerivativeType"],["impl BitAnd for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl BitAnd for DerivativeType"],["impl BitAnd for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/ops/bit/trait.BitAndAssign.js b/v2/rust/trait.impl/core/ops/bit/trait.BitAndAssign.js
    index 422228b16..b9dcb6e6a 100644
    --- a/v2/rust/trait.impl/core/ops/bit/trait.BitAndAssign.js
    +++ b/v2/rust/trait.impl/core/ops/bit/trait.BitAndAssign.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl BitAndAssign for DerivativeType"],["impl BitAndAssign for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl BitAndAssign for DerivativeType"],["impl BitAndAssign for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/ops/bit/trait.BitOr.js b/v2/rust/trait.impl/core/ops/bit/trait.BitOr.js
    index 2b2e58750..b222598f7 100644
    --- a/v2/rust/trait.impl/core/ops/bit/trait.BitOr.js
    +++ b/v2/rust/trait.impl/core/ops/bit/trait.BitOr.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl BitOr for DerivativeType"],["impl BitOr for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl BitOr for DerivativeType"],["impl BitOr for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/ops/bit/trait.BitOrAssign.js b/v2/rust/trait.impl/core/ops/bit/trait.BitOrAssign.js
    index 2aee1afb4..eeef38338 100644
    --- a/v2/rust/trait.impl/core/ops/bit/trait.BitOrAssign.js
    +++ b/v2/rust/trait.impl/core/ops/bit/trait.BitOrAssign.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl BitOrAssign for DerivativeType"],["impl BitOrAssign for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl BitOrAssign for DerivativeType"],["impl BitOrAssign for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/ops/bit/trait.BitXor.js b/v2/rust/trait.impl/core/ops/bit/trait.BitXor.js
    index daf66bf30..c21b75c63 100644
    --- a/v2/rust/trait.impl/core/ops/bit/trait.BitXor.js
    +++ b/v2/rust/trait.impl/core/ops/bit/trait.BitXor.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl BitXor for DerivativeType"],["impl BitXor for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl BitXor for DerivativeType"],["impl BitXor for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/ops/bit/trait.BitXorAssign.js b/v2/rust/trait.impl/core/ops/bit/trait.BitXorAssign.js
    index 09423cc7c..586176d99 100644
    --- a/v2/rust/trait.impl/core/ops/bit/trait.BitXorAssign.js
    +++ b/v2/rust/trait.impl/core/ops/bit/trait.BitXorAssign.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl BitXorAssign for DerivativeType"],["impl BitXorAssign for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl BitXorAssign for DerivativeType"],["impl BitXorAssign for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/ops/bit/trait.Not.js b/v2/rust/trait.impl/core/ops/bit/trait.Not.js
    index 746d7ba61..369ae7828 100644
    --- a/v2/rust/trait.impl/core/ops/bit/trait.Not.js
    +++ b/v2/rust/trait.impl/core/ops/bit/trait.Not.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl Not for DerivativeType"],["impl Not for SubFlags"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl Not for DerivativeType"],["impl Not for SubFlags"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/ops/drop/trait.Drop.js b/v2/rust/trait.impl/core/ops/drop/trait.Drop.js
    new file mode 100644
    index 000000000..8052d7d36
    --- /dev/null
    +++ b/v2/rust/trait.impl/core/ops/drop/trait.Drop.js
    @@ -0,0 +1,9 @@
    +(function() {
    +    var implementors = Object.fromEntries([["longport",[["impl Drop for QuoteContext"],["impl Drop for TradeContext"]]]]);
    +    if (window.register_implementors) {
    +        window.register_implementors(implementors);
    +    } else {
    +        window.pending_implementors = implementors;
    +    }
    +})()
    +//{"start":57,"fragment_lengths":[582]}
    \ No newline at end of file
    diff --git a/v2/rust/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/v2/rust/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js
    index aedd0d053..02e1694c8 100644
    --- a/v2/rust/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js
    +++ b/v2/rust/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl !RefUnwindSafe for Error",1,["longport::error::Error"]],["impl !RefUnwindSafe for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl !RefUnwindSafe for TradeContext",1,["longport::trade::context::TradeContext"]],["impl RefUnwindSafe for Language",1,["longport::config::Language"]],["impl RefUnwindSafe for Market",1,["longport::types::Market"]],["impl RefUnwindSafe for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl RefUnwindSafe for SimpleError",1,["longport::error::SimpleError"]],["impl RefUnwindSafe for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl RefUnwindSafe for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl RefUnwindSafe for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl RefUnwindSafe for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl RefUnwindSafe for OptionType",1,["longport::quote::types::OptionType"]],["impl RefUnwindSafe for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl RefUnwindSafe for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl RefUnwindSafe for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl RefUnwindSafe for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl RefUnwindSafe for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl RefUnwindSafe for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl RefUnwindSafe for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl RefUnwindSafe for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl RefUnwindSafe for WarrantType",1,["longport::quote::types::WarrantType"]],["impl RefUnwindSafe for BalanceType",1,["longport::trade::types::BalanceType"]],["impl RefUnwindSafe for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl RefUnwindSafe for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl RefUnwindSafe for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl RefUnwindSafe for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl RefUnwindSafe for OrderSide",1,["longport::trade::types::OrderSide"]],["impl RefUnwindSafe for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl RefUnwindSafe for OrderTag",1,["longport::trade::types::OrderTag"]],["impl RefUnwindSafe for OrderType",1,["longport::trade::types::OrderType"]],["impl RefUnwindSafe for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl RefUnwindSafe for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl RefUnwindSafe for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl RefUnwindSafe for TopicType",1,["longport::trade::push_types::TopicType"]],["impl RefUnwindSafe for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl RefUnwindSafe for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl RefUnwindSafe for Brokers",1,["longport::quote::types::Brokers"]],["impl RefUnwindSafe for Candlestick",1,["longport::quote::types::Candlestick"]],["impl RefUnwindSafe for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl RefUnwindSafe for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl RefUnwindSafe for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl RefUnwindSafe for Depth",1,["longport::quote::types::Depth"]],["impl RefUnwindSafe for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl RefUnwindSafe for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl RefUnwindSafe for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl RefUnwindSafe for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl RefUnwindSafe for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl RefUnwindSafe for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl RefUnwindSafe for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl RefUnwindSafe for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl RefUnwindSafe for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl RefUnwindSafe for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl RefUnwindSafe for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl RefUnwindSafe for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl RefUnwindSafe for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl RefUnwindSafe for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl RefUnwindSafe for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl RefUnwindSafe for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl RefUnwindSafe for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl RefUnwindSafe for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl RefUnwindSafe for Security",1,["longport::quote::types::Security"]],["impl RefUnwindSafe for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl RefUnwindSafe for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl RefUnwindSafe for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl RefUnwindSafe for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl RefUnwindSafe for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl RefUnwindSafe for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl RefUnwindSafe for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl RefUnwindSafe for Subscription",1,["longport::quote::types::Subscription"]],["impl RefUnwindSafe for Trade",1,["longport::quote::types::Trade"]],["impl RefUnwindSafe for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl RefUnwindSafe for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl RefUnwindSafe for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl RefUnwindSafe for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl RefUnwindSafe for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl RefUnwindSafe for Config",1,["longport::config::Config"]],["impl RefUnwindSafe for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl RefUnwindSafe for CashFlow",1,["longport::trade::types::CashFlow"]],["impl RefUnwindSafe for CashInfo",1,["longport::trade::types::CashInfo"]],["impl RefUnwindSafe for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl RefUnwindSafe for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl RefUnwindSafe for Execution",1,["longport::trade::types::Execution"]],["impl RefUnwindSafe for FundPosition",1,["longport::trade::types::FundPosition"]],["impl RefUnwindSafe for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl RefUnwindSafe for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl RefUnwindSafe for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl RefUnwindSafe for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl RefUnwindSafe for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl RefUnwindSafe for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl RefUnwindSafe for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl RefUnwindSafe for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl RefUnwindSafe for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl RefUnwindSafe for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl RefUnwindSafe for Order",1,["longport::trade::types::Order"]],["impl RefUnwindSafe for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl RefUnwindSafe for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl RefUnwindSafe for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl RefUnwindSafe for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl RefUnwindSafe for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl RefUnwindSafe for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl RefUnwindSafe for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl RefUnwindSafe for StockPosition",1,["longport::trade::types::StockPosition"]],["impl RefUnwindSafe for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl RefUnwindSafe for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl RefUnwindSafe for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl RefUnwindSafe for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl !RefUnwindSafe for Error",1,["longport::error::Error"]],["impl !RefUnwindSafe for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl !RefUnwindSafe for TradeContext",1,["longport::trade::context::TradeContext"]],["impl RefUnwindSafe for Language",1,["longport::config::Language"]],["impl RefUnwindSafe for Market",1,["longport::types::Market"]],["impl RefUnwindSafe for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl RefUnwindSafe for SimpleError",1,["longport::error::SimpleError"]],["impl RefUnwindSafe for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl RefUnwindSafe for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl RefUnwindSafe for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl RefUnwindSafe for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl RefUnwindSafe for OptionType",1,["longport::quote::types::OptionType"]],["impl RefUnwindSafe for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl RefUnwindSafe for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl RefUnwindSafe for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl RefUnwindSafe for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl RefUnwindSafe for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl RefUnwindSafe for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl RefUnwindSafe for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl RefUnwindSafe for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl RefUnwindSafe for WarrantType",1,["longport::quote::types::WarrantType"]],["impl RefUnwindSafe for BalanceType",1,["longport::trade::types::BalanceType"]],["impl RefUnwindSafe for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl RefUnwindSafe for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl RefUnwindSafe for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl RefUnwindSafe for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl RefUnwindSafe for OrderSide",1,["longport::trade::types::OrderSide"]],["impl RefUnwindSafe for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl RefUnwindSafe for OrderTag",1,["longport::trade::types::OrderTag"]],["impl RefUnwindSafe for OrderType",1,["longport::trade::types::OrderType"]],["impl RefUnwindSafe for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl RefUnwindSafe for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl RefUnwindSafe for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl RefUnwindSafe for TopicType",1,["longport::trade::push_types::TopicType"]],["impl RefUnwindSafe for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl RefUnwindSafe for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl RefUnwindSafe for Brokers",1,["longport::quote::types::Brokers"]],["impl RefUnwindSafe for Candlestick",1,["longport::quote::types::Candlestick"]],["impl RefUnwindSafe for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl RefUnwindSafe for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl RefUnwindSafe for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl RefUnwindSafe for Depth",1,["longport::quote::types::Depth"]],["impl RefUnwindSafe for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl RefUnwindSafe for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl RefUnwindSafe for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl RefUnwindSafe for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl RefUnwindSafe for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl RefUnwindSafe for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl RefUnwindSafe for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl RefUnwindSafe for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl RefUnwindSafe for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl RefUnwindSafe for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl RefUnwindSafe for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl RefUnwindSafe for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl RefUnwindSafe for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl RefUnwindSafe for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl RefUnwindSafe for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl RefUnwindSafe for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl RefUnwindSafe for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl RefUnwindSafe for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl RefUnwindSafe for Security",1,["longport::quote::types::Security"]],["impl RefUnwindSafe for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl RefUnwindSafe for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl RefUnwindSafe for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl RefUnwindSafe for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl RefUnwindSafe for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl RefUnwindSafe for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl RefUnwindSafe for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl RefUnwindSafe for Subscription",1,["longport::quote::types::Subscription"]],["impl RefUnwindSafe for Trade",1,["longport::quote::types::Trade"]],["impl RefUnwindSafe for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl RefUnwindSafe for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl RefUnwindSafe for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl RefUnwindSafe for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl RefUnwindSafe for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl RefUnwindSafe for Config",1,["longport::config::Config"]],["impl RefUnwindSafe for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl RefUnwindSafe for CashFlow",1,["longport::trade::types::CashFlow"]],["impl RefUnwindSafe for CashInfo",1,["longport::trade::types::CashInfo"]],["impl RefUnwindSafe for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl RefUnwindSafe for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl RefUnwindSafe for Execution",1,["longport::trade::types::Execution"]],["impl RefUnwindSafe for FundPosition",1,["longport::trade::types::FundPosition"]],["impl RefUnwindSafe for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl RefUnwindSafe for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl RefUnwindSafe for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl RefUnwindSafe for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl RefUnwindSafe for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl RefUnwindSafe for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl RefUnwindSafe for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl RefUnwindSafe for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl RefUnwindSafe for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl RefUnwindSafe for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl RefUnwindSafe for Order",1,["longport::trade::types::Order"]],["impl RefUnwindSafe for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl RefUnwindSafe for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl RefUnwindSafe for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl RefUnwindSafe for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl RefUnwindSafe for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl RefUnwindSafe for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl RefUnwindSafe for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl RefUnwindSafe for StockPosition",1,["longport::trade::types::StockPosition"]],["impl RefUnwindSafe for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl RefUnwindSafe for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl RefUnwindSafe for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl RefUnwindSafe for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/v2/rust/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js
    index 8909b0da5..1321ea8c2 100644
    --- a/v2/rust/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js
    +++ b/v2/rust/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl !UnwindSafe for Error",1,["longport::error::Error"]],["impl !UnwindSafe for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl !UnwindSafe for TradeContext",1,["longport::trade::context::TradeContext"]],["impl UnwindSafe for Language",1,["longport::config::Language"]],["impl UnwindSafe for Market",1,["longport::types::Market"]],["impl UnwindSafe for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl UnwindSafe for SimpleError",1,["longport::error::SimpleError"]],["impl UnwindSafe for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl UnwindSafe for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl UnwindSafe for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl UnwindSafe for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl UnwindSafe for OptionType",1,["longport::quote::types::OptionType"]],["impl UnwindSafe for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl UnwindSafe for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl UnwindSafe for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl UnwindSafe for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl UnwindSafe for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl UnwindSafe for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl UnwindSafe for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl UnwindSafe for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl UnwindSafe for WarrantType",1,["longport::quote::types::WarrantType"]],["impl UnwindSafe for BalanceType",1,["longport::trade::types::BalanceType"]],["impl UnwindSafe for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl UnwindSafe for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl UnwindSafe for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl UnwindSafe for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl UnwindSafe for OrderSide",1,["longport::trade::types::OrderSide"]],["impl UnwindSafe for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl UnwindSafe for OrderTag",1,["longport::trade::types::OrderTag"]],["impl UnwindSafe for OrderType",1,["longport::trade::types::OrderType"]],["impl UnwindSafe for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl UnwindSafe for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl UnwindSafe for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl UnwindSafe for TopicType",1,["longport::trade::push_types::TopicType"]],["impl UnwindSafe for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl UnwindSafe for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl UnwindSafe for Brokers",1,["longport::quote::types::Brokers"]],["impl UnwindSafe for Candlestick",1,["longport::quote::types::Candlestick"]],["impl UnwindSafe for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl UnwindSafe for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl UnwindSafe for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl UnwindSafe for Depth",1,["longport::quote::types::Depth"]],["impl UnwindSafe for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl UnwindSafe for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl UnwindSafe for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl UnwindSafe for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl UnwindSafe for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl UnwindSafe for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl UnwindSafe for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl UnwindSafe for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl UnwindSafe for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl UnwindSafe for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl UnwindSafe for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl UnwindSafe for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl UnwindSafe for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl UnwindSafe for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl UnwindSafe for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl UnwindSafe for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl UnwindSafe for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl UnwindSafe for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl UnwindSafe for Security",1,["longport::quote::types::Security"]],["impl UnwindSafe for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl UnwindSafe for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl UnwindSafe for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl UnwindSafe for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl UnwindSafe for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl UnwindSafe for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl UnwindSafe for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl UnwindSafe for Subscription",1,["longport::quote::types::Subscription"]],["impl UnwindSafe for Trade",1,["longport::quote::types::Trade"]],["impl UnwindSafe for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl UnwindSafe for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl UnwindSafe for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl UnwindSafe for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl UnwindSafe for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl UnwindSafe for Config",1,["longport::config::Config"]],["impl UnwindSafe for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl UnwindSafe for CashFlow",1,["longport::trade::types::CashFlow"]],["impl UnwindSafe for CashInfo",1,["longport::trade::types::CashInfo"]],["impl UnwindSafe for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl UnwindSafe for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl UnwindSafe for Execution",1,["longport::trade::types::Execution"]],["impl UnwindSafe for FundPosition",1,["longport::trade::types::FundPosition"]],["impl UnwindSafe for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl UnwindSafe for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl UnwindSafe for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl UnwindSafe for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl UnwindSafe for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl UnwindSafe for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl UnwindSafe for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl UnwindSafe for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl UnwindSafe for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl UnwindSafe for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl UnwindSafe for Order",1,["longport::trade::types::Order"]],["impl UnwindSafe for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl UnwindSafe for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl UnwindSafe for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl UnwindSafe for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl UnwindSafe for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl UnwindSafe for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl UnwindSafe for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl UnwindSafe for StockPosition",1,["longport::trade::types::StockPosition"]],["impl UnwindSafe for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl UnwindSafe for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl UnwindSafe for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl UnwindSafe for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl !UnwindSafe for Error",1,["longport::error::Error"]],["impl !UnwindSafe for QuoteContext",1,["longport::quote::context::QuoteContext"]],["impl !UnwindSafe for TradeContext",1,["longport::trade::context::TradeContext"]],["impl UnwindSafe for Language",1,["longport::config::Language"]],["impl UnwindSafe for Market",1,["longport::types::Market"]],["impl UnwindSafe for PushCandlestickMode",1,["longport::config::PushCandlestickMode"]],["impl UnwindSafe for SimpleError",1,["longport::error::SimpleError"]],["impl UnwindSafe for CalcIndex",1,["longport::quote::types::CalcIndex"]],["impl UnwindSafe for FilterWarrantExpiryDate",1,["longport::quote::types::FilterWarrantExpiryDate"]],["impl UnwindSafe for FilterWarrantInOutBoundsType",1,["longport::quote::types::FilterWarrantInOutBoundsType"]],["impl UnwindSafe for OptionDirection",1,["longport::quote::types::OptionDirection"]],["impl UnwindSafe for OptionType",1,["longport::quote::types::OptionType"]],["impl UnwindSafe for PushEventDetail",1,["longport::quote::push_types::PushEventDetail"]],["impl UnwindSafe for SecuritiesUpdateMode",1,["longport::quote::types::SecuritiesUpdateMode"]],["impl UnwindSafe for SecurityBoard",1,["longport::quote::types::SecurityBoard"]],["impl UnwindSafe for SecurityListCategory",1,["longport::quote::types::SecurityListCategory"]],["impl UnwindSafe for SortOrderType",1,["longport::quote::types::SortOrderType"]],["impl UnwindSafe for TradeDirection",1,["longport::quote::types::TradeDirection"]],["impl UnwindSafe for WarrantSortBy",1,["longport::quote::types::WarrantSortBy"]],["impl UnwindSafe for WarrantStatus",1,["longport::quote::types::WarrantStatus"]],["impl UnwindSafe for WarrantType",1,["longport::quote::types::WarrantType"]],["impl UnwindSafe for BalanceType",1,["longport::trade::types::BalanceType"]],["impl UnwindSafe for CashFlowDirection",1,["longport::trade::types::CashFlowDirection"]],["impl UnwindSafe for ChargeCategoryCode",1,["longport::trade::types::ChargeCategoryCode"]],["impl UnwindSafe for CommissionFreeStatus",1,["longport::trade::types::CommissionFreeStatus"]],["impl UnwindSafe for DeductionStatus",1,["longport::trade::types::DeductionStatus"]],["impl UnwindSafe for OrderSide",1,["longport::trade::types::OrderSide"]],["impl UnwindSafe for OrderStatus",1,["longport::trade::types::OrderStatus"]],["impl UnwindSafe for OrderTag",1,["longport::trade::types::OrderTag"]],["impl UnwindSafe for OrderType",1,["longport::trade::types::OrderType"]],["impl UnwindSafe for OutsideRTH",1,["longport::trade::types::OutsideRTH"]],["impl UnwindSafe for PushEvent",1,["longport::trade::push_types::PushEvent"]],["impl UnwindSafe for TimeInForceType",1,["longport::trade::types::TimeInForceType"]],["impl UnwindSafe for TopicType",1,["longport::trade::push_types::TopicType"]],["impl UnwindSafe for TriggerPriceType",1,["longport::trade::types::TriggerPriceType"]],["impl UnwindSafe for TriggerStatus",1,["longport::trade::types::TriggerStatus"]],["impl UnwindSafe for Brokers",1,["longport::quote::types::Brokers"]],["impl UnwindSafe for Candlestick",1,["longport::quote::types::Candlestick"]],["impl UnwindSafe for CapitalDistribution",1,["longport::quote::types::CapitalDistribution"]],["impl UnwindSafe for CapitalDistributionResponse",1,["longport::quote::types::CapitalDistributionResponse"]],["impl UnwindSafe for CapitalFlowLine",1,["longport::quote::types::CapitalFlowLine"]],["impl UnwindSafe for Depth",1,["longport::quote::types::Depth"]],["impl UnwindSafe for DerivativeType",1,["longport::quote::types::DerivativeType"]],["impl UnwindSafe for IntradayLine",1,["longport::quote::types::IntradayLine"]],["impl UnwindSafe for IssuerInfo",1,["longport::quote::types::IssuerInfo"]],["impl UnwindSafe for MarketTradingDays",1,["longport::quote::types::MarketTradingDays"]],["impl UnwindSafe for MarketTradingSession",1,["longport::quote::types::MarketTradingSession"]],["impl UnwindSafe for OptionQuote",1,["longport::quote::types::OptionQuote"]],["impl UnwindSafe for ParticipantInfo",1,["longport::quote::types::ParticipantInfo"]],["impl UnwindSafe for PrePostQuote",1,["longport::quote::types::PrePostQuote"]],["impl UnwindSafe for PushBrokers",1,["longport::quote::push_types::PushBrokers"]],["impl UnwindSafe for PushCandlestick",1,["longport::quote::push_types::PushCandlestick"]],["impl UnwindSafe for PushDepth",1,["longport::quote::push_types::PushDepth"]],["impl UnwindSafe for PushEvent",1,["longport::quote::push_types::PushEvent"]],["impl UnwindSafe for PushQuote",1,["longport::quote::push_types::PushQuote"]],["impl UnwindSafe for PushTrades",1,["longport::quote::push_types::PushTrades"]],["impl UnwindSafe for QuotePackageDetail",1,["longport::quote::types::QuotePackageDetail"]],["impl UnwindSafe for RealtimeQuote",1,["longport::quote::types::RealtimeQuote"]],["impl UnwindSafe for RequestCreateWatchlistGroup",1,["longport::quote::types::RequestCreateWatchlistGroup"]],["impl UnwindSafe for RequestUpdateWatchlistGroup",1,["longport::quote::types::RequestUpdateWatchlistGroup"]],["impl UnwindSafe for Security",1,["longport::quote::types::Security"]],["impl UnwindSafe for SecurityBrokers",1,["longport::quote::types::SecurityBrokers"]],["impl UnwindSafe for SecurityCalcIndex",1,["longport::quote::types::SecurityCalcIndex"]],["impl UnwindSafe for SecurityDepth",1,["longport::quote::types::SecurityDepth"]],["impl UnwindSafe for SecurityQuote",1,["longport::quote::types::SecurityQuote"]],["impl UnwindSafe for SecurityStaticInfo",1,["longport::quote::types::SecurityStaticInfo"]],["impl UnwindSafe for StrikePriceInfo",1,["longport::quote::types::StrikePriceInfo"]],["impl UnwindSafe for SubFlags",1,["longport::quote::sub_flags::SubFlags"]],["impl UnwindSafe for Subscription",1,["longport::quote::types::Subscription"]],["impl UnwindSafe for Trade",1,["longport::quote::types::Trade"]],["impl UnwindSafe for TradingSessionInfo",1,["longport::quote::types::TradingSessionInfo"]],["impl UnwindSafe for WarrantInfo",1,["longport::quote::types::WarrantInfo"]],["impl UnwindSafe for WarrantQuote",1,["longport::quote::types::WarrantQuote"]],["impl UnwindSafe for WatchlistGroup",1,["longport::quote::types::WatchlistGroup"]],["impl UnwindSafe for WatchlistSecurity",1,["longport::quote::types::WatchlistSecurity"]],["impl UnwindSafe for Config",1,["longport::config::Config"]],["impl UnwindSafe for AccountBalance",1,["longport::trade::types::AccountBalance"]],["impl UnwindSafe for CashFlow",1,["longport::trade::types::CashFlow"]],["impl UnwindSafe for CashInfo",1,["longport::trade::types::CashInfo"]],["impl UnwindSafe for EstimateMaxPurchaseQuantityOptions",1,["longport::trade::requests::estimate_max_purchase_quantity::EstimateMaxPurchaseQuantityOptions"]],["impl UnwindSafe for EstimateMaxPurchaseQuantityResponse",1,["longport::trade::context::EstimateMaxPurchaseQuantityResponse"]],["impl UnwindSafe for Execution",1,["longport::trade::types::Execution"]],["impl UnwindSafe for FundPosition",1,["longport::trade::types::FundPosition"]],["impl UnwindSafe for FundPositionChannel",1,["longport::trade::types::FundPositionChannel"]],["impl UnwindSafe for FundPositionsResponse",1,["longport::trade::types::FundPositionsResponse"]],["impl UnwindSafe for GetCashFlowOptions",1,["longport::trade::requests::get_cash_flow::GetCashFlowOptions"]],["impl UnwindSafe for GetFundPositionsOptions",1,["longport::trade::requests::get_fund_positions::GetFundPositionsOptions"]],["impl UnwindSafe for GetHistoryExecutionsOptions",1,["longport::trade::requests::get_history_executions::GetHistoryExecutionsOptions"]],["impl UnwindSafe for GetHistoryOrdersOptions",1,["longport::trade::requests::get_history_orders::GetHistoryOrdersOptions"]],["impl UnwindSafe for GetStockPositionsOptions",1,["longport::trade::requests::get_stock_positions::GetStockPositionsOptions"]],["impl UnwindSafe for GetTodayExecutionsOptions",1,["longport::trade::requests::get_today_executions::GetTodayExecutionsOptions"]],["impl UnwindSafe for GetTodayOrdersOptions",1,["longport::trade::requests::get_today_orders::GetTodayOrdersOptions"]],["impl UnwindSafe for MarginRatio",1,["longport::trade::types::MarginRatio"]],["impl UnwindSafe for Order",1,["longport::trade::types::Order"]],["impl UnwindSafe for OrderChargeDetail",1,["longport::trade::types::OrderChargeDetail"]],["impl UnwindSafe for OrderChargeFee",1,["longport::trade::types::OrderChargeFee"]],["impl UnwindSafe for OrderChargeItem",1,["longport::trade::types::OrderChargeItem"]],["impl UnwindSafe for OrderDetail",1,["longport::trade::types::OrderDetail"]],["impl UnwindSafe for OrderHistoryDetail",1,["longport::trade::types::OrderHistoryDetail"]],["impl UnwindSafe for PushOrderChanged",1,["longport::trade::push_types::PushOrderChanged"]],["impl UnwindSafe for ReplaceOrderOptions",1,["longport::trade::requests::replace_order::ReplaceOrderOptions"]],["impl UnwindSafe for StockPosition",1,["longport::trade::types::StockPosition"]],["impl UnwindSafe for StockPositionChannel",1,["longport::trade::types::StockPositionChannel"]],["impl UnwindSafe for StockPositionsResponse",1,["longport::trade::types::StockPositionsResponse"]],["impl UnwindSafe for SubmitOrderOptions",1,["longport::trade::requests::submit_order::SubmitOrderOptions"]],["impl UnwindSafe for SubmitOrderResponse",1,["longport::trade::context::SubmitOrderResponse"]]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/trait.impl/core/str/traits/trait.FromStr.js b/v2/rust/trait.impl/core/str/traits/trait.FromStr.js
    index be9f33ce0..ebbf00527 100644
    --- a/v2/rust/trait.impl/core/str/traits/trait.FromStr.js
    +++ b/v2/rust/trait.impl/core/str/traits/trait.FromStr.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var implementors = Object.fromEntries([["longport",[["impl FromStr for Market"],["impl FromStr for OptionDirection"],["impl FromStr for OptionType"],["impl FromStr for SecurityBoard"],["impl FromStr for SecurityListCategory"],["impl FromStr for WarrantType"],["impl FromStr for ChargeCategoryCode"],["impl FromStr for CommissionFreeStatus"],["impl FromStr for DeductionStatus"],["impl FromStr for OrderSide"],["impl FromStr for OrderStatus"],["impl FromStr for OrderTag"],["impl FromStr for OrderType"],["impl FromStr for OutsideRTH"],["impl FromStr for TimeInForceType"],["impl FromStr for TopicType"],["impl FromStr for TriggerPriceType"],["impl FromStr for TriggerStatus"]]]]);
    +    var implementors = Object.fromEntries([["longport",[["impl FromStr for Market"],["impl FromStr for OptionDirection"],["impl FromStr for OptionType"],["impl FromStr for SecurityBoard"],["impl FromStr for SecurityListCategory"],["impl FromStr for WarrantType"],["impl FromStr for ChargeCategoryCode"],["impl FromStr for CommissionFreeStatus"],["impl FromStr for DeductionStatus"],["impl FromStr for OrderSide"],["impl FromStr for OrderStatus"],["impl FromStr for OrderTag"],["impl FromStr for OrderType"],["impl FromStr for OutsideRTH"],["impl FromStr for TimeInForceType"],["impl FromStr for TopicType"],["impl FromStr for TriggerPriceType"],["impl FromStr for TriggerStatus"]]]]);
         if (window.register_implementors) {
             window.register_implementors(implementors);
         } else {
    diff --git a/v2/rust/type.impl/core/result/enum.Result.js b/v2/rust/type.impl/core/result/enum.Result.js
    index bcb8a2c70..42bbac1fc 100644
    --- a/v2/rust/type.impl/core/result/enum.Result.js
    +++ b/v2/rust/type.impl/core/result/enum.Result.js
    @@ -1,5 +1,5 @@
     (function() {
    -    var type_impls = Object.fromEntries([["longport",[["
    1.0.0 · Source§

    impl<T, E> Clone for Result<T, E>
    where\n T: Clone,\n E: Clone,

    Source§

    fn clone(&self) -> Result<T, E>

    Returns a copy of the value. Read more
    Source§

    fn clone_from(&mut self, source: &Result<T, E>)

    Performs copy-assignment from source. Read more
    ","Clone","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Debug for Result<T, E>
    where\n T: Debug,\n E: Debug,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","longport::error::Result"],["
    Source§

    impl<'de, T, E> Deserialize<'de> for Result<T, E>
    where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

    Source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","longport::error::Result"],["
    1.0.0 · Source§

    impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>
    where\n V: FromIterator<A>,

    Source§

    fn from_iter<I>(iter: I) -> Result<V, E>
    where\n I: IntoIterator<Item = Result<A, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

    \n

    Here is an example which increments every integer in a vector,\nchecking for overflow:

    \n\n
    let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or(\"Overflow!\")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
    \n

    Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

    \n\n
    let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or(\"Underflow!\")\n).collect();\nassert_eq!(res, Err(\"Underflow!\"));
    \n

    Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

    \n\n
    let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or(\"Underflow!\")\n}).collect();\nassert_eq!(res, Err(\"Underflow!\"));\nassert_eq!(shared, 6);
    \n

    Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

    \n
    ","FromIterator>","longport::error::Result"],["
    Source§

    impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>
    where\n F: From<E>,

    Source§

    fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","longport::error::Result"],["
    Source§

    impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>
    where\n F: From<E>,

    Source§

    fn from_residual(_: Yeet<E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Hash for Result<T, E>
    where\n T: Hash,\n E: Hash,

    Source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> IntoIterator for Result<T, E>

    Source§

    fn into_iter(self) -> IntoIter<T>

    Returns a consuming iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
    \n
    Source§

    type Item = T

    The type of the elements being iterated over.
    Source§

    type IntoIter = IntoIter<T>

    Which kind of iterator are we turning this into?
    ","IntoIterator","longport::error::Result"],["
    §

    impl<T, E> NonBlockingResult for Result<T, E>
    where\n E: NonBlockingError,

    §

    type Result = Result<Option<T>, E>

    Type of the converted result: Result<Option<T>, E>
    §

    fn no_block(self) -> <Result<T, E> as NonBlockingResult>::Result

    Perform the non-block conversion.
    ","NonBlockingResult","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Ord for Result<T, E>
    where\n T: Ord,\n E: Ord,

    Source§

    fn cmp(&self, other: &Result<T, E>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> PartialEq for Result<T, E>
    where\n T: PartialEq,\n E: PartialEq,

    Source§

    fn eq(&self, other: &Result<T, E>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> PartialOrd for Result<T, E>
    where\n T: PartialOrd,\n E: PartialOrd,

    Source§

    fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","longport::error::Result"],["
    1.16.0 · Source§

    impl<T, U, E> Product<Result<U, E>> for Result<T, E>
    where\n T: Product<U>,

    Source§

    fn product<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

    \n
    §Examples
    \n

    This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

    \n\n
    let nums = vec![\"5\", \"10\", \"1\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec![\"5\", \"10\", \"one\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
    \n
    ","Product>","longport::error::Result"],["
    Source§

    impl<T, E> Residual<T> for Result<Infallible, E>

    Source§

    type TryType = Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2_residual)
    The “return” type of this meta-function.
    ","Residual","longport::error::Result"],["
    Source§

    impl<T, E> Result<&T, E>

    1.59.0 (const: 1.83.0) · Source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · Source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"longport::error::Result"],["
    Source§

    impl<T, E> Result<&mut T, E>

    1.59.0 (const: 1.83.0) · Source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · Source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"longport::error::Result"],["
    Source§

    impl<T, E> Result<Option<T>, E>

    1.33.0 (const: 1.83.0) · Source

    pub const fn transpose(self) -> Option<Result<T, E>>

    Transposes a Result of an Option into an Option of a Result.

    \n

    Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

    \n
    §Examples
    \n
    #[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
    \n
    ",0,"longport::error::Result"],["
    Source§

    impl<T, E> Result<Result<T, E>, E>

    Source

    pub const fn flatten(self) -> Result<T, E>

    🔬This is a nightly-only experimental API. (result_flattening)

    Converts from Result<Result<T, E>, E> to Result<T, E>

    \n
    §Examples
    \n
    #![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok(\"hello\"));\nassert_eq!(Ok(\"hello\"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
    \n

    Flattening only removes one level of nesting at a time:

    \n\n
    #![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok(\"hello\")));\nassert_eq!(Ok(Ok(\"hello\")), x.flatten());\nassert_eq!(Ok(\"hello\"), x.flatten().flatten());
    \n
    ",0,"longport::error::Result"],["
    Source§

    impl<T, E> Result<T, E>

    1.0.0 (const: 1.48.0) · Source

    pub const fn is_ok(&self) -> bool

    Returns true if the result is Ok.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_ok(), false);
    \n
    1.70.0 · Source

    pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

    Returns true if the result is Ok and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err(\"hey\");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
    \n
    1.0.0 (const: 1.48.0) · Source

    pub const fn is_err(&self) -> bool

    Returns true if the result is Err.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_err(), true);
    \n
    1.70.0 · Source

    pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

    Returns true if the result is Err and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
    \n
    1.0.0 · Source

    pub fn ok(self) -> Option<T>

    Converts from Result<T, E> to Option<T>.

    \n

    Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.ok(), None);
    \n
    1.0.0 · Source

    pub fn err(self) -> Option<E>

    Converts from Result<T, E> to Option<E>.

    \n

    Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.err(), Some(\"Nothing here\"));
    \n
    1.0.0 (const: 1.48.0) · Source

    pub const fn as_ref(&self) -> Result<&T, &E>

    Converts from &Result<T, E> to Result<&T, &E>.

    \n

    Produces a new Result, containing a reference\ninto the original, leaving the original in place.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err(\"Error\");\nassert_eq!(x.as_ref(), Err(&\"Error\"));
    \n
    1.0.0 (const: 1.83.0) · Source

    pub const fn as_mut(&mut self) -> Result<&mut T, &mut E>

    Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

    \n
    §Examples
    \n
    fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
    \n
    1.0.0 · Source

    pub fn map<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

    \n

    This function can be used to compose the results of two functions.

    \n
    §Examples
    \n

    Print the numbers on each line of a string multiplied by two.

    \n\n
    let line = \"1\\n2\\n3\\n4\\n\";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!(\"{n}\"),\n        Err(..) => {}\n    }\n}
    \n
    1.41.0 · Source

    pub fn map_or<U, F>(self, default: U, f: F) -> U
    where\n F: FnOnce(T) -> U,

    Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

    \n

    Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let x: Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
    \n
    1.41.0 · Source

    pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U
    where\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

    \n

    This function can be used to unpack a successful result\nwhile handling an error.

    \n
    §Examples
    \n
    let k = 21;\n\nlet x : Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
    \n
    1.0.0 · Source

    pub fn map_err<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> F,

    Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

    \n

    This function can be used to pass through a successful result while handling\nan error.

    \n
    §Examples
    \n
    fn stringify(x: u32) -> String { format!(\"error code: {x}\") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err(\"error code: 13\".to_string()));
    \n
    1.76.0 · Source

    pub fn inspect<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&T),

    Calls a function with a reference to the contained value if Ok.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    let x: u8 = \"4\"\n    .parse::<u8>()\n    .inspect(|x| println!(\"original: {x}\"))\n    .map(|x| x.pow(3))\n    .expect(\"failed to parse number\");
    \n
    1.76.0 · Source

    pub fn inspect_err<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&E),

    Calls a function with a reference to the contained value if Err.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    use std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string(\"address.txt\")\n        .inspect_err(|e| eprintln!(\"failed to read file: {e}\"))\n}
    \n
    1.47.0 · Source

    pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>
    where\n T: Deref,

    Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

    \n

    Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

    \n
    §Examples
    \n
    let x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&str, &u32> = Ok(\"hello\");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
    \n
    1.47.0 · Source

    pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>
    where\n T: DerefMut,

    Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

    \n

    Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

    \n
    §Examples
    \n
    let mut s = \"HELLO\".to_string();\nlet mut x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
    \n
    1.0.0 · Source

    pub fn iter(&self) -> Iter<'_, T>

    Returns an iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter().next(), None);
    \n
    1.0.0 · Source

    pub fn iter_mut(&mut self) -> IterMut<'_, T>

    Returns a mutable iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter_mut().next(), None);
    \n
    1.4.0 · Source

    pub fn expect(self, msg: &str) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.expect(\"Testing expect\"); // panics with `Testing expect: emergency failure`
    \n
    §Recommended Message Style
    \n

    We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

    \n\n
    let path = std::env::var(\"IMPORTANT_PATH\")\n    .expect(\"env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`\");
    \n

    Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

    \n

    For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

    \n
    1.0.0 · Source

    pub fn unwrap(self) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message provided by the\nErr’s value.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.unwrap(); // panics with `emergency failure`
    \n
    1.16.0 · Source

    pub fn unwrap_or_default(self) -> T
    where\n T: Default,

    Returns the contained Ok value or a default

    \n

    Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

    \n
    §Examples
    \n

    Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

    \n\n
    let good_year_from_input = \"1909\";\nlet bad_year_from_input = \"190blarg\";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
    \n
    1.17.0 · Source

    pub fn expect_err(self, msg: &str) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(10);\nx.expect_err(\"Testing expect_err\"); // panics with `Testing expect_err: 10`
    \n
    1.0.0 · Source

    pub fn unwrap_err(self) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(x.unwrap_err(), \"emergency failure\");
    \n
    Source

    pub fn into_ok(self) -> T
    where\n E: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Ok value, but never panics.

    \n

    Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

    \n
    §Examples
    \n
    \nfn only_good_news() -> Result<String, !> {\n    Ok(\"this is fine\".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!(\"{s}\");
    \n
    Source

    pub fn into_err(self) -> E
    where\n T: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Err value, but never panics.

    \n

    Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

    \n
    §Examples
    \n
    \nfn only_bad_news() -> Result<!, String> {\n    Err(\"Oops, it failed\".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!(\"{error}\");
    \n
    1.0.0 · Source

    pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

    Returns res if the result is Ok, otherwise returns the Err value of self.

    \n

    Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<&str, &str> = Ok(\"foo\");\nassert_eq!(x.and(y), Err(\"early error\"));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"not a 2\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok(\"different result type\");\nassert_eq!(x.and(y), Ok(\"different result type\"));
    \n
    1.0.0 · Source

    pub fn and_then<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> Result<U, E>,

    Calls op if the result is Ok, otherwise returns the Err value of self.

    \n

    This function can be used for control flow based on Result values.

    \n
    §Examples
    \n
    fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or(\"overflowed\")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err(\"overflowed\"));\nassert_eq!(Err(\"not a number\").and_then(sq_then_to_string), Err(\"not a number\"));
    \n

    Often used to chain fallible operations that may return Err.

    \n\n
    use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows \"/\" maps to \"C:\\\"\nlet root_modified_time = Path::new(\"/\").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new(\"/bad/path\").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
    \n
    1.0.0 · Source

    pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

    Returns res if the result is Err, otherwise returns the Ok value of self.

    \n

    Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
    \n
    1.0.0 · Source

    pub fn or_else<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> Result<T, F>,

    Calls op if the result is Err, otherwise returns the Ok value of self.

    \n

    This function can be used for control flow based on result values.

    \n
    §Examples
    \n
    fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
    \n
    1.0.0 · Source

    pub fn unwrap_or(self, default: T) -> T

    Returns the contained Ok value or a provided default.

    \n

    Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err(\"error\");\nassert_eq!(x.unwrap_or(default), default);
    \n
    1.0.0 · Source

    pub fn unwrap_or_else<F>(self, op: F) -> T
    where\n F: FnOnce(E) -> T,

    Returns the contained Ok value or computes it from a closure.

    \n
    §Examples
    \n
    fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err(\"foo\").unwrap_or_else(count), 3);
    \n
    1.58.0 · Source

    pub unsafe fn unwrap_unchecked(self) -> T

    Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

    \n
    §Safety
    \n

    Calling this method on an Err is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
    \n
    1.58.0 · Source

    pub unsafe fn unwrap_err_unchecked(self) -> E

    Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

    \n
    §Safety
    \n

    Calling this method on an Ok is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, \"emergency failure\");
    \n
    ",0,"longport::error::Result"],["
    Source§

    impl<T, E> Serialize for Result<T, E>
    where\n T: Serialize,\n E: Serialize,

    Source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","longport::error::Result"],["
    1.16.0 · Source§

    impl<T, U, E> Sum<Result<U, E>> for Result<T, E>
    where\n T: Sum<U>,

    Source§

    fn sum<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

    \n
    §Examples
    \n

    This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

    \n\n
    let f = |&x: &i32| if x < 0 { Err(\"Negative element found\") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err(\"Negative element found\"));
    \n
    ","Sum>","longport::error::Result"],["
    1.61.0 · Source§

    impl<T, E> Termination for Result<T, E>
    where\n T: Termination,\n E: Debug,

    Source§

    fn report(self) -> ExitCode

    Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
    ","Termination","longport::error::Result"],["
    Source§

    impl<T, E> Try for Result<T, E>

    Source§

    type Output = T

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value produced by ? when not short-circuiting.
    Source§

    type Residual = Result<Infallible, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
    Source§

    fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from its Output type. Read more
    Source§

    fn branch(\n self,\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
    ","Try","longport::error::Result"],["
    §

    impl<T, E> TryWriteable for Result<T, E>
    where\n T: Writeable,\n E: Writeable + Clone,

    §

    type Error = E

    §

    fn try_write_to<W>(\n &self,\n sink: &mut W,\n) -> Result<Result<(), <Result<T, E> as TryWriteable>::Error>, Error>
    where\n W: Write + ?Sized,

    Writes the content of this writeable to a sink. Read more
    §

    fn try_write_to_parts<S>(\n &self,\n sink: &mut S,\n) -> Result<Result<(), <Result<T, E> as TryWriteable>::Error>, Error>
    where\n S: PartsWrite + ?Sized,

    Writes the content of this writeable to a sink with parts (annotations). Read more
    §

    fn writeable_length_hint(&self) -> LengthHint

    Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
    §

    fn try_write_to_string(\n &self,\n) -> Result<Cow<'_, str>, (<Result<T, E> as TryWriteable>::Error, Cow<'_, str>)>

    Writes the content of this writeable to a string. Read more
    §

    fn writeable_cmp_bytes(&self, other: &[u8]) -> Ordering

    Compares the content of this writeable to a byte slice. Read more
    ","TryWriteable","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Copy for Result<T, E>
    where\n T: Copy,\n E: Copy,

    ","Copy","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Eq for Result<T, E>
    where\n T: Eq,\n E: Eq,

    ","Eq","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> StructuralPartialEq for Result<T, E>

    ","StructuralPartialEq","longport::error::Result"]]]]); + var type_impls = Object.fromEntries([["longport",[["
    1.0.0 · Source§

    impl<T, E> Clone for Result<T, E>
    where\n T: Clone,\n E: Clone,

    Source§

    fn clone(&self) -> Result<T, E>

    Returns a copy of the value. Read more
    Source§

    fn clone_from(&mut self, source: &Result<T, E>)

    Performs copy-assignment from source. Read more
    ","Clone","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Debug for Result<T, E>
    where\n T: Debug,\n E: Debug,

    Source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","longport::error::Result"],["
    Source§

    impl<'de, T, E> Deserialize<'de> for Result<T, E>
    where\n T: Deserialize<'de>,\n E: Deserialize<'de>,

    Source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","longport::error::Result"],["
    1.0.0 · Source§

    impl<A, E, V> FromIterator<Result<A, E>> for Result<V, E>
    where\n V: FromIterator<A>,

    Source§

    fn from_iter<I>(iter: I) -> Result<V, E>
    where\n I: IntoIterator<Item = Result<A, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err occur, a\ncontainer with the values of each Result is returned.

    \n

    Here is an example which increments every integer in a vector,\nchecking for overflow:

    \n\n
    let v = vec![1, 2];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_add(1).ok_or(\"Overflow!\")\n).collect();\nassert_eq!(res, Ok(vec![2, 3]));
    \n

    Here is another example that tries to subtract one from another list\nof integers, this time checking for underflow:

    \n\n
    let v = vec![1, 2, 0];\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32|\n    x.checked_sub(1).ok_or(\"Underflow!\")\n).collect();\nassert_eq!(res, Err(\"Underflow!\"));
    \n

    Here is a variation on the previous example, showing that no\nfurther elements are taken from iter after the first Err.

    \n\n
    let v = vec![3, 2, 1, 10];\nlet mut shared = 0;\nlet res: Result<Vec<u32>, &'static str> = v.iter().map(|x: &u32| {\n    shared += x;\n    x.checked_sub(2).ok_or(\"Underflow!\")\n}).collect();\nassert_eq!(res, Err(\"Underflow!\"));\nassert_eq!(shared, 6);
    \n

    Since the third element caused an underflow, no further elements were taken,\nso the final value of shared is 6 (= 3 + 2 + 1), not 16.

    \n
    ","FromIterator>","longport::error::Result"],["
    Source§

    impl<T, E, F> FromResidual<Result<Infallible, E>> for Result<T, F>
    where\n F: From<E>,

    Source§

    fn from_residual(residual: Result<Infallible, E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","longport::error::Result"],["
    Source§

    impl<T, E, F> FromResidual<Yeet<E>> for Result<T, F>
    where\n F: From<E>,

    Source§

    fn from_residual(_: Yeet<E>) -> Result<T, F>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from a compatible Residual type. Read more
    ","FromResidual>","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Hash for Result<T, E>
    where\n T: Hash,\n E: Hash,

    Source§

    fn hash<__H>(&self, state: &mut __H)
    where\n __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · Source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> IntoIterator for Result<T, E>

    Source§

    fn into_iter(self) -> IntoIter<T>

    Returns a consuming iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(5);\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, [5]);\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nlet v: Vec<u32> = x.into_iter().collect();\nassert_eq!(v, []);
    \n
    Source§

    type Item = T

    The type of the elements being iterated over.
    Source§

    type IntoIter = IntoIter<T>

    Which kind of iterator are we turning this into?
    ","IntoIterator","longport::error::Result"],["
    §

    impl<T, E> NonBlockingResult for Result<T, E>
    where\n E: NonBlockingError,

    §

    type Result = Result<Option<T>, E>

    Type of the converted result: Result<Option<T>, E>
    §

    fn no_block(self) -> <Result<T, E> as NonBlockingResult>::Result

    Perform the non-block conversion.
    ","NonBlockingResult","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Ord for Result<T, E>
    where\n T: Ord,\n E: Ord,

    Source§

    fn cmp(&self, other: &Result<T, E>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · Source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · Source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · Source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> PartialEq for Result<T, E>
    where\n T: PartialEq,\n E: PartialEq,

    Source§

    fn eq(&self, other: &Result<T, E>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · Source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> PartialOrd for Result<T, E>
    where\n T: PartialOrd,\n E: PartialOrd,

    Source§

    fn partial_cmp(&self, other: &Result<T, E>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · Source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · Source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · Source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · Source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","longport::error::Result"],["
    1.16.0 · Source§

    impl<T, U, E> Product<Result<U, E>> for Result<T, E>
    where\n T: Product<U>,

    Source§

    fn product<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the product of all elements is returned.

    \n
    §Examples
    \n

    This multiplies each number in a vector of strings,\nif a string could not be parsed the operation returns Err:

    \n\n
    let nums = vec![\"5\", \"10\", \"1\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert_eq!(total, Ok(100));\nlet nums = vec![\"5\", \"10\", \"one\", \"2\"];\nlet total: Result<usize, _> = nums.iter().map(|w| w.parse::<usize>()).product();\nassert!(total.is_err());
    \n
    ","Product>","longport::error::Result"],["
    Source§

    impl<T, E> Residual<T> for Result<Infallible, E>

    Source§

    type TryType = Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2_residual)
    The “return” type of this meta-function.
    ","Residual","longport::error::Result"],["
    Source§

    impl<T, E> Result<&T, E>

    1.59.0 (const: 1.83.0) · Source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · Source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let val = 12;\nlet x: Result<&i32, i32> = Ok(&val);\nassert_eq!(x, Ok(&12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"longport::error::Result"],["
    Source§

    impl<T, E> Result<&mut T, E>

    1.59.0 (const: 1.83.0) · Source

    pub const fn copied(self) -> Result<T, E>
    where\n T: Copy,

    Maps a Result<&mut T, E> to a Result<T, E> by copying the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet copied = x.copied();\nassert_eq!(copied, Ok(12));
    \n
    1.59.0 · Source

    pub fn cloned(self) -> Result<T, E>
    where\n T: Clone,

    Maps a Result<&mut T, E> to a Result<T, E> by cloning the contents of the\nOk part.

    \n
    §Examples
    \n
    let mut val = 12;\nlet x: Result<&mut i32, i32> = Ok(&mut val);\nassert_eq!(x, Ok(&mut 12));\nlet cloned = x.cloned();\nassert_eq!(cloned, Ok(12));
    \n
    ",0,"longport::error::Result"],["
    Source§

    impl<T, E> Result<Option<T>, E>

    1.33.0 (const: 1.83.0) · Source

    pub const fn transpose(self) -> Option<Result<T, E>>

    Transposes a Result of an Option into an Option of a Result.

    \n

    Ok(None) will be mapped to None.\nOk(Some(_)) and Err(_) will be mapped to Some(Ok(_)) and Some(Err(_)).

    \n
    §Examples
    \n
    #[derive(Debug, Eq, PartialEq)]\nstruct SomeErr;\n\nlet x: Result<Option<i32>, SomeErr> = Ok(Some(5));\nlet y: Option<Result<i32, SomeErr>> = Some(Ok(5));\nassert_eq!(x.transpose(), y);
    \n
    ",0,"longport::error::Result"],["
    Source§

    impl<T, E> Result<Result<T, E>, E>

    Source

    pub const fn flatten(self) -> Result<T, E>

    🔬This is a nightly-only experimental API. (result_flattening)

    Converts from Result<Result<T, E>, E> to Result<T, E>

    \n
    §Examples
    \n
    #![feature(result_flattening)]\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Ok(\"hello\"));\nassert_eq!(Ok(\"hello\"), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Ok(Err(6));\nassert_eq!(Err(6), x.flatten());\n\nlet x: Result<Result<&'static str, u32>, u32> = Err(6);\nassert_eq!(Err(6), x.flatten());
    \n

    Flattening only removes one level of nesting at a time:

    \n\n
    #![feature(result_flattening)]\nlet x: Result<Result<Result<&'static str, u32>, u32>, u32> = Ok(Ok(Ok(\"hello\")));\nassert_eq!(Ok(Ok(\"hello\")), x.flatten());\nassert_eq!(Ok(\"hello\"), x.flatten().flatten());
    \n
    ",0,"longport::error::Result"],["
    Source§

    impl<T, E> Result<T, E>

    1.0.0 (const: 1.48.0) · Source

    pub const fn is_ok(&self) -> bool

    Returns true if the result is Ok.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_ok(), true);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_ok(), false);
    \n
    1.70.0 · Source

    pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool

    Returns true if the result is Ok and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.is_ok_and(|x| x > 1), true);\n\nlet x: Result<u32, &str> = Ok(0);\nassert_eq!(x.is_ok_and(|x| x > 1), false);\n\nlet x: Result<u32, &str> = Err(\"hey\");\nassert_eq!(x.is_ok_and(|x| x > 1), false);
    \n
    1.0.0 (const: 1.48.0) · Source

    pub const fn is_err(&self) -> bool

    Returns true if the result is Err.

    \n
    §Examples
    \n
    let x: Result<i32, &str> = Ok(-3);\nassert_eq!(x.is_err(), false);\n\nlet x: Result<i32, &str> = Err(\"Some error message\");\nassert_eq!(x.is_err(), true);
    \n
    1.70.0 · Source

    pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool

    Returns true if the result is Err and the value inside of it matches a predicate.

    \n
    §Examples
    \n
    use std::io::{Error, ErrorKind};\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), true);\n\nlet x: Result<u32, Error> = Err(Error::new(ErrorKind::PermissionDenied, \"!\"));\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);\n\nlet x: Result<u32, Error> = Ok(123);\nassert_eq!(x.is_err_and(|x| x.kind() == ErrorKind::NotFound), false);
    \n
    1.0.0 · Source

    pub fn ok(self) -> Option<T>

    Converts from Result<T, E> to Option<T>.

    \n

    Converts self into an Option<T>, consuming self,\nand discarding the error, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.ok(), Some(2));\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.ok(), None);
    \n
    1.0.0 · Source

    pub fn err(self) -> Option<E>

    Converts from Result<T, E> to Option<E>.

    \n

    Converts self into an Option<E>, consuming self,\nand discarding the success value, if any.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.err(), None);\n\nlet x: Result<u32, &str> = Err(\"Nothing here\");\nassert_eq!(x.err(), Some(\"Nothing here\"));
    \n
    1.0.0 (const: 1.48.0) · Source

    pub const fn as_ref(&self) -> Result<&T, &E>

    Converts from &Result<T, E> to Result<&T, &E>.

    \n

    Produces a new Result, containing a reference\ninto the original, leaving the original in place.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.as_ref(), Ok(&2));\n\nlet x: Result<u32, &str> = Err(\"Error\");\nassert_eq!(x.as_ref(), Err(&\"Error\"));
    \n
    1.0.0 (const: 1.83.0) · Source

    pub const fn as_mut(&mut self) -> Result<&mut T, &mut E>

    Converts from &mut Result<T, E> to Result<&mut T, &mut E>.

    \n
    §Examples
    \n
    fn mutate(r: &mut Result<i32, i32>) {\n    match r.as_mut() {\n        Ok(v) => *v = 42,\n        Err(e) => *e = 0,\n    }\n}\n\nlet mut x: Result<i32, i32> = Ok(2);\nmutate(&mut x);\nassert_eq!(x.unwrap(), 42);\n\nlet mut x: Result<i32, i32> = Err(13);\nmutate(&mut x);\nassert_eq!(x.unwrap_err(), 0);
    \n
    1.0.0 · Source

    pub fn map<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to Result<U, E> by applying a function to a\ncontained Ok value, leaving an Err value untouched.

    \n

    This function can be used to compose the results of two functions.

    \n
    §Examples
    \n

    Print the numbers on each line of a string multiplied by two.

    \n\n
    let line = \"1\\n2\\n3\\n4\\n\";\n\nfor num in line.lines() {\n    match num.parse::<i32>().map(|i| i * 2) {\n        Ok(n) => println!(\"{n}\"),\n        Err(..) => {}\n    }\n}
    \n
    1.41.0 · Source

    pub fn map_or<U, F>(self, default: U, f: F) -> U
    where\n F: FnOnce(T) -> U,

    Returns the provided default (if Err), or\napplies a function to the contained value (if Ok).

    \n

    Arguments passed to map_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use map_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let x: Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or(42, |v| v.len()), 3);\n\nlet x: Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or(42, |v| v.len()), 42);
    \n
    1.41.0 · Source

    pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U
    where\n D: FnOnce(E) -> U,\n F: FnOnce(T) -> U,

    Maps a Result<T, E> to U by applying fallback function default to\na contained Err value, or function f to a contained Ok value.

    \n

    This function can be used to unpack a successful result\nwhile handling an error.

    \n
    §Examples
    \n
    let k = 21;\n\nlet x : Result<_, &str> = Ok(\"foo\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 3);\n\nlet x : Result<&str, _> = Err(\"bar\");\nassert_eq!(x.map_or_else(|e| k * 2, |v| v.len()), 42);
    \n
    1.0.0 · Source

    pub fn map_err<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> F,

    Maps a Result<T, E> to Result<T, F> by applying a function to a\ncontained Err value, leaving an Ok value untouched.

    \n

    This function can be used to pass through a successful result while handling\nan error.

    \n
    §Examples
    \n
    fn stringify(x: u32) -> String { format!(\"error code: {x}\") }\n\nlet x: Result<u32, u32> = Ok(2);\nassert_eq!(x.map_err(stringify), Ok(2));\n\nlet x: Result<u32, u32> = Err(13);\nassert_eq!(x.map_err(stringify), Err(\"error code: 13\".to_string()));
    \n
    1.76.0 · Source

    pub fn inspect<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&T),

    Calls a function with a reference to the contained value if Ok.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    let x: u8 = \"4\"\n    .parse::<u8>()\n    .inspect(|x| println!(\"original: {x}\"))\n    .map(|x| x.pow(3))\n    .expect(\"failed to parse number\");
    \n
    1.76.0 · Source

    pub fn inspect_err<F>(self, f: F) -> Result<T, E>
    where\n F: FnOnce(&E),

    Calls a function with a reference to the contained value if Err.

    \n

    Returns the original result.

    \n
    §Examples
    \n
    use std::{fs, io};\n\nfn read() -> io::Result<String> {\n    fs::read_to_string(\"address.txt\")\n        .inspect_err(|e| eprintln!(\"failed to read file: {e}\"))\n}
    \n
    1.47.0 · Source

    pub fn as_deref(&self) -> Result<&<T as Deref>::Target, &E>
    where\n T: Deref,

    Converts from Result<T, E> (or &Result<T, E>) to Result<&<T as Deref>::Target, &E>.

    \n

    Coerces the Ok variant of the original Result via Deref\nand returns the new Result.

    \n
    §Examples
    \n
    let x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&str, &u32> = Ok(\"hello\");\nassert_eq!(x.as_deref(), y);\n\nlet x: Result<String, u32> = Err(42);\nlet y: Result<&str, &u32> = Err(&42);\nassert_eq!(x.as_deref(), y);
    \n
    1.47.0 · Source

    pub fn as_deref_mut(&mut self) -> Result<&mut <T as Deref>::Target, &mut E>
    where\n T: DerefMut,

    Converts from Result<T, E> (or &mut Result<T, E>) to Result<&mut <T as DerefMut>::Target, &mut E>.

    \n

    Coerces the Ok variant of the original Result via DerefMut\nand returns the new Result.

    \n
    §Examples
    \n
    let mut s = \"HELLO\".to_string();\nlet mut x: Result<String, u32> = Ok(\"hello\".to_string());\nlet y: Result<&mut str, &mut u32> = Ok(&mut s);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);\n\nlet mut i = 42;\nlet mut x: Result<String, u32> = Err(42);\nlet y: Result<&mut str, &mut u32> = Err(&mut i);\nassert_eq!(x.as_deref_mut().map(|x| { x.make_ascii_uppercase(); x }), y);
    \n
    1.0.0 · Source

    pub fn iter(&self) -> Iter<'_, T>

    Returns an iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(7);\nassert_eq!(x.iter().next(), Some(&7));\n\nlet x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter().next(), None);
    \n
    1.0.0 · Source

    pub fn iter_mut(&mut self) -> IterMut<'_, T>

    Returns a mutable iterator over the possibly contained value.

    \n

    The iterator yields one value if the result is Result::Ok, otherwise none.

    \n
    §Examples
    \n
    let mut x: Result<u32, &str> = Ok(7);\nmatch x.iter_mut().next() {\n    Some(v) => *v = 40,\n    None => {},\n}\nassert_eq!(x, Ok(40));\n\nlet mut x: Result<u32, &str> = Err(\"nothing!\");\nassert_eq!(x.iter_mut().next(), None);
    \n
    1.4.0 · Source

    pub fn expect(self, msg: &str) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message including the\npassed message, and the content of the Err.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.expect(\"Testing expect\"); // panics with `Testing expect: emergency failure`
    \n
    §Recommended Message Style
    \n

    We recommend that expect messages are used to describe the reason you\nexpect the Result should be Ok.

    \n\n
    let path = std::env::var(\"IMPORTANT_PATH\")\n    .expect(\"env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`\");
    \n

    Hint: If you’re having trouble remembering how to phrase expect\nerror messages remember to focus on the word “should” as in “env\nvariable should be set by blah” or “the given binary should be available\nand executable by the current user”.

    \n

    For more detail on expect message styles and the reasoning behind our recommendation please\nrefer to the section on “Common Message\nStyles” in the\nstd::error module docs.

    \n
    1.0.0 · Source

    pub fn unwrap(self) -> T
    where\n E: Debug,

    Returns the contained Ok value, consuming the self value.

    \n

    Because this function may panic, its use is generally discouraged.\nInstead, prefer to use pattern matching and handle the Err\ncase explicitly, or call unwrap_or, unwrap_or_else, or\nunwrap_or_default.

    \n
    §Panics
    \n

    Panics if the value is an Err, with a panic message provided by the\nErr’s value.

    \n
    §Examples
    \n

    Basic usage:

    \n\n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(x.unwrap(), 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nx.unwrap(); // panics with `emergency failure`
    \n
    1.16.0 · Source

    pub fn unwrap_or_default(self) -> T
    where\n T: Default,

    Returns the contained Ok value or a default

    \n

    Consumes the self argument then, if Ok, returns the contained\nvalue, otherwise if Err, returns the default value for that\ntype.

    \n
    §Examples
    \n

    Converts a string to an integer, turning poorly-formed strings\ninto 0 (the default value for integers). parse converts\na string to any other type that implements FromStr, returning an\nErr on error.

    \n\n
    let good_year_from_input = \"1909\";\nlet bad_year_from_input = \"190blarg\";\nlet good_year = good_year_from_input.parse().unwrap_or_default();\nlet bad_year = bad_year_from_input.parse().unwrap_or_default();\n\nassert_eq!(1909, good_year);\nassert_eq!(0, bad_year);
    \n
    1.17.0 · Source

    pub fn expect_err(self, msg: &str) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a panic message including the\npassed message, and the content of the Ok.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(10);\nx.expect_err(\"Testing expect_err\"); // panics with `Testing expect_err: 10`
    \n
    1.0.0 · Source

    pub fn unwrap_err(self) -> E
    where\n T: Debug,

    Returns the contained Err value, consuming the self value.

    \n
    §Panics
    \n

    Panics if the value is an Ok, with a custom panic message provided\nby the Ok’s value.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nx.unwrap_err(); // panics with `2`
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(x.unwrap_err(), \"emergency failure\");
    \n
    Source

    pub fn into_ok(self) -> T
    where\n E: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Ok value, but never panics.

    \n

    Unlike unwrap, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap as a maintainability safeguard that will fail\nto compile if the error type of the Result is later changed\nto an error that can actually occur.

    \n
    §Examples
    \n
    \nfn only_good_news() -> Result<String, !> {\n    Ok(\"this is fine\".into())\n}\n\nlet s: String = only_good_news().into_ok();\nprintln!(\"{s}\");
    \n
    Source

    pub fn into_err(self) -> E
    where\n T: Into<!>,

    🔬This is a nightly-only experimental API. (unwrap_infallible)

    Returns the contained Err value, but never panics.

    \n

    Unlike unwrap_err, this method is known to never panic on the\nresult types it is implemented for. Therefore, it can be used\ninstead of unwrap_err as a maintainability safeguard that will fail\nto compile if the ok type of the Result is later changed\nto a type that can actually occur.

    \n
    §Examples
    \n
    \nfn only_bad_news() -> Result<!, String> {\n    Err(\"Oops, it failed\".into())\n}\n\nlet error: String = only_bad_news().into_err();\nprintln!(\"{error}\");
    \n
    1.0.0 · Source

    pub fn and<U>(self, res: Result<U, E>) -> Result<U, E>

    Returns res if the result is Ok, otherwise returns the Err value of self.

    \n

    Arguments passed to and are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use and_then, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<&str, &str> = Ok(\"foo\");\nassert_eq!(x.and(y), Err(\"early error\"));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<&str, &str> = Err(\"late error\");\nassert_eq!(x.and(y), Err(\"not a 2\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<&str, &str> = Ok(\"different result type\");\nassert_eq!(x.and(y), Ok(\"different result type\"));
    \n
    1.0.0 · Source

    pub fn and_then<U, F>(self, op: F) -> Result<U, E>
    where\n F: FnOnce(T) -> Result<U, E>,

    Calls op if the result is Ok, otherwise returns the Err value of self.

    \n

    This function can be used for control flow based on Result values.

    \n
    §Examples
    \n
    fn sq_then_to_string(x: u32) -> Result<String, &'static str> {\n    x.checked_mul(x).map(|sq| sq.to_string()).ok_or(\"overflowed\")\n}\n\nassert_eq!(Ok(2).and_then(sq_then_to_string), Ok(4.to_string()));\nassert_eq!(Ok(1_000_000).and_then(sq_then_to_string), Err(\"overflowed\"));\nassert_eq!(Err(\"not a number\").and_then(sq_then_to_string), Err(\"not a number\"));
    \n

    Often used to chain fallible operations that may return Err.

    \n\n
    use std::{io::ErrorKind, path::Path};\n\n// Note: on Windows \"/\" maps to \"C:\\\"\nlet root_modified_time = Path::new(\"/\").metadata().and_then(|md| md.modified());\nassert!(root_modified_time.is_ok());\n\nlet should_fail = Path::new(\"/bad/path\").metadata().and_then(|md| md.modified());\nassert!(should_fail.is_err());\nassert_eq!(should_fail.unwrap_err().kind(), ErrorKind::NotFound);
    \n
    1.0.0 · Source

    pub fn or<F>(self, res: Result<T, F>) -> Result<T, F>

    Returns res if the result is Err, otherwise returns the Ok value of self.

    \n

    Arguments passed to or are eagerly evaluated; if you are passing the\nresult of a function call, it is recommended to use or_else, which is\nlazily evaluated.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"early error\");\nlet y: Result<u32, &str> = Ok(2);\nassert_eq!(x.or(y), Ok(2));\n\nlet x: Result<u32, &str> = Err(\"not a 2\");\nlet y: Result<u32, &str> = Err(\"late error\");\nassert_eq!(x.or(y), Err(\"late error\"));\n\nlet x: Result<u32, &str> = Ok(2);\nlet y: Result<u32, &str> = Ok(100);\nassert_eq!(x.or(y), Ok(2));
    \n
    1.0.0 · Source

    pub fn or_else<F, O>(self, op: O) -> Result<T, F>
    where\n O: FnOnce(E) -> Result<T, F>,

    Calls op if the result is Err, otherwise returns the Ok value of self.

    \n

    This function can be used for control flow based on result values.

    \n
    §Examples
    \n
    fn sq(x: u32) -> Result<u32, u32> { Ok(x * x) }\nfn err(x: u32) -> Result<u32, u32> { Err(x) }\n\nassert_eq!(Ok(2).or_else(sq).or_else(sq), Ok(2));\nassert_eq!(Ok(2).or_else(err).or_else(sq), Ok(2));\nassert_eq!(Err(3).or_else(sq).or_else(err), Ok(9));\nassert_eq!(Err(3).or_else(err).or_else(err), Err(3));
    \n
    1.0.0 · Source

    pub fn unwrap_or(self, default: T) -> T

    Returns the contained Ok value or a provided default.

    \n

    Arguments passed to unwrap_or are eagerly evaluated; if you are passing\nthe result of a function call, it is recommended to use unwrap_or_else,\nwhich is lazily evaluated.

    \n
    §Examples
    \n
    let default = 2;\nlet x: Result<u32, &str> = Ok(9);\nassert_eq!(x.unwrap_or(default), 9);\n\nlet x: Result<u32, &str> = Err(\"error\");\nassert_eq!(x.unwrap_or(default), default);
    \n
    1.0.0 · Source

    pub fn unwrap_or_else<F>(self, op: F) -> T
    where\n F: FnOnce(E) -> T,

    Returns the contained Ok value or computes it from a closure.

    \n
    §Examples
    \n
    fn count(x: &str) -> usize { x.len() }\n\nassert_eq!(Ok(2).unwrap_or_else(count), 2);\nassert_eq!(Err(\"foo\").unwrap_or_else(count), 3);
    \n
    1.58.0 · Source

    pub unsafe fn unwrap_unchecked(self) -> T

    Returns the contained Ok value, consuming the self value,\nwithout checking that the value is not an Err.

    \n
    §Safety
    \n

    Calling this method on an Err is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nassert_eq!(unsafe { x.unwrap_unchecked() }, 2);
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nunsafe { x.unwrap_unchecked(); } // Undefined behavior!
    \n
    1.58.0 · Source

    pub unsafe fn unwrap_err_unchecked(self) -> E

    Returns the contained Err value, consuming the self value,\nwithout checking that the value is not an Ok.

    \n
    §Safety
    \n

    Calling this method on an Ok is undefined behavior.

    \n
    §Examples
    \n
    let x: Result<u32, &str> = Ok(2);\nunsafe { x.unwrap_err_unchecked() }; // Undefined behavior!
    \n\n
    let x: Result<u32, &str> = Err(\"emergency failure\");\nassert_eq!(unsafe { x.unwrap_err_unchecked() }, \"emergency failure\");
    \n
    ",0,"longport::error::Result"],["
    Source§

    impl<T, E> Serialize for Result<T, E>
    where\n T: Serialize,\n E: Serialize,

    Source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","longport::error::Result"],["
    1.16.0 · Source§

    impl<T, U, E> Sum<Result<U, E>> for Result<T, E>
    where\n T: Sum<U>,

    Source§

    fn sum<I>(iter: I) -> Result<T, E>
    where\n I: Iterator<Item = Result<U, E>>,

    Takes each element in the Iterator: if it is an Err, no further\nelements are taken, and the Err is returned. Should no Err\noccur, the sum of all elements is returned.

    \n
    §Examples
    \n

    This sums up every integer in a vector, rejecting the sum if a negative\nelement is encountered:

    \n\n
    let f = |&x: &i32| if x < 0 { Err(\"Negative element found\") } else { Ok(x) };\nlet v = vec![1, 2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Ok(3));\nlet v = vec![1, -2];\nlet res: Result<i32, _> = v.iter().map(f).sum();\nassert_eq!(res, Err(\"Negative element found\"));
    \n
    ","Sum>","longport::error::Result"],["
    1.61.0 · Source§

    impl<T, E> Termination for Result<T, E>
    where\n T: Termination,\n E: Debug,

    Source§

    fn report(self) -> ExitCode

    Is called to get the representation of the value as status code.\nThis status code is returned to the operating system.
    ","Termination","longport::error::Result"],["
    Source§

    impl<T, E> Try for Result<T, E>

    Source§

    type Output = T

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value produced by ? when not short-circuiting.
    Source§

    type Residual = Result<Infallible, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    The type of the value passed to FromResidual::from_residual\nas part of ? when short-circuiting. Read more
    Source§

    fn from_output(output: <Result<T, E> as Try>::Output) -> Result<T, E>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Constructs the type from its Output type. Read more
    Source§

    fn branch(\n self,\n) -> ControlFlow<<Result<T, E> as Try>::Residual, <Result<T, E> as Try>::Output>

    🔬This is a nightly-only experimental API. (try_trait_v2)
    Used in ? to decide whether the operator should produce a value\n(because this returned ControlFlow::Continue)\nor propagate a value back to the caller\n(because this returned ControlFlow::Break). Read more
    ","Try","longport::error::Result"],["
    §

    impl<T, E> TryWriteable for Result<T, E>
    where\n T: Writeable,\n E: Writeable + Clone,

    §

    type Error = E

    §

    fn try_write_to<W>(\n &self,\n sink: &mut W,\n) -> Result<Result<(), <Result<T, E> as TryWriteable>::Error>, Error>
    where\n W: Write + ?Sized,

    Writes the content of this writeable to a sink. Read more
    §

    fn try_write_to_parts<S>(\n &self,\n sink: &mut S,\n) -> Result<Result<(), <Result<T, E> as TryWriteable>::Error>, Error>
    where\n S: PartsWrite + ?Sized,

    Writes the content of this writeable to a sink with parts (annotations). Read more
    §

    fn writeable_length_hint(&self) -> LengthHint

    Returns a hint for the number of UTF-8 bytes that will be written to the sink. Read more
    §

    fn try_write_to_string(\n &self,\n) -> Result<Cow<'_, str>, (<Result<T, E> as TryWriteable>::Error, Cow<'_, str>)>

    Writes the content of this writeable to a string. Read more
    §

    fn writeable_cmp_bytes(&self, other: &[u8]) -> Ordering

    Compares the content of this writeable to a byte slice. Read more
    ","TryWriteable","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Copy for Result<T, E>
    where\n T: Copy,\n E: Copy,

    ","Copy","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> Eq for Result<T, E>
    where\n T: Eq,\n E: Eq,

    ","Eq","longport::error::Result"],["
    1.0.0 · Source§

    impl<T, E> StructuralPartialEq for Result<T, E>

    ","StructuralPartialEq","longport::error::Result"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else {