Struct proto_pdk_api::ExecCommandOutput
source · pub struct ExecCommandOutput {
pub exit_code: i32,
pub stderr: String,
pub stdout: String,
}
Expand description
Output returned from the exec_command
host function.
Fields§
§exit_code: i32
§stderr: String
§stdout: String
Trait Implementations§
source§impl Debug for ExecCommandOutput
impl Debug for ExecCommandOutput
source§impl Default for ExecCommandOutput
impl Default for ExecCommandOutput
source§fn default() -> ExecCommandOutput
fn default() -> ExecCommandOutput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExecCommandOutput
impl<'de> Deserialize<'de> for ExecCommandOutput
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 RefUnwindSafe for ExecCommandOutput
impl Send for ExecCommandOutput
impl Sync for ExecCommandOutput
impl Unpin for ExecCommandOutput
impl UnwindSafe for ExecCommandOutput
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