[][src]Struct botfair::generated_types::Order

pub struct Order {
    pub betId: BetId,
    pub orderType: String,
    pub status: String,
    pub persistenceType: String,
    pub side: String,
    pub price: Price,
    pub size: Size,
    pub bspLiability: Size,
    pub placedDate: DateTime<Utc>,
    pub avgPriceMatched: Option<Price>,
    pub sizeMatched: Option<Size>,
    pub sizeRemaining: Option<Size>,
    pub sizeLapsed: Option<Size>,
    pub sizeCancelled: Option<Size>,
    pub sizeVoided: Option<Size>,
    pub customerOrderRef: Option<CustomerOrderRef>,
    pub customerStrategyRef: Option<CustomerStrategyRef>,
}

Fields

betId: BetIdorderType: Stringstatus: StringpersistenceType: Stringside: Stringprice: Pricesize: SizebspLiability: SizeplacedDate: DateTime<Utc>avgPriceMatched: Option<Price>sizeMatched: Option<Size>sizeRemaining: Option<Size>sizeLapsed: Option<Size>sizeCancelled: Option<Size>sizeVoided: Option<Size>customerOrderRef: Option<CustomerOrderRef>customerStrategyRef: Option<CustomerStrategyRef>

Trait Implementations

impl Debug for Order[src]

impl Serialize for Order[src]

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

Auto Trait Implementations

impl Send for Order

impl Sync for Order

impl Unpin for Order

impl UnwindSafe for Order

impl RefUnwindSafe for Order

Blanket Implementations

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

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

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.

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

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

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

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

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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