pub enum SourceType {
Show 19 variants
AchCreditTransfer,
AchDebit,
AcssDebit,
Alipay,
AuBecsDebit,
Bancontact,
Card,
CardPresent,
Eps,
Giropay,
Ideal,
Klarna,
Multibanco,
P24,
SepaCreditTransfer,
SepaDebit,
Sofort,
ThreeDSecure,
Wechat,
}
Expand description
An enum representing the possible values of an Source
’s type
field.
Variants§
AchCreditTransfer
AchDebit
AcssDebit
Alipay
AuBecsDebit
Bancontact
Card
CardPresent
Eps
Giropay
Ideal
Klarna
Multibanco
P24
SepaCreditTransfer
SepaDebit
Sofort
ThreeDSecure
Implementations§
Trait Implementations§
source§impl AsRef<str> for SourceType
impl AsRef<str> for SourceType
source§impl Clone for SourceType
impl Clone for SourceType
source§fn clone(&self) -> SourceType
fn clone(&self) -> SourceType
Returns a copy 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 SourceType
impl Debug for SourceType
source§impl Default for SourceType
impl Default for SourceType
source§impl<'de> Deserialize<'de> for SourceType
impl<'de> Deserialize<'de> for SourceType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SourceType
impl Display for SourceType
source§impl PartialEq for SourceType
impl PartialEq for SourceType
source§fn eq(&self, other: &SourceType) -> bool
fn eq(&self, other: &SourceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SourceType
impl Serialize for SourceType
impl Copy for SourceType
impl Eq for SourceType
impl StructuralPartialEq for SourceType
Auto Trait Implementations§
impl RefUnwindSafe for SourceType
impl Send for SourceType
impl Sync for SourceType
impl Unpin for SourceType
impl UnwindSafe for SourceType
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.