pub struct PreToolUseOutput {
pub hook_event_name: &'static str,
pub permission_decision: Option<Effect>,
pub permission_decision_reason: Option<String>,
pub updated_input: Option<Value>,
pub additional_context: Option<String>,
}Expand description
Hook-specific output for PreToolUse.
Fields§
§hook_event_name: &'static str§permission_decision: Option<Effect>§permission_decision_reason: Option<String>§updated_input: Option<Value>§additional_context: Option<String>Trait Implementations§
Source§impl Clone for PreToolUseOutput
impl Clone for PreToolUseOutput
Source§fn clone(&self) -> PreToolUseOutput
fn clone(&self) -> PreToolUseOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PreToolUseOutput
impl Debug for PreToolUseOutput
Source§impl PartialEq for PreToolUseOutput
impl PartialEq for PreToolUseOutput
Source§fn eq(&self, other: &PreToolUseOutput) -> bool
fn eq(&self, other: &PreToolUseOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PreToolUseOutput
impl Serialize for PreToolUseOutput
impl StructuralPartialEq for PreToolUseOutput
Auto Trait Implementations§
impl Freeze for PreToolUseOutput
impl RefUnwindSafe for PreToolUseOutput
impl Send for PreToolUseOutput
impl Sync for PreToolUseOutput
impl Unpin for PreToolUseOutput
impl UnsafeUnpin for PreToolUseOutput
impl UnwindSafe for PreToolUseOutput
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