pub struct Attacker {
pub id: UserId,
pub name: String,
pub item: Option<Item>,
}
Expand description
This value could be null in stealthed attacks.
Fields§
§id: UserId
§name: String
§item: Option<Item>
This object could be null if there was no item being used in this turn or during this effect.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Attacker
impl<'de> Deserialize<'de> for Attacker
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
impl StructuralPartialEq for Attacker
Auto Trait Implementations§
impl Freeze for Attacker
impl RefUnwindSafe for Attacker
impl Send for Attacker
impl Sync for Attacker
impl Unpin for Attacker
impl UnwindSafe for Attacker
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