pub struct AccountInfo {
pub unified_margin_status: UnifiedMarginStatus,
pub margin_mode: MarginMode,
pub is_master_trader: bool,
pub spot_hedging_status: SpotHedgingStatus,
pub updated_time: Timestamp,
}Fields§
§unified_margin_status: UnifiedMarginStatusAccount status
margin_mode: MarginModeISOLATED_MARGIN, REGULAR_MARGIN, PORTFOLIO_MARGIN
is_master_trader: boolWhether this account is a leader (copytrading). true, false
spot_hedging_status: SpotHedgingStatusWhether the unified account enables Spot hedging. ON, OFF
updated_time: TimestampAccount data updated timestamp (ms)
Trait Implementations§
Source§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
Source§impl PartialEq for AccountInfo
impl PartialEq for AccountInfo
Source§fn eq(&self, other: &AccountInfo) -> bool
fn eq(&self, other: &AccountInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AccountInfo
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