Enum solana_cli_output::OutputFormat
source · [−]pub enum OutputFormat {
Display,
Json,
JsonCompact,
DisplayQuiet,
DisplayVerbose,
}
Variants
Display
Json
JsonCompact
DisplayQuiet
DisplayVerbose
Implementations
sourceimpl OutputFormat
impl OutputFormat
pub fn formatted_string<T>(&self, item: &T) -> Stringwhere
T: Serialize + Display + QuietDisplay + VerboseDisplay,
pub fn from_matches(
matches: &ArgMatches<'_>,
output_name: &str,
verbose: bool
) -> Self
Trait Implementations
sourceimpl Debug for OutputFormat
impl Debug for OutputFormat
sourceimpl PartialEq<OutputFormat> for OutputFormat
impl PartialEq<OutputFormat> for OutputFormat
sourcefn eq(&self, other: &OutputFormat) -> bool
fn eq(&self, other: &OutputFormat) -> bool
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
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
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