pub struct UnderAttackEvent {
pub target: Option<UnderAttackEventTarget>,
}
Fields§
§target: Option<UnderAttackEventTarget>
Trait Implementations§
Source§impl Clone for UnderAttackEvent
impl Clone for UnderAttackEvent
Source§fn clone(&self) -> UnderAttackEvent
fn clone(&self) -> UnderAttackEvent
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 UnderAttackEvent
impl Debug for UnderAttackEvent
Source§impl<'de> Deserialize<'de> for UnderAttackEvent
impl<'de> Deserialize<'de> for UnderAttackEvent
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 UnderAttackEvent
impl PartialEq for UnderAttackEvent
Source§impl Serialize for UnderAttackEvent
impl Serialize for UnderAttackEvent
impl StructuralPartialEq for UnderAttackEvent
Auto Trait Implementations§
impl Freeze for UnderAttackEvent
impl RefUnwindSafe for UnderAttackEvent
impl Send for UnderAttackEvent
impl Sync for UnderAttackEvent
impl Unpin for UnderAttackEvent
impl UnwindSafe for UnderAttackEvent
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