pub struct Summary {
pub id: Uuid,
pub session_id: Uuid,
pub content: String,
pub generated_at: DateTime<Utc>,
}Expand description
A summary of a session.
Summaries provide a concise description of what happened in a session, useful for quickly understanding the session context when continuing work or reviewing history. Each session can have at most one summary.
Fields§
§id: UuidUnique identifier for this summary.
session_id: UuidThe session this summary describes.
content: StringThe summary content text.
generated_at: DateTime<Utc>When the summary was generated or last updated.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Summary
impl<'de> Deserialize<'de> for Summary
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 Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnwindSafe for Summary
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