pub struct StepLearning {
pub id: String,
pub step_id: StepId,
pub execution_id: ExecutionId,
pub learning_type: LearningType,
pub content: String,
pub confidence: f64,
pub relevance: f64,
pub tags: Vec<String>,
pub created_at: DateTime<Utc>,
}Expand description
Extracted learning from a step
Fields§
§id: StringUnique ID for this learning
step_id: StepIdStep that produced this learning
execution_id: ExecutionIdExecution containing the step
learning_type: LearningTypeType of learning
content: StringThe learning content
confidence: f64Confidence in this learning (0.0 - 1.0)
relevance: f64Relevance to future steps (0.0 - 1.0)
Tags for categorization
created_at: DateTime<Utc>Timestamp
Trait Implementations§
Source§impl Clone for StepLearning
impl Clone for StepLearning
Source§fn clone(&self) -> StepLearning
fn clone(&self) -> StepLearning
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 StepLearning
impl Debug for StepLearning
Source§impl<'de> Deserialize<'de> for StepLearning
impl<'de> Deserialize<'de> for StepLearning
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 StepLearning
impl RefUnwindSafe for StepLearning
impl Send for StepLearning
impl Sync for StepLearning
impl Unpin for StepLearning
impl UnsafeUnpin for StepLearning
impl UnwindSafe for StepLearning
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