pub struct LearningOutcome {
pub success: bool,
pub insights: Vec<String>,
pub improvements: Vec<String>,
pub confidence: f32,
pub lesson_learned: Option<String>,
pub actionable_insight: Option<String>,
pub applicable_situations: Vec<String>,
}Expand description
Learning outcome
Fields§
§success: bool§insights: Vec<String>§improvements: Vec<String>§confidence: f32§lesson_learned: Option<String>§actionable_insight: Option<String>§applicable_situations: Vec<String>Implementations§
Source§impl LearningOutcome
impl LearningOutcome
pub fn new(success: bool) -> Self
pub fn add_insight(&mut self, insight: String)
pub fn add_improvement(&mut self, improvement: String)
Trait Implementations§
Source§impl Clone for LearningOutcome
impl Clone for LearningOutcome
Source§fn clone(&self) -> LearningOutcome
fn clone(&self) -> LearningOutcome
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 LearningOutcome
impl Debug for LearningOutcome
Source§impl<'de> Deserialize<'de> for LearningOutcome
impl<'de> Deserialize<'de> for LearningOutcome
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 LearningOutcome
impl RefUnwindSafe for LearningOutcome
impl Send for LearningOutcome
impl Sync for LearningOutcome
impl Unpin for LearningOutcome
impl UnsafeUnpin for LearningOutcome
impl UnwindSafe for LearningOutcome
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