pub struct CommandEvidence {
pub command: Vec<String>,
pub success: bool,
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub environment: BTreeMap<String, String>,
}Fields§
§command: Vec<String>§success: bool§exit_code: Option<i32>§stdout: String§stderr: String§environment: BTreeMap<String, String>Implementations§
Source§impl CommandEvidence
impl CommandEvidence
pub fn from_output(command: Vec<String>, output: &Output) -> Self
Trait Implementations§
Source§impl Clone for CommandEvidence
impl Clone for CommandEvidence
Source§fn clone(&self) -> CommandEvidence
fn clone(&self) -> CommandEvidence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommandEvidence
impl Debug for CommandEvidence
Auto Trait Implementations§
impl Freeze for CommandEvidence
impl RefUnwindSafe for CommandEvidence
impl Send for CommandEvidence
impl Sync for CommandEvidence
impl Unpin for CommandEvidence
impl UnsafeUnpin for CommandEvidence
impl UnwindSafe for CommandEvidence
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