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