pub struct HookMergedOutcome {
pub stop_reason: Option<String>,
pub block_reason: Option<String>,
pub permission_decision: Option<PermissionDecision>,
pub permission_decision_reason: Option<String>,
pub updated_input: Option<Value>,
pub updated_output: Option<Value>,
pub additional_context: Vec<String>,
pub system_messages: Vec<String>,
pub suppress_output: bool,
}Fields§
§stop_reason: Option<String>§block_reason: Option<String>§permission_decision: Option<PermissionDecision>§permission_decision_reason: Option<String>§updated_input: Option<Value>§updated_output: Option<Value>§additional_context: Vec<String>§system_messages: Vec<String>§suppress_output: boolTrait Implementations§
Source§impl Clone for HookMergedOutcome
impl Clone for HookMergedOutcome
Source§fn clone(&self) -> HookMergedOutcome
fn clone(&self) -> HookMergedOutcome
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 HookMergedOutcome
impl Debug for HookMergedOutcome
Source§impl Default for HookMergedOutcome
impl Default for HookMergedOutcome
Source§fn default() -> HookMergedOutcome
fn default() -> HookMergedOutcome
Returns the “default value” for a type. Read more
Source§impl PartialEq for HookMergedOutcome
impl PartialEq for HookMergedOutcome
Source§fn eq(&self, other: &HookMergedOutcome) -> bool
fn eq(&self, other: &HookMergedOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HookMergedOutcome
Auto Trait Implementations§
impl Freeze for HookMergedOutcome
impl RefUnwindSafe for HookMergedOutcome
impl Send for HookMergedOutcome
impl Sync for HookMergedOutcome
impl Unpin for HookMergedOutcome
impl UnsafeUnpin for HookMergedOutcome
impl UnwindSafe for HookMergedOutcome
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