pub enum JsonOutput {
Text,
Json,
}Expand description
Shared text-vs-JSON output mode.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for JsonOutput
impl Clone for JsonOutput
Source§fn clone(&self) -> JsonOutput
fn clone(&self) -> JsonOutput
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 JsonOutput
Source§impl Debug for JsonOutput
impl Debug for JsonOutput
impl Eq for JsonOutput
Source§impl PartialEq for JsonOutput
impl PartialEq for JsonOutput
Source§fn eq(&self, other: &JsonOutput) -> bool
fn eq(&self, other: &JsonOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JsonOutput
Auto Trait Implementations§
impl Freeze for JsonOutput
impl RefUnwindSafe for JsonOutput
impl Send for JsonOutput
impl Sync for JsonOutput
impl Unpin for JsonOutput
impl UnsafeUnpin for JsonOutput
impl UnwindSafe for JsonOutput
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