Struct BuffApply
pub struct BuffApply {
pub common: CommonEvent,
pub duration: i32,
pub stack_active: bool,
pub stack_id: u32,
}Expand description
Buff apply.
Fields§
§common: CommonEventCommon combat event information.
duration: i32Duration applied in milliseconds.
stack_active: boolWhether stack is active.
stack_id: u32Buff stack (instance) id.
Trait Implementations§
§impl AsMut<CommonEvent> for BuffApply
impl AsMut<CommonEvent> for BuffApply
§fn as_mut(&mut self) -> &mut CommonEvent
fn as_mut(&mut self) -> &mut CommonEvent
Converts this type into a mutable reference of the (usually inferred) input type.
§impl AsRef<CommonEvent> for BuffApply
impl AsRef<CommonEvent> for BuffApply
§fn as_ref(&self) -> &CommonEvent
fn as_ref(&self) -> &CommonEvent
Converts this type into a shared reference of the (usually inferred) input type.
§impl<'de> Deserialize<'de> for BuffApply
impl<'de> Deserialize<'de> for BuffApply
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuffApply, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuffApply, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<BuffApply> for CommonEvent
impl From<BuffApply> for CommonEvent
§fn from(value: BuffApply) -> CommonEvent
fn from(value: BuffApply) -> CommonEvent
Converts to this type from the input type.
§impl Serialize for BuffApply
impl Serialize for BuffApply
§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 BuffApply
impl TryExtract for BuffApply
§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 BuffApply
impl RefUnwindSafe for BuffApply
impl Send for BuffApply
impl Sync for BuffApply
impl Unpin for BuffApply
impl UnsafeUnpin for BuffApply
impl UnwindSafe for BuffApply
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