pub struct Bookmaker {
pub key: String,
pub title: String,
pub last_update: Option<DateTime<Utc>>,
pub markets: Vec<MarketOdds>,
pub link: Option<String>,
pub sid: Option<String>,
}Expand description
A bookmaker with odds for various markets.
Fields§
§key: StringUnique key for the bookmaker.
title: StringHuman-readable bookmaker title.
last_update: Option<DateTime<Utc>>When the odds were last updated.
markets: Vec<MarketOdds>Markets offered by this bookmaker.
link: Option<String>Optional deep link to the bookmaker’s page.
sid: Option<String>Optional site ID.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bookmaker
impl<'de> Deserialize<'de> for Bookmaker
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 Bookmaker
impl RefUnwindSafe for Bookmaker
impl Send for Bookmaker
impl Sync for Bookmaker
impl Unpin for Bookmaker
impl UnsafeUnpin for Bookmaker
impl UnwindSafe for Bookmaker
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