pub struct CardGeneratedFromPaymentMethodDetails {
pub card_present: Option<PaymentMethodDetailsCardPresent>,
pub type_: String,
}Fields§
§card_present: Option<PaymentMethodDetailsCardPresent>§type_: StringThe type of payment method transaction-specific details from the transaction that generated this card payment method.
Always card_present.
Trait Implementations§
Source§impl Clone for CardGeneratedFromPaymentMethodDetails
impl Clone for CardGeneratedFromPaymentMethodDetails
Source§fn clone(&self) -> CardGeneratedFromPaymentMethodDetails
fn clone(&self) -> CardGeneratedFromPaymentMethodDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FromValueOpt for CardGeneratedFromPaymentMethodDetails
impl FromValueOpt for CardGeneratedFromPaymentMethodDetails
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for CardGeneratedFromPaymentMethodDetails
impl PartialEq for CardGeneratedFromPaymentMethodDetails
Source§fn eq(&self, other: &CardGeneratedFromPaymentMethodDetails) -> bool
fn eq(&self, other: &CardGeneratedFromPaymentMethodDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CardGeneratedFromPaymentMethodDetails
impl StructuralPartialEq for CardGeneratedFromPaymentMethodDetails
Auto Trait Implementations§
impl Freeze for CardGeneratedFromPaymentMethodDetails
impl RefUnwindSafe for CardGeneratedFromPaymentMethodDetails
impl Send for CardGeneratedFromPaymentMethodDetails
impl Sync for CardGeneratedFromPaymentMethodDetails
impl Unpin for CardGeneratedFromPaymentMethodDetails
impl UnsafeUnpin for CardGeneratedFromPaymentMethodDetails
impl UnwindSafe for CardGeneratedFromPaymentMethodDetails
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