pub struct ShellCmd {
pub command: String,
pub exit_code: Option<i32>,
}Expand description
A shell command executed during a session.
Fields§
§command: String§exit_code: Option<i32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ShellCmd
impl RefUnwindSafe for ShellCmd
impl Send for ShellCmd
impl Sync for ShellCmd
impl Unpin for ShellCmd
impl UnwindSafe for ShellCmd
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