[][src]Struct fxoanda::AccountProperties

pub struct AccountProperties {
    pub mt4_account_id: Option<i32>,
    pub id: Option<String>,
    pub tags: Option<Vec<String>>,
}

Fields

mt4_account_id: Option<i32>

The Account's associated MT4 Account ID. This field will not be present if the Account is not an MT4 account.

id: Option<String>

The Account's identifier format: "-"-delimited string with format "{siteID}-{divisionID}-{userID}-{accountNumber}"

tags: Option<Vec<String>>

The Account's tags

Methods

impl AccountProperties[src]

pub fn new() -> AccountProperties[src]

pub fn with_mt4_account_id(self, x: i32) -> AccountProperties[src]

The Account's associated MT4 Account ID. This field will not be present if the Account is not an MT4 account.

  • param i32
  • return AccountProperties

pub fn with_id(self, x: String) -> AccountProperties[src]

The Account's identifier format: "-"-delimited string with format "{siteID}-{divisionID}-{userID}-{accountNumber}"

  • param String
  • return AccountProperties

pub fn with_tags(self, x: Vec<String>) -> AccountProperties[src]

The Account's tags

  • param Vec
  • return AccountProperties

Trait Implementations

impl<'de> Deserialize<'de> for AccountProperties[src]

impl Serialize for AccountProperties[src]

impl Debug for AccountProperties[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T