[][src]Enum retrosheet::event::Info

pub enum Info {
    VisitingTeam,
    HomeTeam,
    Site,
    Date,
    Number,
    StartTime,
    DayNight,
    DesignatedHitter,
    Pitches,
    UmpireHome,
    Umpire1B,
    Umpire2B,
    Umpire3B,
    FieldCondition,
    Precipitation,
    Sky,
    Temperature,
    WindDirection,
    WindSpeed,
    GameLength,
    Attendance,
    WinningPitcher,
    LosingPitcher,
    SavePitcher,
    GameWinningRBI,
    EditTime,
    ScoreMethod,
    InputProgramVersion,
    Inputter,
    InputTime,
    Scorer,
    Translator,
    Unknown,
}

A key describing the type of metadata about the game.

Variants

VisitingTeam

The visiting team code.

HomeTeam

The home team code.

Site

Where the game was played, given by park code.

Date

The date on which the game was played.

Number

Which game this is during a day. If the game is just a single game, this is 0. Otherwise, this is 1 or 2 depending on which game during a double header this is.

StartTime

What time the game started.

DayNight

Whether the game was during the day or at night.

DesignatedHitter

Whether or not the designated hitter is being used.

Pitches

The extend of pitch information available. Either pitches (full detail), count (just the pitch count) or none (nothing) are the values.

UmpireHome

The home umpire's ID.

Umpire1B

The first base umpire's ID.

Umpire2B

The second base umpire's ID.

Umpire3B

The third base umpire's ID.

FieldCondition

Field condition: one of dry, soaked, wet or unknown.

Precipitation

Precipitation: one of drizzle, none, rain, showers, snow, or unknown.

Sky

The status of the sky: one of cloudy, dome, night, overcast, sunny, or unknown.

Temperature

The temperature during the game, in degrees Fahrenheit. 0 is the unknown value because it's unlikely a game would ever be played in 0F weather.

WindDirection

The wind direction: one of fromcf, fromlf, fromrf, ltor, rtol, tocf, tolf, torf, or unknown.

WindSpeed

The windspeed, with unknown being indicated by -1.

GameLength

The length of the game in minutes. The key in actual Retrosheet data will be timeofgame.

Attendance

The attendance of the game.

WinningPitcher

The winning pitcher.

LosingPitcher

The losing pitcher.

SavePitcher

If applicable, the pitcher who got the save.

GameWinningRBI

When used as an official statistic, the game winning RBI.

EditTime

When the game was processed.

ScoreMethod

How the game was scored.

InputProgramVersion

The version of the program used to score the program.

Inputter

The person who inputted the data.

InputTime

The time at which the data was input.

Scorer

The scorer of the game.

Translator

The translator of the data.

Unknown

An unknown metadata type.

Trait Implementations

impl<'_> From<&'_ str> for Info[src]

impl Clone for Info[src]

impl Copy for Info[src]

impl Eq for Info[src]

impl PartialEq<Info> for Info[src]

impl Debug for Info[src]

impl Hash for Info[src]

impl StructuralPartialEq for Info[src]

impl StructuralEq for Info[src]

Auto Trait Implementations

impl Send for Info

impl Sync for Info

impl Unpin for Info

impl UnwindSafe for Info

impl RefUnwindSafe for Info

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]