Enum kanidm_cli::OutputMode
source · pub enum OutputMode {
Text,
Json,
}
Expand description
The CLI output mode, either text or json, falls back to text if you ask for something other than text/json
Variants§
Implementations§
source§impl OutputMode
impl OutputMode
pub fn print_message<T>(self, input: T)
Trait Implementations§
source§impl Clone for OutputMode
impl Clone for OutputMode
source§fn clone(&self) -> OutputMode
fn clone(&self) -> OutputMode
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 Debug for OutputMode
impl Debug for OutputMode
source§impl FromStr for OutputMode
impl FromStr for OutputMode
impl Copy for OutputMode
Auto Trait Implementations§
impl RefUnwindSafe for OutputMode
impl Send for OutputMode
impl Sync for OutputMode
impl Unpin for OutputMode
impl UnwindSafe for OutputMode
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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