pub struct CommandExecResponse {
pub exit_code: i32,
pub stderr: String,
pub stdout: String,
}Expand description
Final buffered result for command/exec.
JSON schema
{
"title": "CommandExecResponse",
"description": "Final buffered result for `command/exec`.",
"type": "object",
"required": [
"exitCode",
"stderr",
"stdout"
],
"properties": {
"exitCode": {
"description": "Process exit code.",
"type": "integer",
"format": "int32"
},
"stderr": {
"description": "Buffered stderr capture.\n\nEmpty when stderr was streamed via `command/exec/outputDelta`.",
"type": "string"
},
"stdout": {
"description": "Buffered stdout capture.\n\nEmpty when stdout was streamed via `command/exec/outputDelta`.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§exit_code: i32Process exit code.
stderr: StringBuffered stderr capture.
Empty when stderr was streamed via command/exec/outputDelta.
stdout: StringBuffered stdout capture.
Empty when stdout was streamed via command/exec/outputDelta.
Trait Implementations§
Source§impl Clone for CommandExecResponse
impl Clone for CommandExecResponse
Source§fn clone(&self) -> CommandExecResponse
fn clone(&self) -> CommandExecResponse
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 CommandExecResponse
impl Debug for CommandExecResponse
Source§impl<'de> Deserialize<'de> for CommandExecResponse
impl<'de> Deserialize<'de> for CommandExecResponse
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 CommandExecResponse
impl RefUnwindSafe for CommandExecResponse
impl Send for CommandExecResponse
impl Sync for CommandExecResponse
impl Unpin for CommandExecResponse
impl UnsafeUnpin for CommandExecResponse
impl UnwindSafe for CommandExecResponse
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