pub enum PhoneInputFlags {
Show 18 variants
Alphabetic,
Telephone,
Numeric,
Equation,
Uppercase,
Lowercase,
AlphabeticPassword,
TelephonePassword,
NumericPassword,
EquationPassword,
UppercasePassword,
LowercasePassword,
PasswordAlphabetic,
PasswordTelephone,
PasswordNumeric,
PasswordEquation,
PasswordUppercase,
PasswordLowercase,
}Expand description
One of the input modes accepted by a phone input-service field.
The password-modified variants preserve whether P precedes or follows
the base mode because both forms are distinct accepted schema values.
Variants§
Alphabetic
Telephone
Numeric
Equation
Uppercase
Lowercase
AlphabeticPassword
TelephonePassword
NumericPassword
EquationPassword
UppercasePassword
LowercasePassword
PasswordAlphabetic
PasswordTelephone
PasswordNumeric
PasswordEquation
PasswordUppercase
PasswordLowercase
Implementations§
Trait Implementations§
Source§impl Clone for PhoneInputFlags
impl Clone for PhoneInputFlags
Source§fn clone(&self) -> PhoneInputFlags
fn clone(&self) -> PhoneInputFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PhoneInputFlags
Source§impl Debug for PhoneInputFlags
impl Debug for PhoneInputFlags
Source§impl<'de> Deserialize<'de> for PhoneInputFlags
impl<'de> Deserialize<'de> for PhoneInputFlags
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PhoneInputFlags
Source§impl PartialEq for PhoneInputFlags
impl PartialEq for PhoneInputFlags
Source§impl Serialize for PhoneInputFlags
impl Serialize for PhoneInputFlags
impl StructuralPartialEq for PhoneInputFlags
Auto Trait Implementations§
impl Freeze for PhoneInputFlags
impl RefUnwindSafe for PhoneInputFlags
impl Send for PhoneInputFlags
impl Sync for PhoneInputFlags
impl Unpin for PhoneInputFlags
impl UnsafeUnpin for PhoneInputFlags
impl UnwindSafe for PhoneInputFlags
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