pub struct MemoryInsight {
pub category: InsightCategory,
pub summary: String,
pub detail: Option<String>,
pub source: String,
pub confidence: f32,
}Expand description
A single imported memory insight from an external system.
Fields§
§category: InsightCategoryCategory of the insight.
summary: StringBrief summary (1 line).
detail: Option<String>Optional detailed content.
source: StringSource identifier (e.g., “claude-code”, “user”).
confidence: f32Confidence score (0.0 - 1.0).
Trait Implementations§
Source§impl Clone for MemoryInsight
impl Clone for MemoryInsight
Source§fn clone(&self) -> MemoryInsight
fn clone(&self) -> MemoryInsight
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 MemoryInsight
impl Debug for MemoryInsight
Source§impl<'de> Deserialize<'de> for MemoryInsight
impl<'de> Deserialize<'de> for MemoryInsight
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 MemoryInsight
impl RefUnwindSafe for MemoryInsight
impl Send for MemoryInsight
impl Sync for MemoryInsight
impl Unpin for MemoryInsight
impl UnsafeUnpin for MemoryInsight
impl UnwindSafe for MemoryInsight
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