Enum rust_tdlib::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(InputCredentialsAndroidPay)Applies if a user enters new credentials using Android Pay
ApplePay(InputCredentialsApplePay)Applies if a user enters new credentials using Apple 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<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InputCredentialsimpl Send for InputCredentialsimpl Sync for InputCredentialsimpl Unpin for InputCredentialsimpl UnwindSafe for InputCredentialsBlanket Implementations
Mutably borrows from an owned value. Read more