pub struct MarketDescription {Show 20 fields
pub betting_type: MarketBettingType,
pub bsp_market: bool,
pub clarifications: Option<String>,
pub discount_allowed: bool,
pub each_way_divisor: Option<Decimal>,
pub market_base_rate: Decimal,
pub market_time: String,
pub market_type: Ustr,
pub persistence_enabled: bool,
pub race_type: Option<Ustr>,
pub regulator: Ustr,
pub rules: Option<String>,
pub rules_has_date: Option<bool>,
pub settle_time: Option<String>,
pub suspend_time: String,
pub turn_in_play_enabled: bool,
pub wallet: Option<Ustr>,
pub bet_delay_models: Option<Vec<BetDelayModel>>,
pub line_range_info: Option<LineRangeInfo>,
pub price_ladder_description: Option<PriceLadderDescription>,
}Expand description
Detailed market description.
Fields§
§betting_type: MarketBettingType§bsp_market: bool§clarifications: Option<String>§discount_allowed: bool§each_way_divisor: Option<Decimal>§market_base_rate: Decimal§market_time: String§market_type: Ustr§persistence_enabled: bool§race_type: Option<Ustr>§regulator: Ustr§rules: Option<String>§rules_has_date: Option<bool>§settle_time: Option<String>§suspend_time: String§turn_in_play_enabled: bool§wallet: Option<Ustr>§bet_delay_models: Option<Vec<BetDelayModel>>§line_range_info: Option<LineRangeInfo>§price_ladder_description: Option<PriceLadderDescription>Trait Implementations§
Source§impl Clone for MarketDescription
impl Clone for MarketDescription
Source§fn clone(&self) -> MarketDescription
fn clone(&self) -> MarketDescription
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 MarketDescription
impl Debug for MarketDescription
Source§impl<'de> Deserialize<'de> for MarketDescription
impl<'de> Deserialize<'de> for MarketDescription
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 MarketDescription
impl RefUnwindSafe for MarketDescription
impl Send for MarketDescription
impl Sync for MarketDescription
impl Unpin for MarketDescription
impl UnsafeUnpin for MarketDescription
impl UnwindSafe for MarketDescription
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