pub struct GoalEvent {
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 player_2_name: Option<String>,
pub goal_type: GoalType,
pub score: Option<[u8; 2]>,
}Fields§
§period_id: u8§min: u16§time_str: Option<String>§team_id: String§player_id: String§player_name: String§player_2_name: Option<String>§goal_type: GoalType§score: Option<[u8; 2]>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GoalEvent
impl<'de> Deserialize<'de> for GoalEvent
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 GoalEvent
impl RefUnwindSafe for GoalEvent
impl Send for GoalEvent
impl Sync for GoalEvent
impl Unpin for GoalEvent
impl UnsafeUnpin for GoalEvent
impl UnwindSafe for GoalEvent
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