pub struct WindowInfo {
pub id: WindowId,
pub session_id: SessionId,
pub index: u32,
pub name: Option<String>,
pub size: TerminalSizeSpec,
pub tags: Vec<String>,
pub generation: u64,
pub revision: u64,
}Expand description
Sticky metadata and counters captured for one daemon window.
Fields§
§id: WindowIdStable per-server window identity (@N).
session_id: SessionIdOwning session identity ($N).
index: u32Window index inside its session.
name: Option<String>Window name, when the user or a rename-window invocation set one.
size: TerminalSizeSpecWindow geometry as last reported by the daemon.
Sticky window-scoped tag labels.
generation: u64Monotonic window-state generation counter.
revision: u64Coarser revision counter incremented on layout-affecting mutations such as pane list or active-pane changes.
Implementations§
Trait Implementations§
Source§impl Clone for WindowInfo
impl Clone for WindowInfo
Source§fn clone(&self) -> WindowInfo
fn clone(&self) -> WindowInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowInfo
impl Debug for WindowInfo
Source§impl<'de> Deserialize<'de> for WindowInfo
impl<'de> Deserialize<'de> for WindowInfo
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 WindowInfo
Source§impl Hash for WindowInfo
impl Hash for WindowInfo
Source§impl PartialEq for WindowInfo
impl PartialEq for WindowInfo
Source§fn eq(&self, other: &WindowInfo) -> bool
fn eq(&self, other: &WindowInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WindowInfo
impl Serialize for WindowInfo
impl StructuralPartialEq for WindowInfo
Auto Trait Implementations§
impl Freeze for WindowInfo
impl RefUnwindSafe for WindowInfo
impl Send for WindowInfo
impl Sync for WindowInfo
impl Unpin for WindowInfo
impl UnsafeUnpin for WindowInfo
impl UnwindSafe for WindowInfo
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