pub struct Episode {Show 14 fields
pub id: i64,
pub session_id: String,
pub summary: String,
pub topics: Option<Vec<String>>,
pub emotional_tone: Option<String>,
pub outcome: Option<String>,
pub importance: f32,
pub recall_count: i32,
pub last_recalled_at: Option<DateTime<Utc>>,
pub message_count: i32,
pub start_time: DateTime<Utc>,
pub end_time: DateTime<Utc>,
pub created_at: DateTime<Utc>,
pub channel_id: Option<String>,
}Expand description
An episode representing a session summary (episodic memory).
Fields§
§id: i64§session_id: String§summary: String§topics: Option<Vec<String>>§emotional_tone: Option<String>§outcome: Option<String>§importance: f32§recall_count: i32§last_recalled_at: Option<DateTime<Utc>>§message_count: i32§start_time: DateTime<Utc>§end_time: DateTime<Utc>§created_at: DateTime<Utc>§channel_id: Option<String>Channel where this episode occurred. None for legacy episodes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Episode
impl<'de> Deserialize<'de> for Episode
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 Forget for Episode
impl Freeze for Episode
impl Move for Episode
impl RefUnwindSafe for Episode
impl Send for Episode
impl Sync for Episode
impl Unpin for Episode
impl UnsafeUnpin for Episode
impl UnwindSafe for Episode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more