pub struct ProcessOutputDeltaNotification {
pub cap_reached: bool,
pub delta_base64: String,
pub process_handle: String,
pub stream: ProcessOutputStream,
}Expand description
Base64-encoded output chunk emitted for a streaming process/spawn request.
JSON schema
{
"title": "ProcessOutputDeltaNotification",
"description": "Base64-encoded output chunk emitted for a streaming `process/spawn` request.",
"type": "object",
"required": [
"capReached",
"deltaBase64",
"processHandle",
"stream"
],
"properties": {
"capReached": {
"description": "True on the final streamed chunk for this stream when output was truncated by `outputBytesCap`.",
"type": "boolean"
},
"deltaBase64": {
"description": "Base64-encoded output bytes.",
"type": "string"
},
"processHandle": {
"description": "Client-supplied, connection-scoped `processHandle` from `process/spawn`.",
"type": "string"
},
"stream": {
"description": "Output stream this chunk belongs to.",
"allOf": [
{
"$ref": "#/definitions/ProcessOutputStream"
}
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§cap_reached: boolTrue on the final streamed chunk for this stream when output was truncated by outputBytesCap.
delta_base64: StringBase64-encoded output bytes.
process_handle: StringClient-supplied, connection-scoped processHandle from process/spawn.
stream: ProcessOutputStreamOutput stream this chunk belongs to.
Trait Implementations§
Source§impl Clone for ProcessOutputDeltaNotification
impl Clone for ProcessOutputDeltaNotification
Source§fn clone(&self) -> ProcessOutputDeltaNotification
fn clone(&self) -> ProcessOutputDeltaNotification
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 ProcessOutputDeltaNotification
impl<'de> Deserialize<'de> for ProcessOutputDeltaNotification
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<ProcessOutputDeltaNotification> for ServerNotification
impl From<ProcessOutputDeltaNotification> for ServerNotification
Source§fn from(value: ProcessOutputDeltaNotification) -> Self
fn from(value: ProcessOutputDeltaNotification) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProcessOutputDeltaNotification
impl RefUnwindSafe for ProcessOutputDeltaNotification
impl Send for ProcessOutputDeltaNotification
impl Sync for ProcessOutputDeltaNotification
impl Unpin for ProcessOutputDeltaNotification
impl UnsafeUnpin for ProcessOutputDeltaNotification
impl UnwindSafe for ProcessOutputDeltaNotification
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