Enum rtdlib::types::InputCredentials
source · [−]pub enum InputCredentials {
ApplePay(InputCredentialsApplePay),
GooglePay(InputCredentialsGooglePay),
New(InputCredentialsNew),
Saved(InputCredentialsSaved),
// some variants omitted
}
Expand description
Contains information about the payment method chosen by the user
Variants
ApplePay(InputCredentialsApplePay)
Applies if a user enters new credentials using Apple Pay
GooglePay(InputCredentialsGooglePay)
Applies if a user enters new credentials using Google Pay
New(InputCredentialsNew)
Applies if a user enters new credentials on a payment provider website
Saved(InputCredentialsSaved)
Applies if a user chooses some previously saved payment credentials. To use their previously saved credentials, the user must have a valid temporary password
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