pub struct AccountInfo {Show 14 fields
pub id: u64,
pub email: String,
pub system_name: Option<String>,
pub username: Option<String>,
pub block_rfq_self_match_prevention: Option<bool>,
pub creation_timestamp: Option<u64>,
pub account_type: Option<String>,
pub referrer_id: Option<String>,
pub login_enabled: Option<bool>,
pub security_keys_enabled: Option<bool>,
pub mmp_enabled: Option<bool>,
pub interuser_transfers_enabled: Option<bool>,
pub self_trading_reject_mode: Option<String>,
pub self_trading_extended_to_subaccounts: Option<bool>,
}Expand description
Shared account-level fields returned by both singular and plural account summary endpoints.
Fields§
§id: u64Account id
email: StringUser email
system_name: Option<String>System generated user nickname
username: Option<String>Account name (given by user)
block_rfq_self_match_prevention: Option<bool>When Block RFQ Self Match Prevention is enabled
creation_timestamp: Option<u64>Time at which the account was created (milliseconds since the Unix epoch)
account_type: Option<String>Account type
referrer_id: Option<String>Optional identifier of the referrer
login_enabled: Option<bool>Whether account is loginable using email and password
security_keys_enabled: Option<bool>Whether Security Key authentication is enabled
mmp_enabled: Option<bool>Whether MMP is enabled
interuser_transfers_enabled: Option<bool>true when the inter-user transfers are enabled for user
self_trading_reject_mode: Option<String>Self trading rejection behavior - reject_taker or cancel_maker
self_trading_extended_to_subaccounts: Option<bool>true if self trading rejection behavior is applied to trades between subaccounts
Trait 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 · 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