pub struct DetectedPattern {
pub pattern_type: PatternType,
pub description: String,
pub frequency: usize,
pub related_memories: Vec<String>,
pub confidence: f64,
}Expand description
A pattern detected across sessions by analyzing memory metadata.
Fields§
§pattern_type: PatternTypeType of pattern detected.
description: StringHuman-readable description of the pattern.
frequency: usizeHow many times this pattern was observed.
IDs of memories related to this pattern.
confidence: f64Confidence in the detection (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for DetectedPattern
impl Clone for DetectedPattern
Source§fn clone(&self) -> DetectedPattern
fn clone(&self) -> DetectedPattern
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 DetectedPattern
impl Debug for DetectedPattern
Source§impl<'de> Deserialize<'de> for DetectedPattern
impl<'de> Deserialize<'de> for DetectedPattern
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 DetectedPattern
impl RefUnwindSafe for DetectedPattern
impl Send for DetectedPattern
impl Sync for DetectedPattern
impl Unpin for DetectedPattern
impl UnsafeUnpin for DetectedPattern
impl UnwindSafe for DetectedPattern
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