pub struct DecisionDetails {
pub tool: Option<String>,
pub count: u64,
pub action: Option<String>,
pub consecutive_count: u64,
pub unique_args: u64,
pub is_diverse: bool,
pub tools: Vec<String>,
pub prior_semantic_failures: u64,
pub prior_calls: u64,
pub required_evidence_kind: Option<String>,
pub target: Option<String>,
pub stall_mode: Option<String>,
}Expand description
The fields of a decision point the failure patterns read. Absent or mistyped values read as their default.
Fields§
§tool: Option<String>§count: u64§action: Option<String>§consecutive_count: u64§unique_args: u64§is_diverse: bool§tools: Vec<String>§prior_semantic_failures: u64§prior_calls: u64§required_evidence_kind: Option<String>§target: Option<String>§stall_mode: Option<String>Implementations§
Source§impl DecisionDetails
impl DecisionDetails
Sourcepub fn from_metadata(metadata: &Value) -> Self
pub fn from_metadata(metadata: &Value) -> Self
The fields of a host’s free-form decision metadata.
Trait Implementations§
Source§impl Clone for DecisionDetails
impl Clone for DecisionDetails
Source§impl Debug for DecisionDetails
impl Debug for DecisionDetails
Source§impl Default for DecisionDetails
impl Default for DecisionDetails
impl Eq for DecisionDetails
Source§impl PartialEq for DecisionDetails
impl PartialEq for DecisionDetails
impl StructuralPartialEq for DecisionDetails
Auto Trait Implementations§
impl Forget for DecisionDetails
impl Freeze for DecisionDetails
impl Move for DecisionDetails
impl RefUnwindSafe for DecisionDetails
impl Send for DecisionDetailswhere
RawVecInner: Send,
impl Sync for DecisionDetailswhere
RawVecInner: Sync,
impl Unpin for DecisionDetails
impl UnsafeUnpin for DecisionDetailswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DecisionDetailswhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more