ArkUI_TextInputContentType

Struct ArkUI_TextInputContentType 

Source
#[repr(transparent)]
pub struct ArkUI_TextInputContentType(pub c_uint);
Available on crate feature api-12 only.
Expand description

Enumerates the autofill types.

Available since API-level: 12

Tuple Fields§

§0: c_uint

Implementations§

Source§

impl ArkUI_TextInputContentType

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_USER_NAME: ArkUI_TextInputContentType

Username. Password Vault, when enabled, can automatically save and fill in usernames.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_PASSWORD: ArkUI_TextInputContentType

Password. Password Vault, when enabled, can automatically save and fill in passwords.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_NEW_PASSWORD: ArkUI_TextInputContentType

New password. Password Vault, when enabled, can automatically generate a new password.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_FULL_STREET_ADDRESS: ArkUI_TextInputContentType

Full street address. The scenario-based autofill feature, when enabled, can automatically save and fill in full street addresses.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_HOUSE_NUMBER: ArkUI_TextInputContentType

House number. The scenario-based autofill feature, when enabled, can automatically save and fill in house numbers.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_DISTRICT_ADDRESS: ArkUI_TextInputContentType

District and county. The scenario-based autofill feature, when enabled, can automatically save and fill in districts and counties.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_CITY_ADDRESS: ArkUI_TextInputContentType

City. The scenario-based autofill feature, when enabled, can automatically save and fill in cities.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_PROVINCE_ADDRESS: ArkUI_TextInputContentType

Province. The scenario-based autofill feature, when enabled, can automatically save and fill in provinces.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_COUNTRY_ADDRESS: ArkUI_TextInputContentType

Country. The scenario-based autofill feature, when enabled, can automatically save and fill in countries.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_PERSON_FULL_NAME: ArkUI_TextInputContentType

Full name. The scenario-based autofill feature, when enabled, can automatically save and fill in full names.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_PERSON_LAST_NAME: ArkUI_TextInputContentType

Last name. The scenario-based autofill feature, when enabled, can automatically save and fill in last names.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_PERSON_FIRST_NAME: ArkUI_TextInputContentType

First name. The scenario-based autofill feature, when enabled, can automatically save and fill in first names.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_PHONE_NUMBER: ArkUI_TextInputContentType

Phone number. The scenario-based autofill feature, when enabled, can automatically save and fill in phone numbers.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_PHONE_COUNTRY_CODE: ArkUI_TextInputContentType

Country code. The scenario-based autofill feature, when enabled, can automatically save and fill in country codes.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_FULL_PHONE_NUMBER: ArkUI_TextInputContentType

Phone number with country code. The scenario-based autofill feature, when enabled, can automatically save and fill in phone numbers with country codes.

Source

pub const ARKUI_TEXTINPUT_CONTENT_EMAIL_ADDRESS: ArkUI_TextInputContentType

Email address. The scenario-based autofill feature, when enabled, can automatically save and fill in email addresses.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_BANK_CARD_NUMBER: ArkUI_TextInputContentType

Bank card number. The scenario-based autofill feature, when enabled, can automatically save and fill in bank card numbers.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_ID_CARD_NUMBER: ArkUI_TextInputContentType

ID card number. The scenario-based autofill feature, when enabled, can automatically save and fill in ID card numbers.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_NICKNAME: ArkUI_TextInputContentType

Nickname. The scenario-based autofill feature, when enabled, can automatically save and fill in nicknames.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_DETAIL_INFO_WITHOUT_STREET: ArkUI_TextInputContentType

Address information without street address. The scenario-based autofill feature, when enabled, can automatically save and fill in address information without street addresses.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_FORMAT_ADDRESS: ArkUI_TextInputContentType

Standard address. The scenario-based autofill feature, when enabled, can automatically save and fill in standard addresses.

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_PASSPORT_NUMBER: ArkUI_TextInputContentType

Available on crate feature api-18 only.

Passport number. The scenario-based autofill feature, when enabled, can automatically save and fill in passport numbers.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_VALIDITY: ArkUI_TextInputContentType

Available on crate feature api-18 only.

Passport validity. The scenario-based autofill feature, when enabled, can automatically save and fill in passport validities.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_ISSUE_AT: ArkUI_TextInputContentType

Available on crate feature api-18 only.

Place of issue. The scenario-based autofill feature, when enabled, can automatically save and fill in place of issues.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_ORGANIZATION: ArkUI_TextInputContentType

Available on crate feature api-18 only.

Tax organization. The scenario-based autofill feature, when enabled, can automatically save and fill in tax organizations.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_TAX_ID: ArkUI_TextInputContentType

Available on crate feature api-18 only.

Tax id. The scenario-based autofill feature, when enabled, can automatically save and fill in standard Tax ids.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_ADDRESS_CITY_AND_STATE: ArkUI_TextInputContentType

Available on crate feature api-18 only.

City name and state name or state code. The scenario-based autofill feature, when enabled, can automatically save and fill in city names and state names or state codes.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_FLIGHT_NUMBER: ArkUI_TextInputContentType

Available on crate feature api-18 only.

Flight number. The scenario-based autofill feature, when enabled, can automatically save and fill in flight numbers.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_LICENSE_NUMBER: ArkUI_TextInputContentType

Available on crate feature api-18 only.

License number. The scenario-based autofill feature, when enabled, can automatically save and fill in license numbers.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_LICENSE_FILE_NUMBER: ArkUI_TextInputContentType

Available on crate feature api-18 only.

License file number. The scenario-based autofill feature, when enabled, can automatically save and fill in license file numbers.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_LICENSE_PLATE: ArkUI_TextInputContentType

Available on crate feature api-18 only.

License plate number. The scenario-based autofill feature, when enabled, can automatically save and fill in license plate numbers.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_ENGINE_NUMBER: ArkUI_TextInputContentType

Available on crate feature api-18 only.

Engine number. The scenario-based autofill feature, when enabled, can automatically save and fill in engine numbers.

Available since API-level: 18

Source

pub const ARKUI_TEXTINPUT_CONTENT_TYPE_LICENSE_CHASSIS_NUMBER: ArkUI_TextInputContentType

Available on crate feature api-18 only.

License chassis number. The scenario-based autofill feature, when enabled, can automatically save and fill in license chassis numbers.

Available since API-level: 18

Trait Implementations§

Source§

impl Clone for ArkUI_TextInputContentType

Source§

fn clone(&self) -> ArkUI_TextInputContentType

Returns a duplicate of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ArkUI_TextInputContentType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Hash for ArkUI_TextInputContentType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for ArkUI_TextInputContentType

Source§

fn eq(&self, other: &ArkUI_TextInputContentType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ArkUI_TextInputContentType

Source§

impl Eq for ArkUI_TextInputContentType

Source§

impl StructuralPartialEq for ArkUI_TextInputContentType

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.