[][src]Struct fxoanda_definitions::MT4TransactionHeartbeat

pub struct MT4TransactionHeartbeat {
    pub otype: Option<String>,
    pub time: Option<DateTime<Utc>>,
}

Fields

otype: Option<String>

The string "HEARTBEAT"

time: Option<DateTime<Utc>>

The date/time when the TransactionHeartbeat was created. format: The RFC 3339 representation is a string conforming to https://tools.ietf.org/rfc/rfc3339.txt. The Unix representation is a string representing the number of seconds since the Unix Epoch (January 1st, 1970 at UTC). The value is a fractional number, where the fractional part represents a fraction of a second (up to nine decimal places).

Methods

impl MT4TransactionHeartbeat[src]

pub fn new() -> MT4TransactionHeartbeat[src]

pub fn with_otype(self, x: String) -> Self[src]

The string "HEARTBEAT"

  • param String
  • return MT4TransactionHeartbeat

pub fn with_time(self, x: DateTime<Utc>) -> Self[src]

The date/time when the TransactionHeartbeat was created. format: The RFC 3339 representation is a string conforming to https://tools.ietf.org/rfc/rfc3339.txt. The Unix representation is a string representing the number of seconds since the Unix Epoch (January 1st, 1970 at UTC). The value is a fractional number, where the fractional part represents a fraction of a second (up to nine decimal places).

  • param DateTime
  • return MT4TransactionHeartbeat

Trait Implementations

impl Debug for MT4TransactionHeartbeat[src]

impl Serialize for MT4TransactionHeartbeat[src]

impl<'de> Deserialize<'de> for MT4TransactionHeartbeat[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]