pub struct ClearedOrderSummary {Show 24 fields
pub event_type_id: Option<EventTypeId>,
pub event_id: Option<EventId>,
pub market_id: Option<MarketId>,
pub selection_id: Option<SelectionId>,
pub handicap: Option<Handicap>,
pub bet_id: Option<BetId>,
pub placed_date: Option<String>,
pub persistence_type: Option<PersistenceType>,
pub order_type: Option<BetfairOrderType>,
pub side: Option<BetfairSide>,
pub item_description: Option<ItemDescription>,
pub bet_outcome: Option<String>,
pub price_requested: Option<Decimal>,
pub settled_date: Option<String>,
pub last_matched_date: Option<String>,
pub bet_count: Option<u32>,
pub commission: Option<Decimal>,
pub price_matched: Option<Decimal>,
pub price_reduced: Option<bool>,
pub size_settled: Option<Decimal>,
pub profit: Option<Decimal>,
pub size_cancelled: Option<Decimal>,
pub customer_order_ref: Option<CustomerOrderRef>,
pub customer_strategy_ref: Option<CustomerStrategyRef>,
}Expand description
Cleared (settled/voided/lapsed/cancelled) order summary.
Fields§
§event_type_id: Option<EventTypeId>§event_id: Option<EventId>§market_id: Option<MarketId>§selection_id: Option<SelectionId>§handicap: Option<Handicap>§bet_id: Option<BetId>§placed_date: Option<String>§persistence_type: Option<PersistenceType>§order_type: Option<BetfairOrderType>§side: Option<BetfairSide>§item_description: Option<ItemDescription>§bet_outcome: Option<String>§price_requested: Option<Decimal>§settled_date: Option<String>§last_matched_date: Option<String>§bet_count: Option<u32>§commission: Option<Decimal>§price_matched: Option<Decimal>§price_reduced: Option<bool>§size_settled: Option<Decimal>§profit: Option<Decimal>§size_cancelled: Option<Decimal>§customer_order_ref: Option<CustomerOrderRef>§customer_strategy_ref: Option<CustomerStrategyRef>Trait Implementations§
Source§impl Clone for ClearedOrderSummary
impl Clone for ClearedOrderSummary
Source§fn clone(&self) -> ClearedOrderSummary
fn clone(&self) -> ClearedOrderSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClearedOrderSummary
impl Debug for ClearedOrderSummary
Source§impl<'de> Deserialize<'de> for ClearedOrderSummary
impl<'de> Deserialize<'de> for ClearedOrderSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClearedOrderSummary
impl RefUnwindSafe for ClearedOrderSummary
impl Send for ClearedOrderSummary
impl Sync for ClearedOrderSummary
impl Unpin for ClearedOrderSummary
impl UnsafeUnpin for ClearedOrderSummary
impl UnwindSafe for ClearedOrderSummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more