pub enum PaymentSource {
Account(Account),
BankAccount(BankAccount),
Card(Card),
Source(Source),
}
Expand description
The resource representing a Stripe Polymorphic
Variants§
Trait Implementations§
Source§impl Clone for PaymentSource
impl Clone for PaymentSource
Source§fn clone(&self) -> PaymentSource
fn clone(&self) -> PaymentSource
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 PaymentSource
impl Debug for PaymentSource
Source§impl Deserialize for PaymentSource
impl Deserialize for PaymentSource
Source§impl Object for PaymentSource
impl Object for PaymentSource
Source§impl ObjectDeser for PaymentSource
impl ObjectDeser for PaymentSource
Auto Trait Implementations§
impl Freeze for PaymentSource
impl RefUnwindSafe for PaymentSource
impl Send for PaymentSource
impl Sync for PaymentSource
impl Unpin for PaymentSource
impl UnwindSafe for PaymentSource
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