pub enum RecordSplitKind {
Show 18 variants
Home,
Away,
Left,
LeftHome,
LeftAway,
Right,
RightHome,
RightAway,
LastTen,
ExtraInnings,
OneRun,
Winners,
Day,
Night,
Grass,
Turf,
xWinLoss,
xWinLossSeason,
}Variants§
Home
Games as the home team
Away
Games as the away team
Left
Games in which you are “left” (?) A
LeftHome
Games in which you are “left” && you are the home team
LeftAway
Games in which you are “left” && you are the away team
Right
Games in which you are “right” (?)
RightHome
Games in which you are “right” and the home team
RightAway
Games in which you are “right” and the away team
LastTen
Last 10 games of the season as of the current date.
Note that early in the season, Record::games_played may be < 10
ExtraInnings
Games that went to extra innings.
OneRun
Games won or lost by one run
Winners
what?
Day
Day games
Night
Night games
Grass
Games played on grass
Turf
Games played on turf
xWinLoss
Expected record using pythagorean expected win loss pct
This value is calculated as a percentage and multiplied by the number of games that have been played.
xWinLossSeason
Expected record for the season using pythagorean expected win loss pct
This value is calculated as a percentage and multiplied by the number of games in the season.
Trait Implementations§
Source§impl Clone for RecordSplitKind
impl Clone for RecordSplitKind
Source§fn clone(&self) -> RecordSplitKind
fn clone(&self) -> RecordSplitKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RecordSplitKind
impl Debug for RecordSplitKind
Source§impl<'de> Deserialize<'de> for RecordSplitKind
impl<'de> Deserialize<'de> for RecordSplitKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Hash for RecordSplitKind
impl Hash for RecordSplitKind
Source§impl PartialEq for RecordSplitKind
impl PartialEq for RecordSplitKind
impl Copy for RecordSplitKind
impl StructuralPartialEq for RecordSplitKind
Auto Trait Implementations§
impl Freeze for RecordSplitKind
impl RefUnwindSafe for RecordSplitKind
impl Send for RecordSplitKind
impl Sync for RecordSplitKind
impl Unpin for RecordSplitKind
impl UnsafeUnpin for RecordSplitKind
impl UnwindSafe for RecordSplitKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more