pub struct SkillUnloadEvent {
pub skill_name: String,
pub tool_names: Vec<String>,
pub duration_ms: u64,
}Expand description
Skill unload event payload
Fields§
§skill_name: StringSkill name
tool_names: Vec<String>Tool names that were unloaded
duration_ms: u64How long the skill was loaded (milliseconds)
Trait Implementations§
Source§impl Clone for SkillUnloadEvent
impl Clone for SkillUnloadEvent
Source§fn clone(&self) -> SkillUnloadEvent
fn clone(&self) -> SkillUnloadEvent
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 moreSource§impl Debug for SkillUnloadEvent
impl Debug for SkillUnloadEvent
Source§impl<'de> Deserialize<'de> for SkillUnloadEvent
impl<'de> Deserialize<'de> for SkillUnloadEvent
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
Auto Trait Implementations§
impl Freeze for SkillUnloadEvent
impl RefUnwindSafe for SkillUnloadEvent
impl Send for SkillUnloadEvent
impl Sync for SkillUnloadEvent
impl Unpin for SkillUnloadEvent
impl UnsafeUnpin for SkillUnloadEvent
impl UnwindSafe for SkillUnloadEvent
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