Struct StackResetEvent
pub struct StackResetEvent {
pub time: u64,
pub agent: AgentId,
pub duration: i32,
pub stack_id: u32,
}Expand description
Buff stack reset.
Fields§
§time: u64Time of registering the stack reset.
agent: AgentIdAgent that the stack reset happened to.
duration: i32New duration to reset to.
stack_id: u32Stack id.
Trait Implementations§
§impl Clone for StackResetEvent
impl Clone for StackResetEvent
§fn clone(&self) -> StackResetEvent
fn clone(&self) -> StackResetEvent
Returns a duplicate 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 more§impl Debug for StackResetEvent
impl Debug for StackResetEvent
§impl<'de> Deserialize<'de> for StackResetEvent
impl<'de> Deserialize<'de> for StackResetEvent
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StackResetEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StackResetEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Extract for StackResetEvent
impl Extract for StackResetEvent
§impl Serialize for StackResetEvent
impl Serialize for StackResetEvent
§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
§impl TryExtract for StackResetEvent
impl TryExtract for StackResetEvent
§fn can_extract(event: &Event) -> bool
fn can_extract(event: &Event) -> bool
Checks whether
Self can be extracted from the event.§fn try_extract(event: &Event) -> Option<Self>
fn try_extract(event: &Event) -> Option<Self>
Attempts to extract
Self from the combat event.Auto Trait Implementations§
impl Freeze for StackResetEvent
impl RefUnwindSafe for StackResetEvent
impl Send for StackResetEvent
impl Sync for StackResetEvent
impl Unpin for StackResetEvent
impl UnwindSafe for StackResetEvent
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