Enum inquire::PasswordDisplayMode [−][src]
pub enum PasswordDisplayMode {
Hidden,
Masked,
Full,
}
Expand description
Display modes of the text input of a password prompt.
Variants
Password text input is not rendered at all, no indication of input.
Characters of the password text input are rendered marked as different characters, such as asterisks. These characters are configured in the render config.
Password text input is fully rendered as a normal input, just like Text prompts.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PasswordDisplayMode
impl Send for PasswordDisplayMode
impl Sync for PasswordDisplayMode
impl Unpin for PasswordDisplayMode
impl UnwindSafe for PasswordDisplayMode
Blanket Implementations
Mutably borrows from an owned value. Read more