pub struct UnknownDecision {
pub call_id: ToolCallId,
pub policy: UnknownOutcomePolicy,
}Expand description
One explicit per-call unknown-outcome decision —
host decision / checkpoint data attached to a precomputed result whose
status is UnknownOutcome, not a result envelope: the recorded result
is committed verbatim either way. Where a decision set is a new host
input (hook, BatchDecision::Reject, resume), entries may be omitted —
the missing ones resolve through UnknownOutcomeConfig
by the executed tool name. Where it is a checkpoint
(PreparedApproval), it must
exactly cover the saved UnknownOutcome results.
Fields§
§call_id: ToolCallIdThe precomputed result’s call id — must be one of the same
decision’s rejected results, and its status must be
UnknownOutcome.
policy: UnknownOutcomePolicyThe fixed action for that result.
Trait Implementations§
Source§impl Clone for UnknownDecision
impl Clone for UnknownDecision
Source§fn clone(&self) -> UnknownDecision
fn clone(&self) -> UnknownDecision
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 UnknownDecision
impl Debug for UnknownDecision
Source§impl<'de> Deserialize<'de> for UnknownDecision
impl<'de> Deserialize<'de> for UnknownDecision
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
impl Eq for UnknownDecision
Source§impl PartialEq for UnknownDecision
impl PartialEq for UnknownDecision
Source§impl Serialize for UnknownDecision
impl Serialize for UnknownDecision
impl StructuralPartialEq for UnknownDecision
Auto Trait Implementations§
impl Freeze for UnknownDecision
impl RefUnwindSafe for UnknownDecision
impl Send for UnknownDecision
impl Sync for UnknownDecision
impl Unpin for UnknownDecision
impl UnsafeUnpin for UnknownDecision
impl UnwindSafe for UnknownDecision
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