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.
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 moreAuto 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