[][src]Enum retrosheet::event::PlayModifier

pub enum PlayModifier {
    HitWithLocation(HitTypeOption<HitLocation>),
    HitLocation(HitLocation),
    AppealPlay,
    BuntFoul,
    BuntGroundedIntoDoublePlay,
    BatterInterference,
    LineDriveBunt,
    BattingOutOfTurn,
    BuntPoppedIntoDoublePlay,
    RunnerHitByBattedBall,
    CalledThirdStrike,
    CourtesyBatter,
    CourtesyFielder,
    CourtesyRunner,
    UnspecifiedDoublePlay,
    Error(u8),
    FlyBallDoublePlay,
    FanInterference,
    Foul,
    ForceOut,
    GroundBallDoublePlay,
    GroundBallTriplePlay,
    InfieldFlyRule,
    Interference,
    InsideTheParkHR,
    LinedIntoDoublePlay,
    LinedIntoTriplePlay,
    ManagerChallenge,
    NoDoublePlay,
    Obstruction,
    RunnerPassedAnotherRunner,
    Relay(u8),
    RunnerInterference,
    SacrificeFly,
    SacrificeHit,
    Throw,
    ThrowToBase(u8),
    UnspecifiedTriplePlay,
    UmpireInterference,
    UmpireReview,
}

A play event modifier.

Variants

HitWithLocation(HitTypeOption<HitLocation>)

A hit of some kind, possibly with a specific location.

HitLocation(HitLocation)

Just a hit location (used with home runs).

AppealPlay

appeal play

BuntFoul

bunt hit foul (usually with two strikes)

BuntGroundedIntoDoublePlay

bunt grounded into double play

BatterInterference

batter interference

LineDriveBunt

line drive bunt

BattingOutOfTurn

batting out of turn

BuntPoppedIntoDoublePlay

bunt popped into double play

RunnerHitByBattedBall

runner hit by batted ball

CalledThirdStrike

called third strike

CourtesyBatter

courtesy batter

CourtesyFielder

courtesy fielder

CourtesyRunner

courtesy runner

UnspecifiedDoublePlay

unspecified double play

Error(u8)

error on $

FlyBallDoublePlay

fly ball double play

FanInterference

fan interference

Foul

foul

ForceOut

force out

GroundBallDoublePlay

ground ball double play

GroundBallTriplePlay

ground ball triple play

InfieldFlyRule

infield fly rule

Interference

interference

InsideTheParkHR

inside the park home run

LinedIntoDoublePlay

lined into double play

LinedIntoTriplePlay

lined into triple play

ManagerChallenge

manager challenge of call on the field

NoDoublePlay

no double play credited for this play

Obstruction

obstruction (fielder obstructing a runner)

RunnerPassedAnotherRunner

a runner passed another runner and was called out

Relay(u8)

relay throw from the initial fielder to $ with no out made

RunnerInterference

runner interference

SacrificeFly

sacrifice fly

SacrificeHit

sacrifice hit (bunt)

Throw

throw

ThrowToBase(u8)

throw to base %

UnspecifiedTriplePlay

unspecified triple play

UmpireInterference

umpire interference

UmpireReview

umpire review of call on the field

Trait Implementations

impl Clone for PlayModifier[src]

impl Copy for PlayModifier[src]

impl Eq for PlayModifier[src]

impl PartialEq<PlayModifier> for PlayModifier[src]

impl Debug for PlayModifier[src]

impl Hash for PlayModifier[src]

impl StructuralPartialEq for PlayModifier[src]

impl StructuralEq for PlayModifier[src]

Auto Trait Implementations

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]