#[non_exhaustive]pub struct FormatLong {
pub format: OutputFormat,
pub quiet: bool,
}Available on crate feature
cli only.Expand description
--format and -q/--quiet without the -f short flag, for CLIs that
already use -f for a domain flag such as --file.
A flag can join it in a minor release.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.format: OutputFormatOutput representation.
quiet: boolSuppress successful pretty output.
Implementations§
Trait Implementations§
Source§impl Args for FormatLong
impl Args for FormatLong
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for FormatLong
impl Clone for FormatLong
Source§impl Debug for FormatLong
impl Debug for FormatLong
Source§impl Default for FormatLong
impl Default for FormatLong
impl Eq for FormatLong
Source§impl FromArgMatches for FormatLong
impl FromArgMatches for FormatLong
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl PartialEq for FormatLong
impl PartialEq for FormatLong
impl StructuralPartialEq for FormatLong
Auto Trait Implementations§
impl Forget for FormatLong
impl Freeze for FormatLong
impl Move for FormatLong
impl RefUnwindSafe for FormatLong
impl Send for FormatLong
impl Sync for FormatLong
impl Unpin for FormatLong
impl UnsafeUnpin for FormatLong
impl UnwindSafe for FormatLong
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