pub enum ClusterCommand {
Hash(HashCmd),
ExtractBooks(ExtractBooks),
ExtractAuthors(ClusterAuthors),
ExtractAuthorGender(AuthorGender),
}
Variants§
Hash(HashCmd)
ExtractBooks(ExtractBooks)
ExtractAuthors(ClusterAuthors)
ExtractAuthorGender(AuthorGender)
Trait Implementations§
Source§impl Command for ClusterCommand
impl Command for ClusterCommand
Source§impl Debug for ClusterCommand
impl Debug for ClusterCommand
Source§impl From<AuthorGender> for ClusterCommand
impl From<AuthorGender> for ClusterCommand
Source§fn from(v: AuthorGender) -> ClusterCommand
fn from(v: AuthorGender) -> ClusterCommand
Converts to this type from the input type.
Source§impl From<ClusterAuthors> for ClusterCommand
impl From<ClusterAuthors> for ClusterCommand
Source§fn from(v: ClusterAuthors) -> ClusterCommand
fn from(v: ClusterAuthors) -> ClusterCommand
Converts to this type from the input type.
Source§impl From<ExtractBooks> for ClusterCommand
impl From<ExtractBooks> for ClusterCommand
Source§fn from(v: ExtractBooks) -> ClusterCommand
fn from(v: ExtractBooks) -> ClusterCommand
Converts to this type from the input type.
Source§impl From<HashCmd> for ClusterCommand
impl From<HashCmd> for ClusterCommand
Source§fn from(v: HashCmd) -> ClusterCommand
fn from(v: HashCmd) -> ClusterCommand
Converts to this type from the input type.
Source§impl FromArgMatches for ClusterCommand
impl FromArgMatches for ClusterCommand
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§impl Subcommand for ClusterCommand
impl Subcommand for ClusterCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command
so it can instantiate self
via
FromArgMatches::update_from_arg_matches_mut
Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandSource§impl TryInto<AuthorGender> for ClusterCommand
impl TryInto<AuthorGender> for ClusterCommand
Source§impl TryInto<ClusterAuthors> for ClusterCommand
impl TryInto<ClusterAuthors> for ClusterCommand
Source§impl TryInto<ExtractBooks> for ClusterCommand
impl TryInto<ExtractBooks> for ClusterCommand
Auto Trait Implementations§
impl Freeze for ClusterCommand
impl RefUnwindSafe for ClusterCommand
impl Send for ClusterCommand
impl Sync for ClusterCommand
impl Unpin for ClusterCommand
impl UnwindSafe for ClusterCommand
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more