pub struct DragonKill {
pub event_id: usize,
pub event_time: f64,
pub killer_name: String,
pub assisters: Vec<String>,
pub dragon_type: DragonType,
pub stolen: String,
}Fields§
§event_id: usize§event_time: f64§killer_name: String§assisters: Vec<String>§dragon_type: DragonType§stolen: StringTrait Implementations§
Source§impl Clone for DragonKill
impl Clone for DragonKill
Source§fn clone(&self) -> DragonKill
fn clone(&self) -> DragonKill
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 DragonKill
impl Debug for DragonKill
Source§impl<'de> Deserialize<'de> for DragonKill
impl<'de> Deserialize<'de> for DragonKill
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 DragonKill
impl PartialEq for DragonKill
Source§fn eq(&self, other: &DragonKill) -> bool
fn eq(&self, other: &DragonKill) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DragonKill
Auto Trait Implementations§
impl Freeze for DragonKill
impl RefUnwindSafe for DragonKill
impl Send for DragonKill
impl Sync for DragonKill
impl Unpin for DragonKill
impl UnsafeUnpin for DragonKill
impl UnwindSafe for DragonKill
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