pub struct SessionInfo {
pub path: String,
pub id: String,
pub cwd: String,
pub name: Option<String>,
pub parent_session_path: Option<String>,
pub created: DateTime<Utc>,
pub modified: DateTime<Utc>,
pub message_count: i64,
pub first_message: String,
pub all_messages_text: String,
}Expand description
Session metadata for listing
Fields§
§path: StringThe path.
id: StringThe id.
cwd: StringThe cwd.
name: Option<String>The name.
parent_session_path: Option<String>The parent session path.
created: DateTime<Utc>The created.
modified: DateTime<Utc>The modified.
message_count: i64The message count.
first_message: StringThe first message.
all_messages_text: StringThe all messages text.
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