pub struct TranscriptMetadata {
pub width: u16,
pub height: u16,
pub command: Option<String>,
pub title: Option<String>,
pub env: HashMap<String, String>,
pub timestamp: Option<u64>,
pub duration: Option<Duration>,
}Expand description
Transcript metadata.
Fields§
§width: u16Terminal width.
height: u16Terminal height.
command: Option<String>Command that was run.
title: Option<String>Title for the transcript.
env: HashMap<String, String>Environment info.
timestamp: Option<u64>Start time.
duration: Option<Duration>Total duration.
Implementations§
Trait Implementations§
Source§impl Clone for TranscriptMetadata
impl Clone for TranscriptMetadata
Source§fn clone(&self) -> TranscriptMetadata
fn clone(&self) -> TranscriptMetadata
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 TranscriptMetadata
impl Debug for TranscriptMetadata
Source§impl Default for TranscriptMetadata
impl Default for TranscriptMetadata
Source§fn default() -> TranscriptMetadata
fn default() -> TranscriptMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TranscriptMetadata
impl RefUnwindSafe for TranscriptMetadata
impl Send for TranscriptMetadata
impl Sync for TranscriptMetadata
impl Unpin for TranscriptMetadata
impl UnwindSafe for TranscriptMetadata
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