pub struct HookEventsConfig {
pub pre_tool_use: Vec<HookMatcher>,
pub post_tool_use: Vec<HookMatcher>,
pub post_tool_use_failure: Vec<HookMatcher>,
pub session_start: Vec<HookMatcher>,
pub session_end: Vec<HookMatcher>,
pub user_prompt_submit: Vec<HookMatcher>,
pub notification: Vec<HookMatcher>,
pub stop: Vec<HookMatcher>,
pub subagent_start: Vec<HookMatcher>,
pub subagent_stop: Vec<HookMatcher>,
}Fields§
§pre_tool_use: Vec<HookMatcher>§post_tool_use: Vec<HookMatcher>§post_tool_use_failure: Vec<HookMatcher>§session_start: Vec<HookMatcher>§session_end: Vec<HookMatcher>§user_prompt_submit: Vec<HookMatcher>§notification: Vec<HookMatcher>§stop: Vec<HookMatcher>§subagent_start: Vec<HookMatcher>§subagent_stop: Vec<HookMatcher>Implementations§
Trait Implementations§
Source§impl Clone for HookEventsConfig
impl Clone for HookEventsConfig
Source§fn clone(&self) -> HookEventsConfig
fn clone(&self) -> HookEventsConfig
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 HookEventsConfig
impl Debug for HookEventsConfig
Source§impl Default for HookEventsConfig
impl Default for HookEventsConfig
Source§fn default() -> HookEventsConfig
fn default() -> HookEventsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HookEventsConfig
impl<'de> Deserialize<'de> for HookEventsConfig
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 HookEventsConfig
impl RefUnwindSafe for HookEventsConfig
impl Send for HookEventsConfig
impl Sync for HookEventsConfig
impl Unpin for HookEventsConfig
impl UnsafeUnpin for HookEventsConfig
impl UnwindSafe for HookEventsConfig
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