Struct rust_utils::utils::CommandOutput
source · pub struct CommandOutput {
pub output: String,
pub success: bool,
pub code: u32,
}
Expand description
Data returned by utils::run_command()
This has the command’s output, status code, and whether it was successful or not
Fields§
§output: String
§success: bool
§code: u32
Auto Trait Implementations§
impl RefUnwindSafe for CommandOutput
impl Send for CommandOutput
impl Sync for CommandOutput
impl Unpin for CommandOutput
impl UnwindSafe for CommandOutput
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