pub struct GameSummary {
pub scoring: Vec<PeriodScoring>,
pub shootout: Option<Vec<ShootoutAttempt>>,
pub three_stars: Option<Vec<ThreeStar>>,
pub penalties: Vec<PeriodPenalties>,
}Expand description
Game summary with scoring and penalties
Fields§
§scoring: Vec<PeriodScoring>§shootout: Option<Vec<ShootoutAttempt>>§three_stars: Option<Vec<ThreeStar>>§penalties: Vec<PeriodPenalties>Trait Implementations§
Source§impl Clone for GameSummary
impl Clone for GameSummary
Source§fn clone(&self) -> GameSummary
fn clone(&self) -> GameSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GameSummary
impl Debug for GameSummary
Source§impl<'de> Deserialize<'de> for GameSummary
impl<'de> Deserialize<'de> for GameSummary
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
Source§impl PartialEq for GameSummary
impl PartialEq for GameSummary
Source§impl Serialize for GameSummary
impl Serialize for GameSummary
impl StructuralPartialEq for GameSummary
Auto Trait Implementations§
impl Freeze for GameSummary
impl RefUnwindSafe for GameSummary
impl Send for GameSummary
impl Sync for GameSummary
impl Unpin for GameSummary
impl UnwindSafe for GameSummary
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