pub enum RootCommand {
Show 15 variants ScanMARC(ScanMARC), FilterMARC(FilterMARC), ClusterBooks(ClusterBooks), IndexNames(IndexNames), ExtractGraph(ExtractGraph), CollectISBNS(CollectISBNs), LinkISBNIds(LinkISBNIds), Amazon(AmazonCommandWrapper), Openlib(OpenLib), BX(BXCommandWrapper), Goodreads(Goodreads), Cluster(ClusterCommandWrapper), Kcore(Kcore), PQInfo(PQInfo), IntegrationStats(IntegrationStats),
}
Expand description

Enum to collect and dispatch CLI commands.

Variants§

§

ScanMARC(ScanMARC)

§

FilterMARC(FilterMARC)

§

ClusterBooks(ClusterBooks)

§

IndexNames(IndexNames)

§

ExtractGraph(ExtractGraph)

§

CollectISBNS(CollectISBNs)

§

LinkISBNIds(LinkISBNIds)

§

Amazon(AmazonCommandWrapper)

Commands for processing Amazon data.

§

Openlib(OpenLib)

Commands for processing OpenLibrary data.

§

BX(BXCommandWrapper)

Commands for processing BookCrossing data.

§

Goodreads(Goodreads)

Commands for processing GoodReads data.

§

Cluster(ClusterCommandWrapper)

Commands for working with clusters.

§

Kcore(Kcore)

§

PQInfo(PQInfo)

§

IntegrationStats(IntegrationStats)

Trait Implementations§

source§

impl Command for RootCommand

source§

fn exec(&self) -> Result<()>

Run the command with options

source§

impl Debug for RootCommand

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<AmazonCommandWrapper> for RootCommand

source§

fn from(v: AmazonCommandWrapper) -> RootCommand

Converts to this type from the input type.
source§

impl From<BXCommandWrapper> for RootCommand

source§

fn from(v: BXCommandWrapper) -> RootCommand

Converts to this type from the input type.
source§

impl From<ClusterBooks> for RootCommand

source§

fn from(v: ClusterBooks) -> RootCommand

Converts to this type from the input type.
source§

impl From<ClusterCommandWrapper> for RootCommand

source§

fn from(v: ClusterCommandWrapper) -> RootCommand

Converts to this type from the input type.
source§

impl From<CollectISBNs> for RootCommand

source§

fn from(v: CollectISBNs) -> RootCommand

Converts to this type from the input type.
source§

impl From<ExtractGraph> for RootCommand

source§

fn from(v: ExtractGraph) -> RootCommand

Converts to this type from the input type.
source§

impl From<FilterMARC> for RootCommand

source§

fn from(v: FilterMARC) -> RootCommand

Converts to this type from the input type.
source§

impl From<Goodreads> for RootCommand

source§

fn from(v: Goodreads) -> RootCommand

Converts to this type from the input type.
source§

impl From<IndexNames> for RootCommand

source§

fn from(v: IndexNames) -> RootCommand

Converts to this type from the input type.
source§

impl From<IntegrationStats> for RootCommand

source§

fn from(v: IntegrationStats) -> RootCommand

Converts to this type from the input type.
source§

impl From<Kcore> for RootCommand

source§

fn from(v: Kcore) -> RootCommand

Converts to this type from the input type.
source§

impl From<LinkISBNIds> for RootCommand

source§

fn from(v: LinkISBNIds) -> RootCommand

Converts to this type from the input type.
source§

impl From<OpenLib> for RootCommand

source§

fn from(v: OpenLib) -> RootCommand

Converts to this type from the input type.
source§

impl From<PQInfo> for RootCommand

source§

fn from(v: PQInfo) -> RootCommand

Converts to this type from the input type.
source§

impl From<ScanMARC> for RootCommand

source§

fn from(v: ScanMARC) -> RootCommand

Converts to this type from the input type.
source§

impl FromArgMatches for RootCommand

source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
source§

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>

Assign values from ArgMatches to self.
source§

impl Subcommand for RootCommand

source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self. Read more
source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can update self. Read more
source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand
source§

impl TryInto<AmazonCommandWrapper> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<AmazonCommandWrapper, <Self as TryInto<AmazonCommandWrapper>>::Error>

Performs the conversion.
source§

impl TryInto<BXCommandWrapper> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<BXCommandWrapper, <Self as TryInto<BXCommandWrapper>>::Error>

Performs the conversion.
source§

impl TryInto<ClusterBooks> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<ClusterBooks, <Self as TryInto<ClusterBooks>>::Error>

Performs the conversion.
source§

impl TryInto<ClusterCommandWrapper> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<ClusterCommandWrapper, <Self as TryInto<ClusterCommandWrapper>>::Error>

Performs the conversion.
source§

impl TryInto<CollectISBNs> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<CollectISBNs, <Self as TryInto<CollectISBNs>>::Error>

Performs the conversion.
source§

impl TryInto<ExtractGraph> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<ExtractGraph, <Self as TryInto<ExtractGraph>>::Error>

Performs the conversion.
source§

impl TryInto<FilterMARC> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<FilterMARC, <Self as TryInto<FilterMARC>>::Error>

Performs the conversion.
source§

impl TryInto<Goodreads> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Goodreads, <Self as TryInto<Goodreads>>::Error>

Performs the conversion.
source§

impl TryInto<IndexNames> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<IndexNames, <Self as TryInto<IndexNames>>::Error>

Performs the conversion.
source§

impl TryInto<IntegrationStats> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into( self ) -> Result<IntegrationStats, <Self as TryInto<IntegrationStats>>::Error>

Performs the conversion.
source§

impl TryInto<Kcore> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<Kcore, <Self as TryInto<Kcore>>::Error>

Performs the conversion.
source§

impl TryInto<LinkISBNIds> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<LinkISBNIds, <Self as TryInto<LinkISBNIds>>::Error>

Performs the conversion.
source§

impl TryInto<OpenLib> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<OpenLib, <Self as TryInto<OpenLib>>::Error>

Performs the conversion.
source§

impl TryInto<PQInfo> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<PQInfo, <Self as TryInto<PQInfo>>::Error>

Performs the conversion.
source§

impl TryInto<ScanMARC> for RootCommand

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<ScanMARC, <Self as TryInto<ScanMARC>>::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoResult<T> for T

§

type Err = Infallible

source§

fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V