Enum bookdata::cli::ClusterCommand
source · 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
source§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 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