[][src]Struct cxmr_exchanges::Trade

pub struct Trade {
    pub id: Option<i64>,
    pub order: Order,
    pub timestamp: u64,
}

Currency trade details.

Fields

id: Option<i64>

Trade ID, unique only for a market.

order: Order

Trade order.

timestamp: u64

Trade timestamp.

Trait Implementations

impl Clone for Trade[src]

impl Debug for Trade[src]

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

impl Eq for Trade[src]

impl Ord for Trade[src]

impl PartialEq<Trade> for Trade[src]

impl PartialOrd<Trade> for Trade[src]

impl Serialize for Trade[src]

impl StructuralPartialEq for Trade[src]

Auto Trait Implementations

impl RefUnwindSafe for Trade

impl Send for Trade

impl Sync for Trade

impl Unpin for Trade

impl UnwindSafe for Trade

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.