[−][src]Enum retrosheet::event::Event
A record describing something about an MLB game.
Variants
A twelve character ID record which identifies the date, home team, and number of the game.
Fields of GameId
id: String
The game ID.
A record identifying version information. The version is obsolete and can be ignored.
Fields of Version
version: u8
The version of the game data.
A record identifying game information.
Fields of Info
A record identifying a starter in the game.
Fields of Start
player: Player
The player starting.
A record identifying a substitution of a player in the game.
Fields of Sub
player: Player
The player being subbed in.
A record identifying a play occurring during a game.
Fields of Play
inning: u8
The inning, an integer starting at 1
team: Team
The team which is batting.
player: PlayerId
The player at the plate.
count: Option<(u8, u8)>
The count on the batter at the time of the play. Some older games may not have this information, hence why this is optional.
pitches: Vec<Pitch>
The pitches the batter saw. Some games don't have this data, hence this may be empty.
event: PlayEvent
A description of the events of the play.
A record describing some data about the game. Currently there's only earned run information but in the future more records may exist.
Fields of Data
data_type: DataEventType
The data record type.
player: PlayerId
The player to which the record applies.
value: String
The actual data value.
A record describing a comment of some sort. Can be just an additional note to an unusual play, or a description of a review.
Fields of Comment
comment: String
The comment itself.
A record describing a batting adjustment; i.e. when a batter bats from a side that is unexpected.
Fields of BattingAdjustment
A record describing a pitching adjustment; i.e. when a pitcher pitches from a side that is unexpected. This has actually only ever happened once, but it is possible.
Fields of PitchingAdjustment
A record used when teams bat out of order. The normal assumption is that proper lineup sequence is followed, therefore, it is necessary to have some special indication when this is violated.
Fields of LineupAdjustment
Trait Implementations
impl Clone for Event
[src]
impl PartialEq<Event> for Event
[src]
impl Debug for Event
[src]
impl StructuralPartialEq for Event
[src]
Auto Trait Implementations
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
impl RefUnwindSafe for Event
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,