Struct asciicast::Header
[−]
[src]
pub struct Header { pub version: u8, pub width: u32, pub height: u32, pub timestamp: Option<DateTime<Utc>>, pub duration: Option<f64>, pub idle_time_limit: Option<f64>, pub command: Option<String>, pub title: Option<String>, pub env: Option<HashMap<String, String>>, }
Fields
version: u8
asciicast
format version.
width: u32
Initial terminal width (number of columns).
height: u32
Initial terminal height (number of rows).
timestamp: Option<DateTime<Utc>>
Time of the beginning of the recording session.
duration: Option<f64>
Duration of the whole recording in seconds (when it's known upfront).
idle_time_limit: Option<f64>
Idle time limit, as given via -i
option to asciinema rec
.
This should be used by an asciicast player to reduce all terminal inactivity
(delays between frames) to maximum of idle_time_limit
value.
command: Option<String>
Command that was recorded, as given via -c
option to asciinema rec
.
title: Option<String>
Title of the asciicast, as given via -t
option to asciinema rec
.
env: Option<HashMap<String, String>>
Map of captured environment variables.
Trait Implementations
impl Debug for Header
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Header
[src]
fn eq(&self, __arg_0: &Header) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Header) -> bool
[src]
This method tests for !=
.