#[non_exhaustive]pub struct AccountBill {Show 34 fields
pub bill_id: String,
pub inst_type: String,
pub inst_id: String,
pub ccy: String,
pub mgn_mode: String,
pub bill_type: String,
pub sub_type: String,
pub bal_chg: NumberString,
pub sz: NumberString,
pub bal: NumberString,
pub pos_bal_chg: NumberString,
pub pos_bal: NumberString,
pub px: NumberString,
pub pnl: NumberString,
pub fee: NumberString,
pub earn_amt: NumberString,
pub earn_apr: NumberString,
pub ord_id: String,
pub exec_type: String,
pub from: String,
pub to: String,
pub notes: String,
pub interest: NumberString,
pub tag: String,
pub fill_time: NumberString,
pub trade_id: String,
pub cl_ord_id: String,
pub fill_idx_px: NumberString,
pub fill_mark_px: NumberString,
pub fill_px_vol: NumberString,
pub fill_px_usd: NumberString,
pub fill_fwd_px: NumberString,
pub fill_mark_vol: NumberString,
pub ts: NumberString,
}Expand description
Account bill row.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bill_id: StringBill ID.
inst_type: StringInstrument type.
inst_id: StringInstrument ID.
ccy: StringCurrency.
mgn_mode: StringMargin mode.
bill_type: StringBill type.
sub_type: StringBill subtype.
bal_chg: NumberStringBalance change.
sz: NumberStringQuantity.
bal: NumberStringBalance after the change.
pos_bal_chg: NumberStringBalance change at the position level.
pos_bal: NumberStringBalance at the position level.
px: NumberStringPrice related to the bill subtype.
pnl: NumberStringProfit and loss.
fee: NumberStringFee.
earn_amt: NumberStringAuto earn amount.
earn_apr: NumberStringAuto earn APR.
ord_id: StringOrder ID.
exec_type: StringLiquidity taker or maker.
from: StringThe remitting account.
to: StringThe beneficiary account.
notes: StringNotes.
interest: NumberStringInterest.
tag: StringOrder tag.
fill_time: NumberStringLast filled time.
trade_id: StringLast traded ID.
cl_ord_id: StringClient Order ID.
fill_idx_px: NumberStringIndex price at the moment of trade execution.
fill_mark_px: NumberStringMark price when filled.
fill_px_vol: NumberStringImplied volatility when filled.
fill_px_usd: NumberStringOptions price when filled, in USD.
fill_fwd_px: NumberStringForward price when filled.
fill_mark_vol: NumberStringMark volatility when filled.
ts: NumberStringTimestamp (Unix milliseconds).
Trait Implementations§
Source§impl Clone for AccountBill
impl Clone for AccountBill
Source§fn clone(&self) -> AccountBill
fn clone(&self) -> AccountBill
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountBill
impl Debug for AccountBill
Source§impl<'de> Deserialize<'de> for AccountBill
impl<'de> Deserialize<'de> for AccountBill
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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§
impl Freeze for AccountBill
impl RefUnwindSafe for AccountBill
impl Send for AccountBill
impl Sync for AccountBill
impl Unpin for AccountBill
impl UnsafeUnpin for AccountBill
impl UnwindSafe for AccountBill
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more