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
Applies if a user enters new credentials using Android Pay
Tuple Fields of AndroidPay
Applies if a user enters new credentials using Apple Pay
Tuple Fields of ApplePay
Applies if a user enters new credentials on a payment provider website
Tuple Fields of New
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
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<InputCredentials, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<InputCredentials, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InputCredentials
impl Send for InputCredentials
impl Sync for InputCredentials
impl Unpin for InputCredentials
impl UnwindSafe for InputCredentials
Blanket Implementations
Mutably borrows from an owned value. Read more