pub struct AccountInfo {Show 22 fields
pub account_identifier: i64,
pub username: String,
pub collateral: Decimal,
pub free_collateral: Decimal,
pub total_account_value: Decimal,
pub total_position_size: Decimal,
pub initial_margin_requirement: Decimal,
pub maintenance_margin_requirement: Decimal,
pub margin_fraction: Option<Decimal>,
pub open_margin_fraction: Option<Decimal>,
pub liquidating: bool,
pub backstop_provider: bool,
pub positions: Vec<Position>,
pub taker_fee: Decimal,
pub maker_fee: Decimal,
pub leverage: Decimal,
pub position_limit: Option<Decimal>,
pub position_limit_used: Option<Decimal>,
pub use_ftt_collateral: bool,
pub charge_interest_on_negative_usd: bool,
pub spot_margin_enabled: bool,
pub spot_lending_enabled: bool,
}Fields§
§account_identifier: i64§username: String§collateral: Decimal§free_collateral: Decimal§total_account_value: Decimal§total_position_size: Decimal§initial_margin_requirement: Decimal§maintenance_margin_requirement: Decimal§margin_fraction: Option<Decimal>§open_margin_fraction: Option<Decimal>§liquidating: bool§backstop_provider: bool§positions: Vec<Position>§taker_fee: Decimal§maker_fee: Decimal§leverage: Decimal§position_limit: Option<Decimal>§position_limit_used: Option<Decimal>§use_ftt_collateral: bool§charge_interest_on_negative_usd: bool§spot_margin_enabled: bool§spot_lending_enabled: boolTrait Implementations§
Source§impl Clone for AccountInfo
impl Clone for AccountInfo
Source§fn clone(&self) -> AccountInfo
fn clone(&self) -> AccountInfo
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 AccountInfo
impl Debug for AccountInfo
Source§impl<'de> Deserialize<'de> for AccountInfo
impl<'de> Deserialize<'de> for AccountInfo
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 AccountInfo
impl RefUnwindSafe for AccountInfo
impl Send for AccountInfo
impl Sync for AccountInfo
impl Unpin for AccountInfo
impl UnsafeUnpin for AccountInfo
impl UnwindSafe for AccountInfo
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