pub struct HookGate {
pub deny: Option<(String, String)>,
pub updated_input: Option<Value>,
pub context: Vec<String>,
}Expand description
Combined verdict across all responding hooks for one event.
Fields§
§deny: Option<(String, String)>First denial in plugin order: (plugin name, reason).
updated_input: Option<Value>Replacement tool arguments — the LAST rewrite wins (a collision is logged).
context: Vec<String>All additionalContext strings, in plugin order.
Trait Implementations§
impl StructuralPartialEq for HookGate
Auto Trait Implementations§
impl Freeze for HookGate
impl RefUnwindSafe for HookGate
impl Send for HookGate
impl Sync for HookGate
impl Unpin for HookGate
impl UnsafeUnpin for HookGate
impl UnwindSafe for HookGate
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