Enum kanidm_cli::PwBadlistOpt
source · [−]pub enum PwBadlistOpt {
Show(CommonOpt),
Upload {
copt: CommonOpt,
paths: Vec<PathBuf>,
},
Remove {
copt: CommonOpt,
paths: Vec<PathBuf>,
},
}
Variants
Show(CommonOpt)
Show information about this system’s password badlist
Upload
Upload an extra badlist, appending to the currently configured one. This badlist will be preprocessed to remove items that are already caught by “zxcvbn” at the configured level.
Remove
Remove the content of these lists if present in the configured badlist.
Implementations
Trait Implementations
sourceimpl Debug for PwBadlistOpt
impl Debug for PwBadlistOpt
sourceimpl FromArgMatches for PwBadlistOpt
impl FromArgMatches for PwBadlistOpt
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
sourcefn 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>
sourcefn 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
.sourcefn 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
.sourceimpl Subcommand for PwBadlistOpt
impl Subcommand for PwBadlistOpt
sourcefn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
sourcefn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
sourcefn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations
impl RefUnwindSafe for PwBadlistOpt
impl Send for PwBadlistOpt
impl Sync for PwBadlistOpt
impl Unpin for PwBadlistOpt
impl UnwindSafe for PwBadlistOpt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more