pub struct HookOutput {
pub continue_execution: Option<bool>,
pub suppress_output: Option<bool>,
pub stop_reason: Option<String>,
pub decision: Option<String>,
pub reason: Option<String>,
pub system_message: Option<String>,
pub hook_specific_output: Option<HookSpecificOutput>,
pub message: Option<String>,
pub permission_update: Option<PermissionUpdate>,
pub block: Option<bool>,
pub notification: Option<Notification>,
}Expand description
Full hook output (mirrors TS syncHookResponseSchema).
Fields§
§continue_execution: Option<bool>§suppress_output: Option<bool>§stop_reason: Option<String>§decision: Option<String>§reason: Option<String>§system_message: Option<String>§hook_specific_output: Option<HookSpecificOutput>§message: Option<String>§permission_update: Option<PermissionUpdate>§block: Option<bool>§notification: Option<Notification>Trait Implementations§
Source§impl Clone for HookOutput
impl Clone for HookOutput
Source§fn clone(&self) -> HookOutput
fn clone(&self) -> HookOutput
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 HookOutput
impl Debug for HookOutput
Source§impl<'de> Deserialize<'de> for HookOutput
impl<'de> Deserialize<'de> for HookOutput
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 HookOutput
impl RefUnwindSafe for HookOutput
impl Send for HookOutput
impl Sync for HookOutput
impl Unpin for HookOutput
impl UnsafeUnpin for HookOutput
impl UnwindSafe for HookOutput
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