pub struct EpisodicMemory {
pub episode_id: String,
pub description: String,
pub participants: Vec<String>,
pub timestamp: u64,
pub emotional_impact: f64,
pub lessons: Vec<String>,
pub outcome_rating: f64,
}
Expand description
Episodic memory (experiences)
Fieldsยง
ยงepisode_id: String
Unique episode ID
description: String
Description of the experience
participants: Vec<String>
Participants in the experience
timestamp: u64
When the experience occurred
emotional_impact: f64
Emotional impact of the experience
lessons: Vec<String>
Lessons learned from experience
outcome_rating: f64
Success/failure rating
Trait Implementationsยง
Sourceยงimpl Clone for EpisodicMemory
impl Clone for EpisodicMemory
Sourceยงfn clone(&self) -> EpisodicMemory
fn clone(&self) -> EpisodicMemory
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 EpisodicMemory
impl Debug for EpisodicMemory
Sourceยงimpl<'de> Deserialize<'de> for EpisodicMemory
impl<'de> Deserialize<'de> for EpisodicMemory
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 EpisodicMemory
impl RefUnwindSafe for EpisodicMemory
impl Send for EpisodicMemory
impl Sync for EpisodicMemory
impl Unpin for EpisodicMemory
impl UnwindSafe for EpisodicMemory
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