pub struct Game {Show 13 fields
pub game_pk: u64,
pub link: String,
pub season: String,
pub game_date: String,
pub official_date: String,
pub status: Status,
pub teams: Teams,
pub linescore: Option<ScheduleLinescore>,
pub venue: Option<IdNameLink>,
pub content: Option<Content>,
pub is_tie: Option<bool>,
pub game_number: Option<u64>,
pub calendar_event_id: Option<String>,
}Fields§
§game_pk: u64§link: String§season: String§game_date: String§official_date: String§status: Status§teams: Teams§linescore: Option<ScheduleLinescore>Only present if hydrate=linescore is used.
venue: Option<IdNameLink>§content: Option<Content>§is_tie: Option<bool>§game_number: Option<u64>§calendar_event_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Game
impl<'de> Deserialize<'de> for Game
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 Game
impl RefUnwindSafe for Game
impl Send for Game
impl Sync for Game
impl Unpin for Game
impl UnsafeUnpin for Game
impl UnwindSafe for Game
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