pub struct ExtractBooks {
output: PathBuf,
book_codes: bool,
field_name: String,
join_file: Option<PathBuf>,
join_field: Option<String>,
namespace: String,
}Expand description
Extract cluster book codes for a particular namespace.
Fields§
§output: PathBufSpecify output file
book_codes: boolOutput numspaced book codes instead of original IDs.
field_name: StringSpecify the name of the book code field.
join_file: Option<PathBuf>Specify an additional file to join into the results.
join_field: Option<String>Speficy a field to read from the join file.
namespace: StringExtract book codes in namespace NS.
Trait Implementations§
Source§impl Args for ExtractBooks
impl Args for ExtractBooks
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 Debug for ExtractBooks
impl Debug for ExtractBooks
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 FromArgMatches for ExtractBooks
impl FromArgMatches for ExtractBooks
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 TryInto<ExtractBooks> for ClusterCommand
impl TryInto<ExtractBooks> for ClusterCommand
Auto Trait Implementations§
impl Freeze for ExtractBooks
impl RefUnwindSafe for ExtractBooks
impl Send for ExtractBooks
impl Sync for ExtractBooks
impl Unpin for ExtractBooks
impl UnwindSafe for ExtractBooks
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