pub enum PaymentProvider {
SmartGlocal(PaymentProviderSmartGlocal),
Stripe(PaymentProviderStripe),
Other(PaymentProviderOther),
}
Variants§
SmartGlocal(PaymentProviderSmartGlocal)
Smart Glocal payment provider
Stripe(PaymentProviderStripe)
Stripe payment provider
Other(PaymentProviderOther)
Some other payment provider, for which a web payment form must be shown
Trait Implementations§
Source§impl Clone for PaymentProvider
impl Clone for PaymentProvider
Source§fn clone(&self) -> PaymentProvider
fn clone(&self) -> PaymentProvider
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 PaymentProvider
impl Debug for PaymentProvider
Source§impl<'de> Deserialize<'de> for PaymentProvider
impl<'de> Deserialize<'de> for PaymentProvider
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 PartialEq for PaymentProvider
impl PartialEq for PaymentProvider
Source§impl Serialize for PaymentProvider
impl Serialize for PaymentProvider
impl StructuralPartialEq for PaymentProvider
Auto Trait Implementations§
impl Freeze for PaymentProvider
impl RefUnwindSafe for PaymentProvider
impl Send for PaymentProvider
impl Sync for PaymentProvider
impl Unpin for PaymentProvider
impl UnwindSafe for PaymentProvider
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