[−][src]Enum retrosheet::event::PlayDescription
A description of the basic play in a play event.
Variants
A balk.
A sequence of fielder plays. Just one means a flyout/unassisted groundout, while multiple means the last fielder made the out and the others got the assist.
The boolean in the fielder play notes whether the play was an error.
If the putout is made at a base not normally covered by the fielder the base runner is given
explicitly in the second field. If not, the field is left as None
.
The batter grounded into a double play, with the base the first out was recorded on.
The batter grounded into a triple play. We provide the assists for the first out (and the base the first out was recorded on), the second out, and the putout.
Fields of GITP
FieldersChoice(Fielder)
A fielder's choice, where the fielder given is the fielder first fielding the ball. The batter advance to first is understood if it is not given explicitly.
Error(Fielder)
An error by a fielder.
FoulFlyBallError(Fielder)
An error by a fielder attempting to field a foul fly ball.
A strikeout. May or may not be accompanied by an additional event, for example if there was a dropped third strike. May also be accompanied by a fielder sequence if the dropped third strike resulted in a putout.
Walk(Option<Box<PlayDescription>>)
A walk. May or may not be accompanied by an additional event, describing potential base running events.
A passed ball.
A wild pitch.
A single (optionally) handled by a fielder or fielders.
A double (optionally) handled by a fielder or fielders.
A triple (optionally) handled by a fielder or fielders.
A home run.
An inside-the-park home run, with relevant fielder informatino.
No play was made. Used when a substitution immediately follows.
Stolen base(s), with the base information. If the boolean is set to true, that means it was a steal of home where the run is unearned.
The player was hit by a pitch.
CatcherInterference(Fielder)
Catcher interference. Technically, this also covers interference by the pitcher or first baseman for interfering with the batter, so there is still a fielder option. But usually the fielder will be the catcher.
A ground rule double. No fielder specified.
An intentional walk.
Defensive indifference: no attempt to prevent a stolen base. The advance field specifies which base the runner went to.
A base runner advance that is not covered by one of the other codes. A comment may be given explaining the advance.
PickOff(Base, Vec<FieldParameter>)
A runner was picked off a base, along with a throw and the fielder making the put out. May instead just be an error (e.g. PO1(E3)), negating the out.
A pick off that resulted in a caught stealing off of some base, along with a sequence of throws that resulted in the out. Note that there wouldn't be errors here since the implication is that they were caught.
A normal caught stealing event.
A batter lining into a double play. Should be followed with an LDP
modifier, but we don't
verify this.
Fields of LinedIntoDoublePlay
A batter lining into a triple play. Should be followed with an LTP
modifier, but we don't
verify this.
Fields of LinedIntoTriplePlay
Trait Implementations
impl Clone for PlayDescription
[src]
fn clone(&self) -> PlayDescription
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for PlayDescription
[src]
impl PartialEq<PlayDescription> for PlayDescription
[src]
fn eq(&self, other: &PlayDescription) -> bool
[src]
fn ne(&self, other: &PlayDescription) -> bool
[src]
impl Debug for PlayDescription
[src]
impl Hash for PlayDescription
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl StructuralPartialEq for PlayDescription
[src]
impl StructuralEq for PlayDescription
[src]
Auto Trait Implementations
impl Send for PlayDescription
impl Sync for PlayDescription
impl Unpin for PlayDescription
impl UnwindSafe for PlayDescription
impl RefUnwindSafe for PlayDescription
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,