pub enum AutocompleteEnum {
Email,
Tel,
Url,
CurrentPassword,
NewPassword,
OneTimeCode,
}
Expand description
The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode
Variants§
Trait Implementations§
source§impl Clone for AutocompleteEnum
impl Clone for AutocompleteEnum
source§fn clone(&self) -> AutocompleteEnum
fn clone(&self) -> AutocompleteEnum
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 moresource§impl Debug for AutocompleteEnum
impl Debug for AutocompleteEnum
source§impl<'de> Deserialize<'de> for AutocompleteEnum
impl<'de> Deserialize<'de> for AutocompleteEnum
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
source§impl Hash for AutocompleteEnum
impl Hash for AutocompleteEnum
source§impl Ord for AutocompleteEnum
impl Ord for AutocompleteEnum
source§fn cmp(&self, other: &AutocompleteEnum) -> Ordering
fn cmp(&self, other: &AutocompleteEnum) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AutocompleteEnum> for AutocompleteEnum
impl PartialEq<AutocompleteEnum> for AutocompleteEnum
source§fn eq(&self, other: &AutocompleteEnum) -> bool
fn eq(&self, other: &AutocompleteEnum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AutocompleteEnum> for AutocompleteEnum
impl PartialOrd<AutocompleteEnum> for AutocompleteEnum
source§fn partial_cmp(&self, other: &AutocompleteEnum) -> Option<Ordering>
fn partial_cmp(&self, other: &AutocompleteEnum) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for AutocompleteEnum
impl Serialize for AutocompleteEnum
impl Copy for AutocompleteEnum
impl Eq for AutocompleteEnum
impl StructuralEq for AutocompleteEnum
impl StructuralPartialEq for AutocompleteEnum
Auto Trait Implementations§
impl RefUnwindSafe for AutocompleteEnum
impl Send for AutocompleteEnum
impl Sync for AutocompleteEnum
impl Unpin for AutocompleteEnum
impl UnwindSafe for AutocompleteEnum
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.