pub struct ComboMarket {
pub market_id: Option<String>,
pub slug: Option<String>,
pub title: Option<String>,
pub outcome: Option<String>,
pub image_url: Option<String>,
pub icon_url: Option<String>,
pub category: Option<String>,
pub subcategory: Option<String>,
pub tags: Vec<String>,
pub end_date: Option<String>,
pub event: Option<ComboEvent>,
}Expand description
Market metadata attached to a combo leg.
Fields§
§market_id: Option<String>Market identifier.
slug: Option<String>URL slug for the market.
title: Option<String>Market title.
outcome: Option<String>Outcome label this leg refers to.
image_url: Option<String>Market image URL.
icon_url: Option<String>Market icon URL.
category: Option<String>Market category.
subcategory: Option<String>Market subcategory.
Tags applied to the market.
end_date: Option<String>Market end date (RFC3339 UTC).
event: Option<ComboEvent>Parent event metadata.
Trait Implementations§
Source§impl Clone for ComboMarket
impl Clone for ComboMarket
Source§fn clone(&self) -> ComboMarket
fn clone(&self) -> ComboMarket
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 moreSource§impl Debug for ComboMarket
impl Debug for ComboMarket
Source§impl<'de> Deserialize<'de> for ComboMarket
impl<'de> Deserialize<'de> for ComboMarket
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 ComboMarket
impl RefUnwindSafe for ComboMarket
impl Send for ComboMarket
impl Sync for ComboMarket
impl Unpin for ComboMarket
impl UnsafeUnpin for ComboMarket
impl UnwindSafe for ComboMarket
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