pub struct CliRunOutput {
pub exit_code: i32,
pub rendered: String,
}Expand description
Captured result of running a CLI in tests or embedding contexts.
Fields§
§exit_code: i32Process-style exit code.
rendered: StringRendered stdout or stderr payload.
Trait Implementations§
Source§impl Clone for CliRunOutput
impl Clone for CliRunOutput
Source§fn clone(&self) -> CliRunOutput
fn clone(&self) -> CliRunOutput
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 CliRunOutput
impl Debug for CliRunOutput
Source§impl PartialEq for CliRunOutput
impl PartialEq for CliRunOutput
Source§fn eq(&self, other: &CliRunOutput) -> bool
fn eq(&self, other: &CliRunOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CliRunOutput
Auto Trait Implementations§
impl Freeze for CliRunOutput
impl RefUnwindSafe for CliRunOutput
impl Send for CliRunOutput
impl Sync for CliRunOutput
impl Unpin for CliRunOutput
impl UnsafeUnpin for CliRunOutput
impl UnwindSafe for CliRunOutput
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