pub struct MaskedQuestion {
pub mask: Option<char>,
pub validate: Option<String>,
}Expand description
Configuration for a password/masked input question.
Fields§
§mask: Option<char>The masking character (default: ‘*’).
validate: Option<String>Validation function name.
Implementations§
Trait Implementations§
Source§impl Clone for MaskedQuestion
impl Clone for MaskedQuestion
Source§fn clone(&self) -> MaskedQuestion
fn clone(&self) -> MaskedQuestion
Returns a duplicate 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 MaskedQuestion
impl Debug for MaskedQuestion
Source§impl Default for MaskedQuestion
impl Default for MaskedQuestion
Source§fn default() -> MaskedQuestion
fn default() -> MaskedQuestion
Returns the “default value” for a type. Read more
Source§impl PartialEq for MaskedQuestion
impl PartialEq for MaskedQuestion
impl StructuralPartialEq for MaskedQuestion
Auto Trait Implementations§
impl Freeze for MaskedQuestion
impl RefUnwindSafe for MaskedQuestion
impl Send for MaskedQuestion
impl Sync for MaskedQuestion
impl Unpin for MaskedQuestion
impl UnwindSafe for MaskedQuestion
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