struct FilterSpec {
tag: Option<i16>,
subfield: Option<char>,
trim: bool,
lower: bool,
}
Expand description
Options for filtering MARC records.
Fields§
§tag: Option<i16>
Specify the tag to filter to.
subfield: Option<char>
Specify the subfield to filter to.
trim: bool
Trim the contents before emitting.
lower: bool
Lowercase the contents before emitting.
Implementations§
Trait Implementations§
Source§impl Args for FilterSpec
impl Args for FilterSpec
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§impl Clone for FilterSpec
impl Clone for FilterSpec
Source§fn clone(&self) -> FilterSpec
fn clone(&self) -> FilterSpec
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FilterSpec
impl Debug for FilterSpec
Source§impl FromArgMatches for FilterSpec
impl FromArgMatches for FilterSpec
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
.Auto Trait Implementations§
impl Freeze for FilterSpec
impl RefUnwindSafe for FilterSpec
impl Send for FilterSpec
impl Sync for FilterSpec
impl Unpin for FilterSpec
impl UnwindSafe for FilterSpec
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