Enum seaplane_cli::printer::OutputFormat
source · pub enum OutputFormat {
Table,
Json,
}Variants
Table
Json
Trait Implementations
sourceimpl Clone for OutputFormat
impl Clone for OutputFormat
sourcefn clone(&self) -> OutputFormat
fn clone(&self) -> OutputFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for OutputFormat
impl Debug for OutputFormat
sourceimpl Default for OutputFormat
impl Default for OutputFormat
sourceimpl<'de> Deserialize<'de> for OutputFormat
impl<'de> Deserialize<'de> for OutputFormat
sourcefn 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
sourceimpl Display for OutputFormat
impl Display for OutputFormat
sourceimpl FromStr for OutputFormat
impl FromStr for OutputFormat
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl PartialEq<OutputFormat> for OutputFormat
impl PartialEq<OutputFormat> for OutputFormat
sourcefn eq(&self, other: &OutputFormat) -> bool
fn eq(&self, other: &OutputFormat) -> bool
sourceimpl TryFrom<&str> for OutputFormat
impl TryFrom<&str> for OutputFormat
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourceimpl ValueEnum for OutputFormat
impl ValueEnum for OutputFormat
sourcefn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
fn value_variants<'a>() -> &'a [Self]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
All possible argument values, in display order.
sourcefn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
fn to_possible_value<'a>(&self) -> Option<PossibleValue<'a>>
The canonical argument value. Read more
impl Copy for OutputFormat
impl Eq for OutputFormat
impl StructuralEq for OutputFormat
impl StructuralPartialEq for OutputFormat
Auto Trait Implementations
impl RefUnwindSafe for OutputFormat
impl Send for OutputFormat
impl Sync for OutputFormat
impl Unpin for OutputFormat
impl UnwindSafe for OutputFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.