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§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 Forget for SessionLog
impl Freeze for SessionLogwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<SessionEntry>: Freeze,
impl Move for SessionLog
impl RefUnwindSafe for SessionLog
impl Send for SessionLog
impl Sync for SessionLog
impl Unpin for SessionLog
impl UnsafeUnpin for SessionLogwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<SessionEntry>: UnsafeUnpin,
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