pub enum ReportingMode {
Text,
Json,
}
Variants§
Text
Plain text
Json
As a list of JSON objects
Can be piped into jq
for querying or loaded into vim
with the plugin.
Trait Implementations§
Source§impl Clone for ReportingMode
impl Clone for ReportingMode
Source§fn clone(&self) -> ReportingMode
fn clone(&self) -> ReportingMode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for ReportingMode
impl Default for ReportingMode
Source§fn default() -> ReportingMode
fn default() -> ReportingMode
Returns the “default value” for a type. Read more
Source§impl Ord for ReportingMode
impl Ord for ReportingMode
Source§fn cmp(&self, other: &ReportingMode) -> Ordering
fn cmp(&self, other: &ReportingMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReportingMode
impl PartialEq for ReportingMode
Source§impl PartialOrd for ReportingMode
impl PartialOrd for ReportingMode
Source§impl ValueEnum for ReportingMode
impl ValueEnum for ReportingMode
impl Copy for ReportingMode
impl Eq for ReportingMode
impl StructuralPartialEq for ReportingMode
Auto Trait Implementations§
impl Freeze for ReportingMode
impl RefUnwindSafe for ReportingMode
impl Send for ReportingMode
impl Sync for ReportingMode
impl Unpin for ReportingMode
impl UnwindSafe for ReportingMode
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