pub struct AgentEffectRemove {
pub time: u64,
pub agent: AgentId,
pub tracking_id: u32,
}
Expand description
Effect information from an Event
with StateChange::EffectAgentRemove
.
Fields§
§time: u64
Time of registering the effect.
agent: AgentId
Agent related to the effect.
tracking_id: u32
Trackable id for effect remove.
Trait Implementations§
Source§impl Clone for AgentEffectRemove
impl Clone for AgentEffectRemove
Source§fn clone(&self) -> AgentEffectRemove
fn clone(&self) -> AgentEffectRemove
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 AgentEffectRemove
impl Debug for AgentEffectRemove
Source§impl<'de> Deserialize<'de> for AgentEffectRemove
impl<'de> Deserialize<'de> for AgentEffectRemove
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 AgentEffectRemove
impl Extract for AgentEffectRemove
Source§impl Serialize for AgentEffectRemove
impl Serialize for AgentEffectRemove
Source§impl TryExtract for AgentEffectRemove
impl TryExtract for AgentEffectRemove
Auto Trait Implementations§
impl Freeze for AgentEffectRemove
impl RefUnwindSafe for AgentEffectRemove
impl Send for AgentEffectRemove
impl Sync for AgentEffectRemove
impl Unpin for AgentEffectRemove
impl UnwindSafe for AgentEffectRemove
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