pub struct UnmatchedOrder {Show 23 fields
pub id: String,
pub p: Decimal,
pub s: Decimal,
pub side: StreamingSide,
pub status: StreamingOrderStatus,
pub pt: Option<StreamingPersistenceType>,
pub ot: StreamingOrderType,
pub pd: u64,
pub bsp: Option<Decimal>,
pub rfo: Option<String>,
pub rfs: Option<String>,
pub rc: Option<String>,
pub rac: Option<String>,
pub md: Option<u64>,
pub cd: Option<u64>,
pub ld: Option<u64>,
pub avp: Option<Decimal>,
pub sm: Option<Decimal>,
pub sr: Option<Decimal>,
pub sl: Option<Decimal>,
pub sc: Option<Decimal>,
pub sv: Option<Decimal>,
pub lsrc: Option<LapseStatusReasonCode>,
}Expand description
Unmatched order on the streaming API.
Fields§
§id: StringBet identifier.
p: DecimalPrice.
s: DecimalSize.
side: StreamingSideSide (B=Back, L=Lay).
status: StreamingOrderStatusOrder status (E=Executable, EC=ExecutionComplete).
pt: Option<StreamingPersistenceType>Persistence type (L=Lapse, P=Persist, MOC=MarketOnClose).
Betfair can omit this on some BSP market-on-close order updates.
ot: StreamingOrderTypeOrder type (L=Limit, LOC=LimitOnClose, MOC=MarketOnClose).
pd: u64Placed date (epoch millis).
bsp: Option<Decimal>BSP liability.
rfo: Option<String>Customer strategy reference.
rfs: Option<String>Regulator reference.
rc: Option<String>Customer order reference.
rac: Option<String>Regulator auth code.
md: Option<u64>Matched date (epoch millis).
cd: Option<u64>Cancelled date (epoch millis).
ld: Option<u64>Lapsed date (epoch millis).
avp: Option<Decimal>Average price matched.
sm: Option<Decimal>Size matched.
sr: Option<Decimal>Size remaining.
sl: Option<Decimal>Size lapsed.
sc: Option<Decimal>Size cancelled.
sv: Option<Decimal>Size voided.
lsrc: Option<LapseStatusReasonCode>Lapse status reason code.
Trait Implementations§
Source§impl Clone for UnmatchedOrder
impl Clone for UnmatchedOrder
Source§fn clone(&self) -> UnmatchedOrder
fn clone(&self) -> UnmatchedOrder
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 UnmatchedOrder
impl Debug for UnmatchedOrder
Source§impl<'de> Deserialize<'de> for UnmatchedOrder
impl<'de> Deserialize<'de> for UnmatchedOrder
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 UnmatchedOrder
impl RefUnwindSafe for UnmatchedOrder
impl Send for UnmatchedOrder
impl Sync for UnmatchedOrder
impl Unpin for UnmatchedOrder
impl UnsafeUnpin for UnmatchedOrder
impl UnwindSafe for UnmatchedOrder
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