pub struct CommandExecResizeParams {
pub process_id: String,
pub size: CommandExecTerminalSize,
}Expand description
Resize a running PTY-backed command/exec session.
JSON schema
{
"title": "CommandExecResizeParams",
"description": "Resize a running PTY-backed `command/exec` session.",
"type": "object",
"required": [
"processId",
"size"
],
"properties": {
"processId": {
"description": "Client-supplied, connection-scoped `processId` from the original `command/exec` request.",
"type": "string"
},
"size": {
"description": "New PTY size in character cells.",
"allOf": [
{
"$ref": "#/definitions/CommandExecTerminalSize"
}
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§process_id: StringClient-supplied, connection-scoped processId from the original command/exec request.
size: CommandExecTerminalSizeNew PTY size in character cells.
Trait Implementations§
Source§impl Clone for CommandExecResizeParams
impl Clone for CommandExecResizeParams
Source§fn clone(&self) -> CommandExecResizeParams
fn clone(&self) -> CommandExecResizeParams
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 CommandExecResizeParams
impl Debug for CommandExecResizeParams
Source§impl<'de> Deserialize<'de> for CommandExecResizeParams
impl<'de> Deserialize<'de> for CommandExecResizeParams
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 CommandExecResizeParams
impl RefUnwindSafe for CommandExecResizeParams
impl Send for CommandExecResizeParams
impl Sync for CommandExecResizeParams
impl Unpin for CommandExecResizeParams
impl UnsafeUnpin for CommandExecResizeParams
impl UnwindSafe for CommandExecResizeParams
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