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

asciicast format version.

Initial terminal width (number of columns).

Initial terminal height (number of rows).

Time of the beginning of the recording session.

Duration of the whole recording in seconds (when it's known upfront).

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 that was recorded, as given via -c option to asciinema rec.

Title of the asciicast, as given via -t option to asciinema rec.

Map of captured environment variables.

Trait Implementations

impl Debug for Header
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Header
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Clone for Header
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Header

impl Sync for Header