Enum rp_cli::clap_rp::RpSubCommand
source · [−]pub enum RpSubCommand {
Run(RunArgs),
Fmt(FmtArgs),
Share(ShareArgs),
Download(DownloadArgs),
}Variants
Run(RunArgs)
Fmt(FmtArgs)
Share(ShareArgs)
Download(DownloadArgs)
Trait Implementations
sourceimpl Debug for RpSubCommand
impl Debug for RpSubCommand
sourceimpl FromArgMatches for RpSubCommand
impl FromArgMatches for RpSubCommand
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
sourcefn update_from_arg_matches<'b>(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches<'b>(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
Assign values from ArgMatches to self.
sourceimpl PartialEq<RpSubCommand> for RpSubCommand
impl PartialEq<RpSubCommand> for RpSubCommand
sourcefn eq(&self, other: &RpSubCommand) -> bool
fn eq(&self, other: &RpSubCommand) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RpSubCommand) -> bool
fn ne(&self, other: &RpSubCommand) -> bool
This method tests for !=.
sourceimpl Subcommand for RpSubCommand
impl Subcommand for RpSubCommand
sourcefn augment_subcommands<'b>(__clap_app: App<'b>) -> App<'b>
fn augment_subcommands<'b>(__clap_app: App<'b>) -> App<'b>
sourcefn augment_subcommands_for_update<'b>(__clap_app: App<'b>) -> App<'b>
fn augment_subcommands_for_update<'b>(__clap_app: App<'b>) -> App<'b>
sourcefn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether Self can parse a specific subcommand
impl StructuralPartialEq for RpSubCommand
Auto Trait Implementations
impl RefUnwindSafe for RpSubCommand
impl Send for RpSubCommand
impl Sync for RpSubCommand
impl Unpin for RpSubCommand
impl UnwindSafe for RpSubCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more