pub struct SkillHooks {
pub pre_execute: Option<String>,
pub post_execute: Option<String>,
pub on_error: Option<String>,
}Expand description
Lifecycle hooks for skills.
Fields§
§pre_execute: Option<String>Run before skill starts.
post_execute: Option<String>Run after skill completes.
on_error: Option<String>Run on error.
Trait Implementations§
Source§impl Clone for SkillHooks
impl Clone for SkillHooks
Source§fn clone(&self) -> SkillHooks
fn clone(&self) -> SkillHooks
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 SkillHooks
impl Debug for SkillHooks
Source§impl Default for SkillHooks
impl Default for SkillHooks
Source§fn default() -> SkillHooks
fn default() -> SkillHooks
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SkillHooks
impl<'de> Deserialize<'de> for SkillHooks
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 PartialEq for SkillHooks
impl PartialEq for SkillHooks
Source§impl Serialize for SkillHooks
impl Serialize for SkillHooks
impl StructuralPartialEq for SkillHooks
Auto Trait Implementations§
impl Freeze for SkillHooks
impl RefUnwindSafe for SkillHooks
impl Send for SkillHooks
impl Sync for SkillHooks
impl Unpin for SkillHooks
impl UnsafeUnpin for SkillHooks
impl UnwindSafe for SkillHooks
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