pub struct CurrentOrderSummary {Show 22 fields
pub bet_id: BetId,
pub market_id: MarketId,
pub selection_id: SelectionId,
pub handicap: Handicap,
pub price_size: PriceSize,
pub bsp_liability: Decimal,
pub side: BetfairSide,
pub status: BetfairOrderStatus,
pub persistence_type: PersistenceType,
pub order_type: BetfairOrderType,
pub placed_date: String,
pub matched_date: Option<String>,
pub average_price_matched: Option<Decimal>,
pub size_matched: Option<Decimal>,
pub size_remaining: Option<Decimal>,
pub size_lapsed: Option<Decimal>,
pub size_cancelled: Option<Decimal>,
pub size_voided: Option<Decimal>,
pub regulator_auth_code: Option<String>,
pub regulator_code: Option<String>,
pub customer_order_ref: Option<CustomerOrderRef>,
pub customer_strategy_ref: Option<CustomerStrategyRef>,
}Expand description
Current (active) order summary.
Fields§
§bet_id: BetId§market_id: MarketId§selection_id: SelectionId§handicap: Handicap§price_size: PriceSize§bsp_liability: Decimal§side: BetfairSide§status: BetfairOrderStatus§persistence_type: PersistenceType§order_type: BetfairOrderType§placed_date: String§matched_date: Option<String>§average_price_matched: Option<Decimal>§size_matched: Option<Decimal>§size_remaining: Option<Decimal>§size_lapsed: Option<Decimal>§size_cancelled: Option<Decimal>§size_voided: Option<Decimal>§regulator_auth_code: Option<String>§regulator_code: Option<String>§customer_order_ref: Option<CustomerOrderRef>§customer_strategy_ref: Option<CustomerStrategyRef>Trait Implementations§
Source§impl Clone for CurrentOrderSummary
impl Clone for CurrentOrderSummary
Source§fn clone(&self) -> CurrentOrderSummary
fn clone(&self) -> CurrentOrderSummary
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 CurrentOrderSummary
impl Debug for CurrentOrderSummary
Source§impl<'de> Deserialize<'de> for CurrentOrderSummary
impl<'de> Deserialize<'de> for CurrentOrderSummary
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 CurrentOrderSummary
impl RefUnwindSafe for CurrentOrderSummary
impl Send for CurrentOrderSummary
impl Sync for CurrentOrderSummary
impl Unpin for CurrentOrderSummary
impl UnsafeUnpin for CurrentOrderSummary
impl UnwindSafe for CurrentOrderSummary
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