Struct evtc::agent::TargetableEvent
source · pub struct TargetableEvent {
pub time: u64,
pub agent: AgentId,
pub targetable: i32,
}
Expand description
Agent targetibility change.
Fields§
§time: u64
Time of registering the tergetability change.
agent: AgentId
Agent that had their targetability changed.
targetable: i32
New targetable state.
Trait Implementations§
source§impl Clone for TargetableEvent
impl Clone for TargetableEvent
source§fn clone(&self) -> TargetableEvent
fn clone(&self) -> TargetableEvent
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 TargetableEvent
impl Debug for TargetableEvent
source§impl<'de> Deserialize<'de> for TargetableEvent
impl<'de> Deserialize<'de> for TargetableEvent
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 Extract for TargetableEvent
impl Extract for TargetableEvent
source§impl Serialize for TargetableEvent
impl Serialize for TargetableEvent
source§impl TryExtract for TargetableEvent
impl TryExtract for TargetableEvent
Auto Trait Implementations§
impl Freeze for TargetableEvent
impl RefUnwindSafe for TargetableEvent
impl Send for TargetableEvent
impl Sync for TargetableEvent
impl Unpin for TargetableEvent
impl UnwindSafe for TargetableEvent
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