pub struct RupassArgs {Show 18 fields
pub language: Option<String>,
pub password_length: Option<usize>,
pub all: bool,
pub no_prompt: bool,
pub numbers: bool,
pub no_numbers: bool,
pub uppercase: bool,
pub no_uppercase: bool,
pub lowercase: bool,
pub no_lowercase: bool,
pub symbols: bool,
pub no_symbols: bool,
pub symbols_set: Option<String>,
pub timeout_ms: u64,
pub min_score: u8,
pub strict: bool,
pub show_strength: bool,
pub quiet: bool,
}Expand description
Fields§
§language: Option<String>§password_length: Option<usize>§all: bool§no_prompt: bool§numbers: bool§no_numbers: bool§uppercase: bool§no_uppercase: bool§lowercase: bool§no_lowercase: bool§symbols: bool§no_symbols: bool§symbols_set: Option<String>§timeout_ms: u64§min_score: u8§strict: bool§show_strength: bool§quiet: boolTrait Implementations§
Source§impl Args for RupassArgs
impl Args for RupassArgs
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 CommandFactory for RupassArgs
impl CommandFactory for RupassArgs
Source§impl Debug for RupassArgs
impl Debug for RupassArgs
Source§impl FromArgMatches for RupassArgs
impl FromArgMatches for RupassArgs
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 Parser for RupassArgs
impl Parser for RupassArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Source§impl PartialEq for RupassArgs
impl PartialEq for RupassArgs
impl StructuralPartialEq for RupassArgs
Auto Trait Implementations§
impl Freeze for RupassArgs
impl RefUnwindSafe for RupassArgs
impl Send for RupassArgs
impl Sync for RupassArgs
impl Unpin for RupassArgs
impl UnwindSafe for RupassArgs
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