Struct evtc::agent::DownContributionEvent
source · pub struct DownContributionEvent {
pub time: u64,
pub agent: AgentId,
pub time_frame: u64,
}
Expand description
Agent down contribution event.
Fields§
§time: u64
Time of registering the downed state.
agent: AgentId
Agent that entered downed state.
time_frame: u64
Time since last 90% HP in milliseconds.
Trait Implementations§
source§impl Clone for DownContributionEvent
impl Clone for DownContributionEvent
source§fn clone(&self) -> DownContributionEvent
fn clone(&self) -> DownContributionEvent
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 DownContributionEvent
impl Debug for DownContributionEvent
source§impl<'de> Deserialize<'de> for DownContributionEvent
impl<'de> Deserialize<'de> for DownContributionEvent
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 DownContributionEvent
impl Extract for DownContributionEvent
source§impl Serialize for DownContributionEvent
impl Serialize for DownContributionEvent
source§impl TryExtract for DownContributionEvent
impl TryExtract for DownContributionEvent
Auto Trait Implementations§
impl Freeze for DownContributionEvent
impl RefUnwindSafe for DownContributionEvent
impl Send for DownContributionEvent
impl Sync for DownContributionEvent
impl Unpin for DownContributionEvent
impl UnwindSafe for DownContributionEvent
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