pub struct Session {
pub path: PathBuf,
pub cwd: Option<PathBuf>,
pub started: Option<SystemTime>,
pub session_id: Option<String>,
}Expand description
One main conversation on disk: its file, the working directory its project directory stands for (absent for a pre-slug hashed directory) and the start time from its header.
Fields§
§path: PathBuf§cwd: Option<PathBuf>§started: Option<SystemTime>§session_id: Option<String>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