pub struct PenaltyEvent {
pub period_id: u8,
pub min: u16,
pub time_str: Option<String>,
pub team_id: String,
pub player_id: String,
pub player_name: String,
pub outcome: PenaltyOutcome,
pub pen_num: usize,
}Fields§
§period_id: u8§min: u16§time_str: Option<String>§team_id: String§player_id: String§player_name: String§outcome: PenaltyOutcome§pen_num: usizeTrait Implementations§
Source§impl Clone for PenaltyEvent
impl Clone for PenaltyEvent
Source§fn clone(&self) -> PenaltyEvent
fn clone(&self) -> PenaltyEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PenaltyEvent
impl Debug for PenaltyEvent
Source§impl<'de> Deserialize<'de> for PenaltyEvent
impl<'de> Deserialize<'de> for PenaltyEvent
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
Auto Trait Implementations§
impl Freeze for PenaltyEvent
impl RefUnwindSafe for PenaltyEvent
impl Send for PenaltyEvent
impl Sync for PenaltyEvent
impl Unpin for PenaltyEvent
impl UnsafeUnpin for PenaltyEvent
impl UnwindSafe for PenaltyEvent
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