pub struct Session {
pub id: String,
pub directory: PathBuf,
pub created: Option<SystemTime>,
pub updated: Option<SystemTime>,
}Expand description
One top-level conversation, enough to attribute it to a process and list it.
Fields§
§id: String§directory: PathBuf§created: Option<SystemTime>§updated: Option<SystemTime>Trait Implementations§
impl Eq for Session
impl StructuralPartialEq for Session
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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