pub struct ShellCommandResult {
pub code: i32,
pub interrupted: bool,
}Expand description
Result of a shell command execution.
Fields§
§code: i32§interrupted: boolTrait Implementations§
Source§impl Clone for ShellCommandResult
impl Clone for ShellCommandResult
Source§fn clone(&self) -> ShellCommandResult
fn clone(&self) -> ShellCommandResult
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 ShellCommandResult
impl Debug for ShellCommandResult
Source§impl<'de> Deserialize<'de> for ShellCommandResult
impl<'de> Deserialize<'de> for ShellCommandResult
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 ShellCommandResult
impl RefUnwindSafe for ShellCommandResult
impl Send for ShellCommandResult
impl Sync for ShellCommandResult
impl Unpin for ShellCommandResult
impl UnsafeUnpin for ShellCommandResult
impl UnwindSafe for ShellCommandResult
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