pub enum PaymentProviderType {
Stripe,
Weixin,
Alipay,
Points,
Custom,
}Expand description
Payment provider type
Variants§
Trait Implementations§
Source§impl Clone for PaymentProviderType
impl Clone for PaymentProviderType
Source§fn clone(&self) -> PaymentProviderType
fn clone(&self) -> PaymentProviderType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaymentProviderType
impl Debug for PaymentProviderType
Source§impl<'de> Deserialize<'de> for PaymentProviderType
impl<'de> Deserialize<'de> for PaymentProviderType
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
Auto Trait Implementations§
impl Freeze for PaymentProviderType
impl RefUnwindSafe for PaymentProviderType
impl Send for PaymentProviderType
impl Sync for PaymentProviderType
impl Unpin for PaymentProviderType
impl UnsafeUnpin for PaymentProviderType
impl UnwindSafe for PaymentProviderType
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