Skip to main content

Module asset

Module asset 

Source
Expand description

Asset related types

Structs§

AssetContext
Asset context
BankCard
A linked bank card
BankCardAuthorization
An authorization attached to a bank card (eDDA, bank securities account, FPS, …)
Coupon
A coupon (reward card)
CouponAiBenefit
Terms of an AI benefit coupon (ai_benefit)
CouponCash
Terms of a cash coupon (cash)
CouponCoffee
Terms of a coffee coupon (coffee_coupon)
CouponCoffeeStore
A store of a coffee coupon
CouponCommission
Commission terms of a commission coupon (commission)
CouponCrypto
Terms of a crypto coupon (crypto)
CouponCryptoCounter
A counter (security) of a crypto coupon
CouponCryptoFallback
Fallback of a crypto coupon
CouponFinanceInterest
Terms of a finance interest coupon (finance_interest)
CouponFundDeduct
Terms of a fund deduction coupon (fund_deduct)
CouponIpo
Terms of an IPO coupon (ipo)
CouponIpoCommission
Terms of an IPO commission coupon (ipo_commission)
CouponIpoInterest
Terms of an IPO interest coupon (ipo_interest)
CouponOrder
An order a coupon was applied to
CouponPlatformFeeDeduct
Terms of a platform fee deduction coupon (platform_fee_deduct)
CouponQuote
Terms of a quote (market data) or fundamental-data coupon (quote / fundamental)
CouponStock
Terms of a stock coupon (stock)
CouponStockCounter
An optional counter of a stock coupon
CouponStockFallback
Fallback of a stock coupon
CouponStockFragment
Terms of a stock fragment coupon (stock_fragment)
CouponsResponse
Response for the coupon list
Deposit
A deposit record
DepositsResponse
One page of deposit records
EddaApplication
An eDDA authorization application of a bank card
GetCouponsOptions
Options for the coupon list
GetDepositsOptions
Options for the deposit list
GetRewardRecordsOptions
Options for the reward record list
GetStatementListOptions
Options for get statement data list request
GetStatementListResponse
Response for get statement data list request
GetStatementOptions
Options for get statement data download url request
GetStatementResponse
Response for get statement data download url request
GetStockTransfersOptions
Options for the stock transfer-in and transfer-out lists
GetWithdrawalsOptions
Options for the withdrawal list
RewardRecord
A reward record from the reward center
RewardRecordsResponse
Response for the reward record list
StatementItem
Statement data info
StockTransferIn
A stock transfer-in application (another broker → this account)
StockTransferInResponse
Response for the stock transfer-in list
StockTransferOut
A stock transfer-out application (this account → another broker)
TransferStock
One stock in a stock transfer application
Withdrawal
A withdrawal record
WithdrawalsResponse
Response for the withdrawal list

Enums§

AuthorizationStatus
Status of a bank-card authorization (eDDA, bank securities account, FPS) or of an eDDA application
BankCardBindState
Binding state of a bank card
BankCardStatus
Verification status of a bank card
BankCardWitnessState
Witness (in-person / video verification) state of a bank card
CommissionUnlimitedType
Kind of commission coupon (the server’s unlimited code)
CouponOrderType
Which orders of a coupon to list
CouponStatus
Status of a coupon
CouponTargetType
Instrument type a coupon applies to (the server’s bz_types / underlying_type)
DepositState
State of a deposit record
IpoCouponTargetType
IPO subscription type an IPO commission coupon applies to
QuoteInvestorType
Investor type a quote coupon applies to
RewardDeliverStatus
Delivery status of an issued prize (only meaningful when the reward status is RewardStatus::Issued and the reward is a gift)
RewardDetailKind
Which upstream detail object a reward record came from
RewardStatus
Status of a reward record
RewardType
Type of a reward record
StatementType
Statement type
StockTransferInState
State of a stock transfer-in application (another broker → this account)
StockTransferOutState
State of a stock transfer-out application (this account → another broker)
TransferStockState
State of one stock inside a stock transfer application
WithdrawalState
State of a withdrawal record

Constants§

APP_STATE_NOTICED
The app_state of a stock transfer application when the user tapped “I have notified the broker” in the app (the user’s own confirmation, not a Longbridge action)

Traits§

StockTransferStateFilter
The state enum of a stock transfer list: StockTransferInState or StockTransferOutState (sealed)

Type Aliases§

GetStockTransfersInOptions
Options for crate::AssetContext::stock_transfers_in
GetStockTransfersOutOptions
Options for crate::AssetContext::stock_transfers_out