pub struct Linescore {
pub copyright: Copyright,
pub current_inning: Inning,
pub inning_half: InningHalf,
pub scheduled_innings: usize,
pub innings: Vec<LinescoreInningRecord>,
pub rhe_totals: HomeAway<RHE>,
pub offense: LinescoreOffense,
pub defense: LinescoreDefense,
pub count: AtBatCount,
pub note: Option<String>,
/* private fields */
}Expand description
An inning by inning record of the game’s scoring.
This is pretty much a 1:1 correlation of the:
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10| 11|| R | H | E |
LAD | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 1 || 5 | 11| 0 |
TOR | 0 | 0 | 3 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 || 4 | 14| 0 |You’re used to seeing.
Fields§
§copyright: Copyright§current_inning: Inning§inning_half: InningHalf§scheduled_innings: usize§innings: Vec<LinescoreInningRecord>§rhe_totals: HomeAway<RHE>§offense: LinescoreOffense§defense: LinescoreDefense§count: AtBatCount§note: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Linescore
impl<'de> Deserialize<'de> for Linescore
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Linescore
Auto Trait Implementations§
impl Freeze for Linescore
impl RefUnwindSafe for Linescore
impl Send for Linescore
impl Sync for Linescore
impl Unpin for Linescore
impl UnsafeUnpin for Linescore
impl UnwindSafe for Linescore
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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