pub struct WindowView {
pub id: String,
pub session_id: String,
pub index: i32,
pub name: String,
pub panes: u32,
pub active: bool,
pub linked: bool,
}Expand description
One window, as the protocol sees it.
Fields§
§id: StringThe @-prefixed tmux identity.
session_id: StringThe session this window was reached through.
index: i32The window’s index within that session.
name: StringThe window name.
panes: u32How many panes the window holds.
active: boolWhether this is the session’s active window.
linked: boolWhether more than one session links this window.
Trait Implementations§
Source§impl Debug for WindowView
impl Debug for WindowView
Source§impl JsonSchema for WindowView
impl JsonSchema for WindowView
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for WindowView
impl RefUnwindSafe for WindowView
impl Send for WindowView
impl Sync for WindowView
impl Unpin for WindowView
impl UnsafeUnpin for WindowView
impl UnwindSafe for WindowView
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