pub struct Meta {
pub captured_at: String,
pub harness_version: String,
pub term: Option<String>,
pub term_program: Option<String>,
pub term_program_version: Option<String>,
pub tmux: bool,
pub ssh: bool,
}Expand description
Where and when a Capture was taken — the index used to tell captures
apart and to judge when one has gone stale.
Fields§
§captured_at: StringRFC 3339 timestamp of when the capture was taken (freshness signal).
harness_version: StringVersion of the recorder that produced this file (format-migration hook).
term: Option<String>The $TERM value, if set.
term_program: Option<String>The $TERM_PROGRAM value, if set.
term_program_version: Option<String>The $TERM_PROGRAM_VERSION value, if set.
tmux: boolWhether a tmux/screen multiplexer was in the path (changes encodings).
ssh: boolWhether the session was over SSH (the far terminal’s identity is hidden).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Meta
impl<'de> Deserialize<'de> for Meta
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 Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
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