pub enum InputPaymentCredentials {
Saved(InputPaymentCredentialsSaved),
InputPaymentCredentials(InputPaymentCredentials),
ApplePay(InputPaymentCredentialsApplePay),
GooglePay(InputPaymentCredentialsGooglePay),
}Expand description
Variants§
Saved(InputPaymentCredentialsSaved)
InputPaymentCredentials(InputPaymentCredentials)
ApplePay(InputPaymentCredentialsApplePay)
GooglePay(InputPaymentCredentialsGooglePay)
Trait Implementations§
Source§impl Clone for InputPaymentCredentials
impl Clone for InputPaymentCredentials
Source§fn clone(&self) -> InputPaymentCredentials
fn clone(&self) -> InputPaymentCredentials
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputPaymentCredentials
impl Debug for InputPaymentCredentials
Source§impl Deserializable for InputPaymentCredentials
impl Deserializable for InputPaymentCredentials
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputPaymentCredentials> for InputPaymentCredentials
impl From<InputPaymentCredentials> for InputPaymentCredentials
Source§fn from(x: InputPaymentCredentials) -> Self
fn from(x: InputPaymentCredentials) -> Self
Converts to this type from the input type.
Source§impl From<InputPaymentCredentialsApplePay> for InputPaymentCredentials
impl From<InputPaymentCredentialsApplePay> for InputPaymentCredentials
Source§fn from(x: InputPaymentCredentialsApplePay) -> Self
fn from(x: InputPaymentCredentialsApplePay) -> Self
Converts to this type from the input type.
Source§impl From<InputPaymentCredentialsGooglePay> for InputPaymentCredentials
impl From<InputPaymentCredentialsGooglePay> for InputPaymentCredentials
Source§fn from(x: InputPaymentCredentialsGooglePay) -> Self
fn from(x: InputPaymentCredentialsGooglePay) -> Self
Converts to this type from the input type.
Source§impl From<InputPaymentCredentialsSaved> for InputPaymentCredentials
impl From<InputPaymentCredentialsSaved> for InputPaymentCredentials
Source§fn from(x: InputPaymentCredentialsSaved) -> Self
fn from(x: InputPaymentCredentialsSaved) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputPaymentCredentials
impl PartialEq for InputPaymentCredentials
Source§impl TryFrom<InputPaymentCredentials> for InputPaymentCredentials
impl TryFrom<InputPaymentCredentials> for InputPaymentCredentials
Source§type Error = InputPaymentCredentials
type Error = InputPaymentCredentials
The type returned in the event of a conversion error.
Source§impl TryFrom<InputPaymentCredentials> for InputPaymentCredentialsApplePay
impl TryFrom<InputPaymentCredentials> for InputPaymentCredentialsApplePay
Source§type Error = InputPaymentCredentials
type Error = InputPaymentCredentials
The type returned in the event of a conversion error.
Source§impl TryFrom<InputPaymentCredentials> for InputPaymentCredentialsGooglePay
impl TryFrom<InputPaymentCredentials> for InputPaymentCredentialsGooglePay
Source§type Error = InputPaymentCredentials
type Error = InputPaymentCredentials
The type returned in the event of a conversion error.
Source§impl TryFrom<InputPaymentCredentials> for InputPaymentCredentialsSaved
impl TryFrom<InputPaymentCredentials> for InputPaymentCredentialsSaved
Source§type Error = InputPaymentCredentials
type Error = InputPaymentCredentials
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputPaymentCredentials
Auto Trait Implementations§
impl Freeze for InputPaymentCredentials
impl RefUnwindSafe for InputPaymentCredentials
impl Send for InputPaymentCredentials
impl Sync for InputPaymentCredentials
impl Unpin for InputPaymentCredentials
impl UnsafeUnpin for InputPaymentCredentials
impl UnwindSafe for InputPaymentCredentials
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more