pub struct AccountSummaryResponse {Show 15 fields
pub id: u64,
pub email: String,
pub system_name: String,
pub username: String,
pub block_rfq_self_match_prevention: bool,
pub creation_timestamp: u64,
pub account_type: String,
pub referrer_id: Option<String>,
pub login_enabled: bool,
pub security_keys_enabled: bool,
pub mmp_enabled: bool,
pub interuser_transfers_enabled: bool,
pub self_trading_reject_mode: String,
pub self_trading_extended_to_subaccounts: bool,
pub summaries: Vec<AccountResult>,
}Expand description
Account summary response containing user account information
Fields§
§id: u64Account id
email: StringUser email
system_name: StringSystem generated user nickname
username: StringAccount name (given by user)
block_rfq_self_match_prevention: boolWhen Block RFQ Self Match Prevention is enabled
creation_timestamp: u64Time at which the account was created (milliseconds since the Unix epoch)
account_type: StringAccount type
referrer_id: Option<String>Optional identifier of the referrer
login_enabled: boolWhether account is loginable using email and password
security_keys_enabled: boolWhether Security Key authentication is enabled
mmp_enabled: boolWhether MMP is enabled
interuser_transfers_enabled: booltrue when the inter-user transfers are enabled for user
self_trading_reject_mode: StringSelf trading rejection behavior - reject_taker or cancel_maker
self_trading_extended_to_subaccounts: booltrue if self trading rejection behavior is applied to trades between subaccounts
summaries: Vec<AccountResult>Aggregated list of per-currency account summaries
Trait Implementations§
Source§impl Clone for AccountSummaryResponse
impl Clone for AccountSummaryResponse
Source§fn clone(&self) -> AccountSummaryResponse
fn clone(&self) -> AccountSummaryResponse
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 AccountSummaryResponse
impl Debug for AccountSummaryResponse
Source§impl<'de> Deserialize<'de> for AccountSummaryResponse
impl<'de> Deserialize<'de> for AccountSummaryResponse
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 Display for AccountSummaryResponse
impl Display for AccountSummaryResponse
Auto Trait Implementations§
impl Freeze for AccountSummaryResponse
impl RefUnwindSafe for AccountSummaryResponse
impl Send for AccountSummaryResponse
impl Sync for AccountSummaryResponse
impl Unpin for AccountSummaryResponse
impl UnwindSafe for AccountSummaryResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.