pub struct CommandExecTerminalSize {
pub cols: u16,
pub rows: u16,
}Expand description
PTY size in character cells for command/exec PTY sessions.
JSON schema
{
"description": "PTY size in character cells for `command/exec` PTY sessions.",
"type": "object",
"required": [
"cols",
"rows"
],
"properties": {
"cols": {
"description": "Terminal width in character cells.",
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"rows": {
"description": "Terminal height in character cells.",
"type": "integer",
"format": "uint16",
"minimum": 0.0
}
}
}Fields§
§cols: u16Terminal width in character cells.
rows: u16Terminal height in character cells.
Trait Implementations§
Source§impl Clone for CommandExecTerminalSize
impl Clone for CommandExecTerminalSize
Source§fn clone(&self) -> CommandExecTerminalSize
fn clone(&self) -> CommandExecTerminalSize
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 CommandExecTerminalSize
impl Debug for CommandExecTerminalSize
Source§impl<'de> Deserialize<'de> for CommandExecTerminalSize
impl<'de> Deserialize<'de> for CommandExecTerminalSize
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
Auto Trait Implementations§
impl Freeze for CommandExecTerminalSize
impl RefUnwindSafe for CommandExecTerminalSize
impl Send for CommandExecTerminalSize
impl Sync for CommandExecTerminalSize
impl Unpin for CommandExecTerminalSize
impl UnsafeUnpin for CommandExecTerminalSize
impl UnwindSafe for CommandExecTerminalSize
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