pub struct GameMatchup {Show 25 fields
pub id: i64,
pub season: i64,
pub game_type: GameType,
pub limited_scoring: bool,
pub game_date: String,
pub venue: LocalizedString,
pub venue_location: LocalizedString,
pub start_time_utc: String,
pub eastern_utc_offset: String,
pub venue_utc_offset: String,
pub venue_timezone: String,
pub period_descriptor: PeriodDescriptor,
pub tv_broadcasts: Vec<TvBroadcast>,
pub game_state: GameState,
pub game_schedule_state: GameScheduleState,
pub special_event: Option<SpecialEvent>,
pub away_team: MatchupTeam,
pub home_team: MatchupTeam,
pub shootout_in_use: bool,
pub max_periods: i32,
pub reg_periods: i32,
pub ot_in_use: bool,
pub ties_in_use: bool,
pub summary: Option<GameSummary>,
pub clock: Option<GameClock>,
}Expand description
Game matchup/landing response
Fields§
§id: i64§season: i64§game_type: GameType§limited_scoring: bool§game_date: String§venue: LocalizedString§venue_location: LocalizedString§start_time_utc: String§eastern_utc_offset: String§venue_utc_offset: String§venue_timezone: String§period_descriptor: PeriodDescriptor§tv_broadcasts: Vec<TvBroadcast>§game_state: GameState§game_schedule_state: GameScheduleState§special_event: Option<SpecialEvent>§away_team: MatchupTeam§home_team: MatchupTeam§shootout_in_use: bool§max_periods: i32§reg_periods: i32§ot_in_use: bool§ties_in_use: bool§summary: Option<GameSummary>§clock: Option<GameClock>Trait Implementations§
Source§impl Clone for GameMatchup
impl Clone for GameMatchup
Source§fn clone(&self) -> GameMatchup
fn clone(&self) -> GameMatchup
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 GameMatchup
impl Debug for GameMatchup
Source§impl<'de> Deserialize<'de> for GameMatchup
impl<'de> Deserialize<'de> for GameMatchup
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 GameMatchup
impl RefUnwindSafe for GameMatchup
impl Send for GameMatchup
impl Sync for GameMatchup
impl Unpin for GameMatchup
impl UnwindSafe for GameMatchup
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