pub struct AccountItem {Show 13 fields
pub account_category: Option<AccountCategory>,
pub account_type: Option<AccountType>,
pub balance: Option<String>,
pub currency: Option<String>,
pub demo_account: Option<DemoAccount>,
pub landing_company_short: Option<String>,
pub loginid: Option<String>,
pub market_type: Option<MarketType>,
pub mt5_group: Option<String>,
pub product: Option<Product>,
pub status: Option<Value>,
pub sub_account_type: Option<SubAccountType>,
pub transfers: Option<Transfers>,
}
Fields§
§account_category: Option<AccountCategory>
Category of the account.\n
account_type: Option<AccountType>
Type of the account.\n
balance: Option<String>
Account balance.\n
currency: Option<String>
Default account currency.\n
demo_account: Option<DemoAccount>
0 for real accounts; 1 for virtual/demo accounts.\n
landing_company_short: Option<String>
Landing company shortcode of the Trading account.\n
loginid: Option<String>
Account identifier used for system transfers.\n
market_type: Option<MarketType>
Market type of account.\n
mt5_group: Option<String>
The group of mt5 account.\n
product: Option<Product>
Product name that Deriv offer\n
status: Option<Value>
The status of account.\n
sub_account_type: Option<SubAccountType>
Sub account type\n
transfers: Option<Transfers>
Type of transfers allowed between the account and the currently authorized account.\n
Trait Implementations§
Source§impl Clone for AccountItem
impl Clone for AccountItem
Source§fn clone(&self) -> AccountItem
fn clone(&self) -> AccountItem
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 AccountItem
impl Debug for AccountItem
Source§impl<'de> Deserialize<'de> for AccountItem
impl<'de> Deserialize<'de> for AccountItem
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 AccountItem
impl RefUnwindSafe for AccountItem
impl Send for AccountItem
impl Sync for AccountItem
impl Unpin for AccountItem
impl UnwindSafe for AccountItem
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