pub enum ComboLegStatus {
Open,
ResolvedPartial,
ResolvedWin,
ResolvedLoss,
Unknown,
}Expand description
Resolution state of a single leg within a combinatorial position.
Variants§
Open
The leg’s market has not resolved.
ResolvedPartial
The leg’s market resolved with a fractional payout (e.g. a 50/50 void).
ResolvedWin
The leg resolved in the holder’s favour.
ResolvedLoss
The leg resolved against the holder.
Unknown
Unrecognized leg status (forward-compat).
Trait Implementations§
Source§impl Clone for ComboLegStatus
impl Clone for ComboLegStatus
Source§fn clone(&self) -> ComboLegStatus
fn clone(&self) -> ComboLegStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ComboLegStatus
Source§impl Debug for ComboLegStatus
impl Debug for ComboLegStatus
Source§impl<'de> Deserialize<'de> for ComboLegStatus
impl<'de> Deserialize<'de> for ComboLegStatus
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
Source§impl Display for ComboLegStatus
impl Display for ComboLegStatus
impl Eq for ComboLegStatus
Source§impl PartialEq for ComboLegStatus
impl PartialEq for ComboLegStatus
Source§impl Serialize for ComboLegStatus
impl Serialize for ComboLegStatus
impl StructuralPartialEq for ComboLegStatus
Auto Trait Implementations§
impl Freeze for ComboLegStatus
impl RefUnwindSafe for ComboLegStatus
impl Send for ComboLegStatus
impl Sync for ComboLegStatus
impl Unpin for ComboLegStatus
impl UnsafeUnpin for ComboLegStatus
impl UnwindSafe for ComboLegStatus
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.