pub enum NdjsonLine {
Header(SessionHeader),
Command(Command),
Footer(SessionFooter),
}Expand description
An NDJSON line in the session file.
Each line is tagged with type for easy parsing:
header: Session metadata (first line)command: A captured command (middle lines)footer: Session summary (last line)
Variants§
Header(SessionHeader)
Session header metadata
Command(Command)
A captured command
Session footer summary
Trait Implementations§
Source§impl Clone for NdjsonLine
impl Clone for NdjsonLine
Source§fn clone(&self) -> NdjsonLine
fn clone(&self) -> NdjsonLine
Returns a duplicate of the value. Read more
1.0.0 · 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 NdjsonLine
impl Debug for NdjsonLine
Source§impl<'de> Deserialize<'de> for NdjsonLine
impl<'de> Deserialize<'de> for NdjsonLine
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NdjsonLine
impl RefUnwindSafe for NdjsonLine
impl Send for NdjsonLine
impl Sync for NdjsonLine
impl Unpin for NdjsonLine
impl UnwindSafe for NdjsonLine
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