pub enum PasswordDisplayMode {
Hidden,
Masked,
Full,
}Expand description
Display modes of the text input of a password prompt.
Variants§
Hidden
Password text input is not rendered at all, no indication of input.
Masked
Characters of the password text input are rendered marked as different characters, such as asterisks. These characters are configured in the render config.
Full
Password text input is fully rendered as a normal input, just like Text prompts.
Trait Implementations§
source§impl Clone for PasswordDisplayMode
impl Clone for PasswordDisplayMode
source§fn clone(&self) -> PasswordDisplayMode
fn clone(&self) -> PasswordDisplayMode
Returns a copy 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 more