pub struct TerminalSummary {
pub id: u16,
pub seat: SessionSlot,
pub shell: String,
pub cwd: String,
pub cols: u16,
pub rows: u16,
pub alive: bool,
pub state: TerminalState,
pub title: String,
pub held: bool,
}Expand description
One terminal as the strip draws it.
Fields§
§id: u16§seat: SessionSlot§shell: String§cwd: String§cols: u16§rows: u16§alive: boolWhether the shell process is alive.
state: TerminalState§title: StringThe title the shell last set, when it set one.
held: boolWhether a hand-off is parked on it.
Trait Implementations§
Source§impl Clone for TerminalSummary
impl Clone for TerminalSummary
Source§impl Debug for TerminalSummary
impl Debug for TerminalSummary
Source§impl<'de> Deserialize<'de> for TerminalSummary
impl<'de> Deserialize<'de> for TerminalSummary
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
impl Eq for TerminalSummary
Source§impl PartialEq for TerminalSummary
impl PartialEq for TerminalSummary
Source§impl Serialize for TerminalSummary
impl Serialize for TerminalSummary
impl StructuralPartialEq for TerminalSummary
Auto Trait Implementations§
impl Freeze for TerminalSummary
impl RefUnwindSafe for TerminalSummary
impl Send for TerminalSummary
impl Sync for TerminalSummary
impl Unpin for TerminalSummary
impl UnsafeUnpin for TerminalSummary
impl UnwindSafe for TerminalSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.