pub struct SessionLog {
pub path: PathBuf,
pub meta: Option<SessionMeta>,
pub entries: Vec<SessionEntry>,
}Expand description
A parsed session log.
Fields§
§path: PathBufThe file this came from.
meta: Option<SessionMeta>Opening metadata, if the file had any.
entries: Vec<SessionEntry>Every line after the metadata, in order.
Trait Implementations§
Source§impl Clone for SessionLog
impl Clone for SessionLog
Source§fn clone(&self) -> SessionLog
fn clone(&self) -> SessionLog
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 moreSource§impl Debug for SessionLog
impl Debug for SessionLog
Source§impl PartialEq for SessionLog
impl PartialEq for SessionLog
impl StructuralPartialEq for SessionLog
Auto Trait Implementations§
impl Freeze for SessionLog
impl RefUnwindSafe for SessionLog
impl Send for SessionLog
impl Sync for SessionLog
impl Unpin for SessionLog
impl UnsafeUnpin for SessionLog
impl UnwindSafe for SessionLog
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