pub struct DecisionLogEntry {
pub decision: String,
pub rationale: String,
pub alternatives: Vec<String>,
pub alternatives_considered: Vec<AlternativeConsidered>,
pub confidence: Option<f32>,
pub context: Option<String>,
}Fields§
§decision: String§rationale: String§alternatives: Vec<String>§alternatives_considered: Vec<AlternativeConsidered>Structured alternatives with rejection reasons (v0.3.3).
confidence: Option<f32>Optional agent confidence in this decision (0.0–1.0) (v0.14.7).
context: Option<String>What external need, feature, or constraint triggered this decision (v0.14.9.2). Shown as the header line in collapsed state.
Trait Implementations§
Source§impl Clone for DecisionLogEntry
impl Clone for DecisionLogEntry
Source§fn clone(&self) -> DecisionLogEntry
fn clone(&self) -> DecisionLogEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 DecisionLogEntry
impl Debug for DecisionLogEntry
Source§impl<'de> Deserialize<'de> for DecisionLogEntry
impl<'de> Deserialize<'de> for DecisionLogEntry
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
Auto Trait Implementations§
impl Freeze for DecisionLogEntry
impl RefUnwindSafe for DecisionLogEntry
impl Send for DecisionLogEntry
impl Sync for DecisionLogEntry
impl Unpin for DecisionLogEntry
impl UnsafeUnpin for DecisionLogEntry
impl UnwindSafe for DecisionLogEntry
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