#[non_exhaustive]pub struct Output {
pub lines: Vec<String>,
pub ok: bool,
}Available on crate feature
report only.Expand description
The lines of one command and whether it passed (the command line’s exit code 0).
read and check give the lines for one payload (the command line prints them indented
under the file name); code gives the lines as printed. Every line is already
sanitized.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.lines: Vec<String>The lines, without line breaks.
ok: boolfalse: the payload is unreadable, an issue is an error, or the code is unknown.
Trait Implementations§
impl Eq for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Forget for Output
impl Freeze for Output
impl Move for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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