Mt5LoginListItem

Struct Mt5LoginListItem 

Source
pub struct Mt5LoginListItem {
Show 27 fields pub account_type: Option<AccountType>, pub balance: Option<f64>, pub client_kyc_status: Option<ClientKycStatus>, pub country: Option<String>, pub currency: Option<String>, pub display_balance: Option<String>, pub eligible_to_migrate: Option<Value>, pub email: Option<String>, pub error: Option<Error>, pub group: Option<String>, pub is_main_agent: Option<bool>, pub landing_company: Option<String>, pub landing_company_short: Option<LandingCompanyShort>, pub leverage: Option<f64>, pub login: Option<String>, pub market_type: Option<MarketType>, pub name: Option<String>, pub product: Option<Product>, pub request_timestamp: Option<i64>, pub rights: Option<Rights>, pub server: Option<String>, pub server_info: Option<ServerInfo>, pub status: Option<Value>, pub sub_account_category: Option<SubAccountCategory>, pub sub_account_type: Option<SubAccountType>, pub webtrader_url: Option<String>, pub white_label_links: Option<WhiteLabelLinks>,
}

Fields§

§account_type: Option<AccountType>

Account type.\n

§balance: Option<f64>

Balance of the MT5 account.\n

§client_kyc_status: Option<ClientKycStatus>

[Optional] Pertains to client KYC. Returned only if the client fails to meet the requirements, including proof of identity (POI), validity of the tax identification number (TIN), and proof of address (POA).\n

§country: Option<String>

Residence of the MT5 account.\n

§currency: Option<String>

Currency of the MT5 account.\n

§display_balance: Option<String>

Account balance, formatted to appropriate decimal places.\n

§eligible_to_migrate: Option<Value>

[Optional] Determines the eligibility status for migrating a client account based on verification and account type.\n

§email: Option<String>

Email address of the MT5 account.\n

§error: Option<Error>

Error in MT5 account details.\n

§group: Option<String>

Group type of the MT5 account, e.g. demo\svg_financial\n

§is_main_agent: Option<bool>

Indicate if the account is a main agent - an IB account\n

§landing_company: Option<String>

Broker name\n

§landing_company_short: Option<LandingCompanyShort>

Landing company shortcode of the MT5 account.\n

§leverage: Option<f64>

Leverage of the MT5 account (1 to 1000).\n

§login: Option<String>

Login of MT5 account.\n

§market_type: Option<MarketType>

Market type\n

§name: Option<String>

Name of the owner of the MT5 account.\n

§product: Option<Product>

Product name that Deriv offer\n

§request_timestamp: Option<i64>

Timestamp of the latest MT5 request.\n

§rights: Option<Rights>

Rights assigned to the MT5 account.\n

§server: Option<String>

Trade server name of the MT5 account.\n

§server_info: Option<ServerInfo>

Trade server information.\n

§status: Option<Value>

MT5 account status.\n

§sub_account_category: Option<SubAccountCategory>

Sub account category refer to the additional risk management\n

§sub_account_type: Option<SubAccountType>

Sub account type refer to different offerings that we have for mt5\n

§webtrader_url: Option<String>

MT5 webtrader url for each mt5 platform\n

§white_label_links: Option<WhiteLabelLinks>

Links to access MT5 application for different platforms.\n

Trait Implementations§

Source§

impl Clone for Mt5LoginListItem

Source§

fn clone(&self) -> Mt5LoginListItem

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Mt5LoginListItem

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Mt5LoginListItem

Source§

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 Serialize for Mt5LoginListItem

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,