Struct ib_client::models::market_data::MarketData[][src]

pub struct MarketData {
    pub conid: Option<f32>,
    pub exchange: Option<String>,
    pub min_tick: Option<f32>,
    pub last: Option<f32>,
    pub last_size: Option<f32>,
    pub bid: Option<f32>,
    pub bid_size: Option<f32>,
    pub ask: Option<f32>,
    pub ask_size: Option<f32>,
}

Fields

conid: Option<f32>

IBKR Contract ID

exchange: Option<String>

Exchange

min_tick: Option<f32>last: Option<f32>last_size: Option<f32>bid: Option<f32>bid_size: Option<f32>ask: Option<f32>ask_size: Option<f32>

Implementations

impl MarketData[src]

pub fn new() -> MarketData[src]

Trait Implementations

impl Clone for MarketData[src]

impl Debug for MarketData[src]

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

impl PartialEq<MarketData> for MarketData[src]

impl Serialize for MarketData[src]

impl StructuralPartialEq for MarketData[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: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument 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.