pub struct CardEvent {
pub period_id: u8,
pub min: u16,
pub time_str: Option<String>,
pub player_name: Option<String>,
pub reason: Option<String>,
pub team_id: String,
pub card_type: Card,
}Fields§
§period_id: u8§min: u16§time_str: Option<String>§player_name: Option<String>§reason: Option<String>§team_id: String§card_type: CardTrait Implementations§
Source§impl<'de> Deserialize<'de> for CardEvent
impl<'de> Deserialize<'de> for CardEvent
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 CardEvent
impl RefUnwindSafe for CardEvent
impl Send for CardEvent
impl Sync for CardEvent
impl Unpin for CardEvent
impl UnsafeUnpin for CardEvent
impl UnwindSafe for CardEvent
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