pub struct ExecResponse {
pub exit_code: i32,
pub stdout: String,
pub stderr: String,
}Expand description
Exec response body
Fields§
§exit_code: i32Exit code from the command
stdout: StringStandard output
stderr: StringStandard error
Trait Implementations§
Source§impl ComposeSchema for ExecResponse
impl ComposeSchema for ExecResponse
Source§impl Debug for ExecResponse
impl Debug for ExecResponse
Source§impl<'de> Deserialize<'de> for ExecResponse
impl<'de> Deserialize<'de> for ExecResponse
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 Serialize for ExecResponse
impl Serialize for ExecResponse
Auto Trait Implementations§
impl Freeze for ExecResponse
impl RefUnwindSafe for ExecResponse
impl Send for ExecResponse
impl Sync for ExecResponse
impl Unpin for ExecResponse
impl UnsafeUnpin for ExecResponse
impl UnwindSafe for ExecResponse
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