[][src]Struct cxmr_snapshots::SnapshotId

pub struct SnapshotId {
    pub market: Market,
    pub timestamp: u32,
    pub interval: u32,
    pub duration: u32,
}

Snapshot identifier.

Fields

market: Market

Market identifier.

timestamp: u32

Snapshot start timestamp in seconds.

interval: u32

Snapshot candle interval in seconds.

duration: u32

Snapshot duration in seconds.

Trait Implementations

impl Clone for SnapshotId[src]

impl Debug for SnapshotId[src]

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

impl Eq for SnapshotId[src]

impl Hash for SnapshotId[src]

impl PartialEq<SnapshotId> for SnapshotId[src]

impl Serialize for SnapshotId[src]

impl StructuralEq for SnapshotId[src]

impl StructuralPartialEq for SnapshotId[src]

Auto Trait Implementations

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.