pub struct PaymentMethodCardGeneratedCard {
pub charge: Option<String>,
pub payment_method_details: Option<CardGeneratedFromPaymentMethodDetails>,
pub setup_attempt: Option<Expandable<SetupAttempt>>,
}
Fields§
§charge: Option<String>
The charge that created this object.
payment_method_details: Option<CardGeneratedFromPaymentMethodDetails>
Transaction-specific details of the payment method used in the payment.
setup_attempt: Option<Expandable<SetupAttempt>>
The ID of the SetupAttempt that generated this PaymentMethod, if any.
Trait Implementations§
Source§impl Clone for PaymentMethodCardGeneratedCard
impl Clone for PaymentMethodCardGeneratedCard
Source§fn clone(&self) -> PaymentMethodCardGeneratedCard
fn clone(&self) -> PaymentMethodCardGeneratedCard
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 FromValueOpt for PaymentMethodCardGeneratedCard
impl FromValueOpt for PaymentMethodCardGeneratedCard
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for PaymentMethodCardGeneratedCard
impl RefUnwindSafe for PaymentMethodCardGeneratedCard
impl Send for PaymentMethodCardGeneratedCard
impl Sync for PaymentMethodCardGeneratedCard
impl Unpin for PaymentMethodCardGeneratedCard
impl UnwindSafe for PaymentMethodCardGeneratedCard
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