pub enum AutoFill {
Show 27 variants
Default,
Off,
Username,
Password,
NewPassword,
OneTimeCode,
Email,
Tel,
Name,
GivenName,
FamilyName,
MiddleName,
Nickname,
Organization,
StreetAddress,
AddressLine1,
AddressLine2,
City,
Region,
PostalCode,
Country,
CreditCardNumber,
CreditCardExpiration,
CreditCardSecurityCode,
CreditCardName,
Url,
Birthdate,
}Expand description
What an input holds, for the system’s autofill and suggestions
(autoComplete, textContentType).
Variants§
Default
The platform decides.
Off
No autofill.
Username
Account name.
Password
Existing password.
NewPassword
A password being chosen.
OneTimeCode
A code from a text message or e-mail.
E-mail address.
Tel
Phone number.
Name
Full name.
GivenName
First name.
FamilyName
Last name.
MiddleName
Middle name.
Nickname
Nickname.
Organization
Company.
StreetAddress
Street address, all lines.
AddressLine1
First address line.
AddressLine2
Second address line.
City
City.
Region
State or region.
PostalCode
Postal code.
Country
Country.
CreditCardNumber
Credit card number.
CreditCardExpiration
Credit card expiry date.
CreditCardSecurityCode
Credit card security code.
CreditCardName
Name on the credit card.
Url
Web address.
Birthdate
Birth date.
Implementations§
Trait Implementations§
impl Copy for AutoFill
impl Eq for AutoFill
Source§impl HostValue for AutoFill
autoComplete values or iOS’s textContentType names; others are the
platform’s default (and a warning).
impl HostValue for AutoFill
autoComplete values or iOS’s textContentType names; others are the
platform’s default (and a warning).
Source§impl IntoReactive<AutoFill> for AutoFill
impl IntoReactive<AutoFill> for AutoFill
impl StructuralPartialEq for AutoFill
Auto Trait Implementations§
impl Forget for AutoFill
impl Freeze for AutoFill
impl Move for AutoFill
impl RefUnwindSafe for AutoFill
impl Send for AutoFill
impl Sync for AutoFill
impl Unpin for AutoFill
impl UnsafeUnpin for AutoFill
impl UnwindSafe for AutoFill
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