pub struct AttackLogSummary {
pub id: Option<UserId>,
pub name: Option<String>,
pub hits: i32,
pub misses: i32,
pub damage: i32,
}
Fields§
§id: Option<UserId>
Id of the participant, could be null in stealthed attacks.
name: Option<String>
Name of the participant, could be null in stealthed attacks.
hits: i32
§misses: i32
§damage: i32
Trait Implementations§
Source§impl Clone for AttackLogSummary
impl Clone for AttackLogSummary
Source§fn clone(&self) -> AttackLogSummary
fn clone(&self) -> AttackLogSummary
Returns a copy 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 AttackLogSummary
impl Debug for AttackLogSummary
Source§impl<'de> Deserialize<'de> for AttackLogSummary
impl<'de> Deserialize<'de> for AttackLogSummary
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 AttackLogSummary
impl PartialEq for AttackLogSummary
impl StructuralPartialEq for AttackLogSummary
Auto Trait Implementations§
impl Freeze for AttackLogSummary
impl RefUnwindSafe for AttackLogSummary
impl Send for AttackLogSummary
impl Sync for AttackLogSummary
impl Unpin for AttackLogSummary
impl UnwindSafe for AttackLogSummary
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