pub struct LocalShellOutput {
pub stdout: Option<String>,
pub stderr: Option<String>,
pub exit_code: Option<i32>,
}Expand description
Output from a local shell command execution.
Fields§
§stdout: Option<String>The stdout output from the command.
stderr: Option<String>The stderr output from the command.
exit_code: Option<i32>The exit code of the command.
Trait Implementations§
Source§impl Clone for LocalShellOutput
impl Clone for LocalShellOutput
Source§fn clone(&self) -> LocalShellOutput
fn clone(&self) -> LocalShellOutput
Returns a duplicate of the value. Read more
1.0.0 · 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 LocalShellOutput
impl Debug for LocalShellOutput
Source§impl<'de> Deserialize<'de> for LocalShellOutput
impl<'de> Deserialize<'de> for LocalShellOutput
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 PartialEq for LocalShellOutput
impl PartialEq for LocalShellOutput
Source§impl Serialize for LocalShellOutput
impl Serialize for LocalShellOutput
impl StructuralPartialEq for LocalShellOutput
Auto Trait Implementations§
impl Freeze for LocalShellOutput
impl RefUnwindSafe for LocalShellOutput
impl Send for LocalShellOutput
impl Sync for LocalShellOutput
impl Unpin for LocalShellOutput
impl UnwindSafe for LocalShellOutput
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