pub struct GamePace {Show 19 fields
pub total_game_time: TimeDelta,
pub innings_played: f64,
pub hits: usize,
pub runs: usize,
pub plate_appearances: usize,
pub num_pitchers: usize,
pub num_pitches: usize,
pub games: usize,
pub nine_inning_games: usize,
pub nine_inning_games_completed_early: usize,
pub nine_inning_games_scheduled: usize,
pub nine_inning_games_without_extra_innings: usize,
pub seven_inning_games: usize,
pub seven_inning_games_completed_early: usize,
pub seven_inning_games_scheduled: usize,
pub seven_inning_games_without_extra_innings: usize,
pub extra_inning_games: usize,
pub season: SeasonId,
pub time_per_seven_inning_game: TimeDelta,
/* private fields */
}Fields§
§total_game_time: TimeDelta§innings_played: f64Can have a .5 for a half-inning played
hits: usize§runs: usize§plate_appearances: usize§num_pitchers: usize§num_pitches: usize§games: usize§nine_inning_games: usize§nine_inning_games_completed_early: usize§nine_inning_games_scheduled: usize§nine_inning_games_without_extra_innings: usize§seven_inning_games: usize§seven_inning_games_completed_early: usize§seven_inning_games_scheduled: usize§seven_inning_games_without_extra_innings: usize§extra_inning_games: usize§season: SeasonId§time_per_seven_inning_game: TimeDeltaTrait Implementations§
Source§impl<'de> Deserialize<'de> for GamePace
impl<'de> Deserialize<'de> for GamePace
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 StructuralPartialEq for GamePace
Auto Trait Implementations§
impl Freeze for GamePace
impl RefUnwindSafe for GamePace
impl Send for GamePace
impl Sync for GamePace
impl Unpin for GamePace
impl UnsafeUnpin for GamePace
impl UnwindSafe for GamePace
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<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