pub struct CommandExecOutputDeltaNotification {
pub cap_reached: bool,
pub delta_base64: String,
pub process_id: String,
pub stream: CommandExecOutputStream,
}Expand description
Base64-encoded output chunk emitted for a streaming command/exec request.
These notifications are connection-scoped. If the originating connection closes, the server terminates the process.
JSON schema
{
"title": "CommandExecOutputDeltaNotification",
"description": "Base64-encoded output chunk emitted for a streaming `command/exec` request.\n\nThese notifications are connection-scoped. If the originating connection closes, the server terminates the process.",
"type": "object",
"required": [
"capReached",
"deltaBase64",
"processId",
"stream"
],
"properties": {
"capReached": {
"description": "`true` on the final streamed chunk for a stream when `outputBytesCap` truncated later output on that stream.",
"type": "boolean"
},
"deltaBase64": {
"description": "Base64-encoded output bytes.",
"type": "string"
},
"processId": {
"description": "Client-supplied, connection-scoped `processId` from the original `command/exec` request.",
"type": "string"
},
"stream": {
"description": "Output stream for this chunk.",
"allOf": [
{
"$ref": "#/definitions/CommandExecOutputStream"
}
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§cap_reached: booltrue on the final streamed chunk for a stream when outputBytesCap truncated later output on that stream.
delta_base64: StringBase64-encoded output bytes.
process_id: StringClient-supplied, connection-scoped processId from the original command/exec request.
stream: CommandExecOutputStreamOutput stream for this chunk.
Trait Implementations§
Source§impl Clone for CommandExecOutputDeltaNotification
impl Clone for CommandExecOutputDeltaNotification
Source§fn clone(&self) -> CommandExecOutputDeltaNotification
fn clone(&self) -> CommandExecOutputDeltaNotification
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<'de> Deserialize<'de> for CommandExecOutputDeltaNotification
impl<'de> Deserialize<'de> for CommandExecOutputDeltaNotification
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
Source§impl From<CommandExecOutputDeltaNotification> for ServerNotification
impl From<CommandExecOutputDeltaNotification> for ServerNotification
Source§fn from(value: CommandExecOutputDeltaNotification) -> Self
fn from(value: CommandExecOutputDeltaNotification) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CommandExecOutputDeltaNotification
impl RefUnwindSafe for CommandExecOutputDeltaNotification
impl Send for CommandExecOutputDeltaNotification
impl Sync for CommandExecOutputDeltaNotification
impl Unpin for CommandExecOutputDeltaNotification
impl UnsafeUnpin for CommandExecOutputDeltaNotification
impl UnwindSafe for CommandExecOutputDeltaNotification
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