Struct tmux_interface::variables::session::session::Session[][src]

pub struct Session {
Show 17 fields pub activity: Option<Duration>, pub alerts: Option<String>, pub attached: Option<usize>, pub created: Option<Duration>, pub format: Option<bool>, pub group: Option<String>, pub group_list: Option<String>, pub group_size: Option<String>, pub grouped: Option<bool>, pub height: Option<usize>, pub width: Option<usize>, pub id: Option<usize>, pub last_attached: Option<Duration>, pub many_attached: Option<bool>, pub name: Option<String>, pub stack: Option<SessionStack>, pub windows: Option<usize>,
}

Fields

activity: Option<Duration>

session_activity - Time of session last activity

alerts: Option<String>

session_alerts - List of window indexes with alerts

attached: Option<usize>

session_attached - Number of clients session is attached to

created: Option<Duration>

session_created - Time session created

format: Option<bool>

1 if format is for a session (not assuming the current)

group: Option<String>

session_group - Name of session group

group_list: Option<String>

session_group_list - List of sessions in group

group_size: Option<String>

session_size - Size of session group

grouped: Option<bool>

session_grouped - 1 if session in a group

height: Option<usize>

session_height - Height of session

width: Option<usize>

session_width - Width of session

id: Option<usize>

session_id - Unique session ID

last_attached: Option<Duration>

session_last_attached - Time session last attached

many_attached: Option<bool>

session_many_attached - 1 if multiple clients attached

name: Option<String>

session_name - #S Name of session

stack: Option<SessionStack>

session_stack - Window indexes in most recent order

windows: Option<usize>

session_windows - Number of windows in session

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.