Skip to main content

PitchingStats

Struct PitchingStats 

Source
pub struct PitchingStats {
Show 55 fields pub summary: Option<String>, pub note: Option<String>, pub games_played: Option<i64>, pub games_started: Option<i64>, pub fly_outs: Option<i64>, pub ground_outs: Option<i64>, pub air_outs: Option<i64>, pub runs: Option<i64>, pub doubles: Option<i64>, pub triples: Option<i64>, pub home_runs: Option<i64>, pub strike_outs: Option<i64>, pub base_on_balls: Option<i64>, pub intentional_walks: Option<i64>, pub hits: Option<i64>, pub hit_by_pitch: Option<i64>, pub at_bats: Option<i64>, pub caught_stealing: Option<i64>, pub stolen_bases: Option<i64>, pub stolen_base_percentage: Option<String>, pub number_of_pitches: Option<i64>, pub era: Option<String>, pub innings_pitched: Option<String>, pub wins: Option<i64>, pub losses: Option<i64>, pub saves: Option<i64>, pub save_opportunities: Option<i64>, pub holds: Option<i64>, pub blown_saves: Option<i64>, pub earned_runs: Option<i64>, pub batters_faced: Option<i64>, pub outs: Option<i64>, pub games_pitched: Option<i64>, pub complete_games: Option<i64>, pub shutouts: Option<i64>, pub pitches_thrown: Option<i64>, pub balls: Option<i64>, pub strikes: Option<i64>, pub strike_percentage: Option<String>, pub hit_batsmen: Option<i64>, pub balks: Option<i64>, pub wild_pitches: Option<i64>, pub pickoffs: Option<i64>, pub rbi: Option<i64>, pub games_finished: Option<i64>, pub runs_scored_per9: Option<String>, pub home_runs_per9: Option<String>, pub inherited_runners: Option<i64>, pub inherited_runners_scored: Option<i64>, pub catchers_interference: Option<i64>, pub sac_bunts: Option<i64>, pub sac_flies: Option<i64>, pub passed_ball: Option<i64>, pub pop_outs: Option<i64>, pub line_outs: Option<i64>,
}

Fields§

§summary: Option<String>§note: Option<String>§games_played: Option<i64>§games_started: Option<i64>§fly_outs: Option<i64>§ground_outs: Option<i64>§air_outs: Option<i64>§runs: Option<i64>§doubles: Option<i64>§triples: Option<i64>§home_runs: Option<i64>§strike_outs: Option<i64>§base_on_balls: Option<i64>§intentional_walks: Option<i64>§hits: Option<i64>§hit_by_pitch: Option<i64>§at_bats: Option<i64>§caught_stealing: Option<i64>§stolen_bases: Option<i64>§stolen_base_percentage: Option<String>§number_of_pitches: Option<i64>§era: Option<String>§innings_pitched: Option<String>§wins: Option<i64>§losses: Option<i64>§saves: Option<i64>§save_opportunities: Option<i64>§holds: Option<i64>§blown_saves: Option<i64>§earned_runs: Option<i64>§batters_faced: Option<i64>§outs: Option<i64>§games_pitched: Option<i64>§complete_games: Option<i64>§shutouts: Option<i64>§pitches_thrown: Option<i64>§balls: Option<i64>§strikes: Option<i64>§strike_percentage: Option<String>§hit_batsmen: Option<i64>§balks: Option<i64>§wild_pitches: Option<i64>§pickoffs: Option<i64>§rbi: Option<i64>§games_finished: Option<i64>§runs_scored_per9: Option<String>§home_runs_per9: Option<String>§inherited_runners: Option<i64>§inherited_runners_scored: Option<i64>§catchers_interference: Option<i64>§sac_bunts: Option<i64>§sac_flies: Option<i64>§passed_ball: Option<i64>§pop_outs: Option<i64>§line_outs: Option<i64>

Trait Implementations§

Source§

impl Debug for PitchingStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for PitchingStats

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for PitchingStats

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,