pub struct AllowWithModifiedHookSpecificOutput {
pub hook_event_name: String,
pub permission_decision: Option<String>,
pub updated_input: UpdatedInput,
}Expand description
Hook-specific output for allow-with-modification responses.
Fields§
§hook_event_name: String§permission_decision: Option<String>None rewrites the input but leaves the decision to Claude Code’s
normal permission flow (the user’s allow/deny/ask rules).
updated_input: UpdatedInputTrait Implementations§
Auto Trait Implementations§
impl Freeze for AllowWithModifiedHookSpecificOutput
impl RefUnwindSafe for AllowWithModifiedHookSpecificOutput
impl Send for AllowWithModifiedHookSpecificOutput
impl Sync for AllowWithModifiedHookSpecificOutput
impl Unpin for AllowWithModifiedHookSpecificOutput
impl UnsafeUnpin for AllowWithModifiedHookSpecificOutput
impl UnwindSafe for AllowWithModifiedHookSpecificOutput
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