pub struct MarketInfo {
pub key: String,
pub last_update: Option<DateTime<Utc>>,
}Expand description
A market entry with its key and last update time (without odds).
Fields§
§key: StringMarket key (e.g., “h2h”, “spreads”, “totals”).
last_update: Option<DateTime<Utc>>When the market was last updated.
Trait Implementations§
Source§impl Clone for MarketInfo
impl Clone for MarketInfo
Source§fn clone(&self) -> MarketInfo
fn clone(&self) -> MarketInfo
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 MarketInfo
impl Debug for MarketInfo
Source§impl<'de> Deserialize<'de> for MarketInfo
impl<'de> Deserialize<'de> for MarketInfo
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 MarketInfo
impl RefUnwindSafe for MarketInfo
impl Send for MarketInfo
impl Sync for MarketInfo
impl Unpin for MarketInfo
impl UnsafeUnpin for MarketInfo
impl UnwindSafe for MarketInfo
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