pub struct SessionContent {
pub messages: Vec<ConversationMessage>,
pub metadata: SessionMetadata,
}Expand description
Full session content with metadata + messages
Returned by SessionContentParser for lazy-loaded session display.
Fields§
§messages: Vec<ConversationMessage>Messages in chronological order
metadata: SessionMetadataSession metadata (from cache or index)
Trait Implementations§
Source§impl Clone for SessionContent
impl Clone for SessionContent
Source§fn clone(&self) -> SessionContent
fn clone(&self) -> SessionContent
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 SessionContent
impl Debug for SessionContent
Source§impl<'de> Deserialize<'de> for SessionContent
impl<'de> Deserialize<'de> for SessionContent
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 SessionContent
impl RefUnwindSafe for SessionContent
impl Send for SessionContent
impl Sync for SessionContent
impl Unpin for SessionContent
impl UnsafeUnpin for SessionContent
impl UnwindSafe for SessionContent
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