[][src]Struct botfair::generated_types::CurrentOrderSummary

pub struct CurrentOrderSummary {
    pub betId: BetId,
    pub marketId: MarketId,
    pub selectionId: SelectionId,
    pub handicap: Handicap,
    pub priceSize: PriceSize,
    pub bspLiability: Size,
    pub side: String,
    pub status: String,
    pub persistenceType: String,
    pub orderType: String,
    pub placedDate: DateTime<Utc>,
    pub matchedDate: DateTime<Utc>,
    pub averagePriceMatched: Option<Price>,
    pub sizeMatched: Option<Size>,
    pub sizeRemaining: Option<Size>,
    pub sizeLapsed: Option<Size>,
    pub sizeCancelled: Option<Size>,
    pub sizeVoided: Option<Size>,
    pub regulatorAuthCode: Option<String>,
    pub regulatorCode: Option<String>,
    pub customerOrderRef: Option<String>,
    pub customerStrategyRef: Option<String>,
}

Summary of a current order.

Fields

betId: BetIdmarketId: MarketIdselectionId: SelectionIdhandicap: HandicappriceSize: PriceSizebspLiability: Sizeside: Stringstatus: StringpersistenceType: StringorderType: StringplacedDate: DateTime<Utc>matchedDate: DateTime<Utc>averagePriceMatched: Option<Price>sizeMatched: Option<Size>sizeRemaining: Option<Size>sizeLapsed: Option<Size>sizeCancelled: Option<Size>sizeVoided: Option<Size>regulatorAuthCode: Option<String>regulatorCode: Option<String>customerOrderRef: Option<String>customerStrategyRef: Option<String>

Trait Implementations

impl Debug for CurrentOrderSummary[src]

impl Serialize for CurrentOrderSummary[src]

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

Auto Trait Implementations

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