pub struct GameData {Show 14 fields
pub datetime: GameDateTime,
pub status: GameStatus,
pub teams: HomeAwaySplits<Team>,
pub players: FxHashMap<PersonId, Ballplayer<()>>,
pub venue: Venue,
pub official_venue: VenueId,
pub weather: GameWeather,
pub info: GameInfo,
pub review: GameReview,
pub live_tags: GameLiveTags,
pub probable_pitchers: HomeAwaySplits<NamedPerson>,
pub official_scorer: NamedPerson,
pub primary_datacaster: NamedPerson,
pub mound_visits: HomeAwaySplits<ResourceUsage>,
/* private fields */
}Fields§
§datetime: GameDateTime§status: GameStatus§teams: HomeAwaySplits<Team>§players: FxHashMap<PersonId, Ballplayer<()>>§venue: Venue§official_venue: VenueId§weather: GameWeather§info: GameInfo§review: GameReview§probable_pitchers: HomeAwaySplits<NamedPerson>§official_scorer: NamedPerson§primary_datacaster: NamedPerson§mound_visits: HomeAwaySplits<ResourceUsage>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GameData
impl<'de> Deserialize<'de> for GameData
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
impl Eq for GameData
impl StructuralPartialEq for GameData
Auto Trait Implementations§
impl Freeze for GameData
impl RefUnwindSafe for GameData
impl Send for GameData
impl Sync for GameData
impl Unpin for GameData
impl UnsafeUnpin for GameData
impl UnwindSafe for GameData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more