pub enum MachineOutputKind {
Json,
JsonLines,
JsonOrJsonLines,
}Expand description
The machine-readable output container a report is serialized into.
Variants§
Json
A single JSON object.
JsonLines
Newline-delimited JSON records.
JsonOrJsonLines
Either a single JSON object or newline-delimited JSON records.
Trait Implementations§
Source§impl Clone for MachineOutputKind
impl Clone for MachineOutputKind
Source§fn clone(&self) -> MachineOutputKind
fn clone(&self) -> MachineOutputKind
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 moreimpl Copy for MachineOutputKind
Source§impl Debug for MachineOutputKind
impl Debug for MachineOutputKind
impl Eq for MachineOutputKind
Source§impl PartialEq for MachineOutputKind
impl PartialEq for MachineOutputKind
Source§fn eq(&self, other: &MachineOutputKind) -> bool
fn eq(&self, other: &MachineOutputKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MachineOutputKind
Auto Trait Implementations§
impl Freeze for MachineOutputKind
impl RefUnwindSafe for MachineOutputKind
impl Send for MachineOutputKind
impl Sync for MachineOutputKind
impl Unpin for MachineOutputKind
impl UnsafeUnpin for MachineOutputKind
impl UnwindSafe for MachineOutputKind
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