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