pub enum AutocompleteValue {
Show 19 variants
Name,
GivenName,
FamilyName,
Email,
Tel,
StreetAddress,
AddressLevel1,
AddressLevel2,
PostalCode,
Country,
Organization,
Username,
CurrentPassword,
NewPassword,
CcNumber,
CcExp,
CcCsc,
OneTimeCode,
Off,
}Expand description
Autocomplete attribute values (WCAG 1.3.5).
Variants§
Name
User’s name
GivenName
Given (first) name
FamilyName
Family (last) name
Email address
Tel
Telephone number
StreetAddress
Street address
AddressLevel1
Address level 1 (city)
AddressLevel2
Address level 2 (state/province)
PostalCode
Postal code
Country
Country name
Organization
Organization
Username
Username
CurrentPassword
Current password
NewPassword
New password
CcNumber
Credit card number
CcExp
Credit card expiration
CcCsc
Credit card CVV
OneTimeCode
One-time code
Off
Turn off autocomplete
Implementations§
Trait Implementations§
Source§impl Clone for AutocompleteValue
impl Clone for AutocompleteValue
Source§fn clone(&self) -> AutocompleteValue
fn clone(&self) -> AutocompleteValue
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 AutocompleteValue
impl Debug for AutocompleteValue
Source§impl PartialEq for AutocompleteValue
impl PartialEq for AutocompleteValue
impl Copy for AutocompleteValue
impl Eq for AutocompleteValue
impl StructuralPartialEq for AutocompleteValue
Auto Trait Implementations§
impl Freeze for AutocompleteValue
impl RefUnwindSafe for AutocompleteValue
impl Send for AutocompleteValue
impl Sync for AutocompleteValue
impl Unpin for AutocompleteValue
impl UnwindSafe for AutocompleteValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.