Struct arcdps::evtc::agent::AttackTargetEvent
source · pub struct AttackTargetEvent {
pub time: u64,
pub agent: AgentId,
pub parent: AgentId,
pub targetable: i32,
}
Expand description
Agent is now an attack target.
Fields§
§time: u64
Time of registering the attack target.
agent: AgentId
Agent that is an attack target.
parent: AgentId
Parent gadget agent.
targetable: i32
Current targetable state.
Trait Implementations§
source§impl Clone for AttackTargetEvent
impl Clone for AttackTargetEvent
source§fn clone(&self) -> AttackTargetEvent
fn clone(&self) -> AttackTargetEvent
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 AttackTargetEvent
impl Debug for AttackTargetEvent
source§impl<'de> Deserialize<'de> for AttackTargetEvent
impl<'de> Deserialize<'de> for AttackTargetEvent
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<AttackTargetEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AttackTargetEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Extract for AttackTargetEvent
impl Extract for AttackTargetEvent
source§impl Serialize for AttackTargetEvent
impl Serialize for AttackTargetEvent
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryExtract for AttackTargetEvent
impl TryExtract for AttackTargetEvent
Auto Trait Implementations§
impl Freeze for AttackTargetEvent
impl RefUnwindSafe for AttackTargetEvent
impl Send for AttackTargetEvent
impl Sync for AttackTargetEvent
impl Unpin for AttackTargetEvent
impl UnwindSafe for AttackTargetEvent
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