pub struct SessionInfo {
pub id: Uuid,
pub project: String,
pub workspace_root: String,
pub last_message_preview: String,
pub timestamp: DateTime<Utc>,
pub message_count: usize,
}Expand description
Information about a session, returned when listing sessions.
Fields§
§id: UuidUnique session identifier.
project: StringHuman-readable project display name (basename).
workspace_root: StringStable workspace identity (canonical absolute path).
last_message_preview: StringPreview of the last message in the session.
timestamp: DateTime<Utc>When the session file was last modified.
message_count: usizeTotal number of entries across all branches.
Trait Implementations§
Source§impl Clone for SessionInfo
impl Clone for SessionInfo
Source§fn clone(&self) -> SessionInfo
fn clone(&self) -> SessionInfo
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 moreAuto Trait Implementations§
impl Freeze for SessionInfo
impl RefUnwindSafe for SessionInfo
impl Send for SessionInfo
impl Sync for SessionInfo
impl Unpin for SessionInfo
impl UnsafeUnpin for SessionInfo
impl UnwindSafe for SessionInfo
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