pub struct CommandExecWriteParams {
pub close_stdin: Option<bool>,
pub delta_base64: Option<String>,
pub process_id: String,
}Expand description
Write stdin bytes to a running command/exec session, close stdin, or both.
JSON schema
{
"title": "CommandExecWriteParams",
"description": "Write stdin bytes to a running `command/exec` session, close stdin, or both.",
"type": "object",
"required": [
"processId"
],
"properties": {
"closeStdin": {
"description": "Close stdin after writing `deltaBase64`, if present.",
"type": "boolean"
},
"deltaBase64": {
"description": "Optional base64-encoded stdin bytes to write.",
"type": [
"string",
"null"
]
},
"processId": {
"description": "Client-supplied, connection-scoped `processId` from the original `command/exec` request.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§close_stdin: Option<bool>Close stdin after writing deltaBase64, if present.
delta_base64: Option<String>Optional base64-encoded stdin bytes to write.
process_id: StringClient-supplied, connection-scoped processId from the original command/exec request.
Trait Implementations§
Source§impl Clone for CommandExecWriteParams
impl Clone for CommandExecWriteParams
Source§fn clone(&self) -> CommandExecWriteParams
fn clone(&self) -> CommandExecWriteParams
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 CommandExecWriteParams
impl Debug for CommandExecWriteParams
Source§impl<'de> Deserialize<'de> for CommandExecWriteParams
impl<'de> Deserialize<'de> for CommandExecWriteParams
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 CommandExecWriteParams
impl RefUnwindSafe for CommandExecWriteParams
impl Send for CommandExecWriteParams
impl Sync for CommandExecWriteParams
impl Unpin for CommandExecWriteParams
impl UnsafeUnpin for CommandExecWriteParams
impl UnwindSafe for CommandExecWriteParams
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