pub struct ExplanationChain {
pub summary: String,
pub steps: Vec<ReasoningStep>,
pub overall_confidence: f64,
}Expand description
A complete explanation chain — tells the full story of a conclusion.
Fields§
§summary: StringHuman-readable summary of the conclusion
steps: Vec<ReasoningStep>The ordered sequence of reasoning steps
overall_confidence: f64Overall confidence (product of step confidences, or custom)
Implementations§
Trait Implementations§
Source§impl Clone for ExplanationChain
impl Clone for ExplanationChain
Source§fn clone(&self) -> ExplanationChain
fn clone(&self) -> ExplanationChain
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 ExplanationChain
impl Debug for ExplanationChain
Source§impl<'de> Deserialize<'de> for ExplanationChain
impl<'de> Deserialize<'de> for ExplanationChain
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 ExplanationChain
impl RefUnwindSafe for ExplanationChain
impl Send for ExplanationChain
impl Sync for ExplanationChain
impl Unpin for ExplanationChain
impl UnsafeUnpin for ExplanationChain
impl UnwindSafe for ExplanationChain
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