Enum rtdlib::types::InputCredentials[][src]

pub enum InputCredentials {
    AndroidPay(InputCredentialsAndroidPay),
    ApplePay(InputCredentialsApplePay),
    New(InputCredentialsNew),
    Saved(InputCredentialsSaved),
    // some variants omitted
}
Expand description

Contains information about the payment method chosen by the user

Variants

AndroidPay

Applies if a user enters new credentials using Android Pay

Tuple Fields of AndroidPay

0: InputCredentialsAndroidPay
ApplePay

Applies if a user enters new credentials using Apple Pay

Tuple Fields of ApplePay

0: InputCredentialsApplePay
New

Applies if a user enters new credentials on a payment provider website

Tuple Fields of New

0: InputCredentialsNew
Saved

Applies if a user chooses some previously saved payment credentials. To use their previously saved credentials, the user must have a valid temporary password

Tuple Fields of Saved

0: InputCredentialsSaved

Implementations

Trait Implementations

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Return td type to json string

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.