[][src]Struct dtf::Update

pub struct Update {
    pub ts: u64,
    pub seq: u32,
    pub is_trade: bool,
    pub is_bid: bool,
    pub price: f32,
    pub size: f32,
}

Fields

ts: u64seq: u32is_trade: boolis_bid: boolprice: f32size: f32

Implementations

impl Update[src]

pub fn to_json(&self) -> String[src]

pub fn to_csv(&self) -> String[src]

Trait Implementations

impl Clone for Update[src]

impl Debug for Update[src]

impl Eq for Update[src]

impl Ord for Update[src]

impl PartialEq<Update> for Update[src]

impl PartialOrd<Update> for Update[src]

impl StructuralPartialEq for Update[src]

Auto Trait Implementations

impl RefUnwindSafe for Update

impl Send for Update

impl Sync for Update

impl Unpin for Update

impl UnwindSafe for Update

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.