pub struct OutputFormats {
pub pretty: bool,
pub json: bool,
}Expand description
Which output modes the command actually implements.
Fields§
§pretty: boolHuman-readable default output.
json: bool--format json produces a parseable document on stdout alone.
Trait Implementations§
Source§impl Clone for OutputFormats
impl Clone for OutputFormats
impl Copy for OutputFormats
Source§impl Debug for OutputFormats
impl Debug for OutputFormats
Source§impl<'de> Deserialize<'de> for OutputFormats
impl<'de> Deserialize<'de> for OutputFormats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OutputFormats
Source§impl PartialEq for OutputFormats
impl PartialEq for OutputFormats
Source§impl Serialize for OutputFormats
impl Serialize for OutputFormats
impl StructuralPartialEq for OutputFormats
Auto Trait Implementations§
impl Freeze for OutputFormats
impl RefUnwindSafe for OutputFormats
impl Send for OutputFormats
impl Sync for OutputFormats
impl Unpin for OutputFormats
impl UnsafeUnpin for OutputFormats
impl UnwindSafe for OutputFormats
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