pub struct Hello {}Expand description
The hello reply: what the terminal draws and supports.
Fields§
§v: u32The version picked (1).
term: StringThe terminal (tern).
ver: StringThe terminal’s version.
kinds: Vec<String>Every kind it draws.
features: Vec<String>Terminal features.
apc: usizeThe largest body per message.
credits: u32Frames that may be unacknowledged.
cols: u32The pane’s width in columns.
cell: Option<Cell>The cell size.
dark: boolWhether the terminal shows its dark appearance.
reduce_motion: boolWhether Reduce Motion is on.
hour12: boolWhether the user’s system reads a 12-hour clock (3:05 PM); false
(24-hour) on terminals that don’t say.
raw: Map<String, Value>The reply as received.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Hello
impl<'de> Deserialize<'de> for Hello
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 StructuralPartialEq for Hello
Auto Trait Implementations§
impl Freeze for Hello
impl RefUnwindSafe for Hello
impl Send for Hello
impl Sync for Hello
impl Unpin for Hello
impl UnsafeUnpin for Hello
impl UnwindSafe for Hello
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