pub enum PaymentPlatform {
Stripe {
card_last_4_digits: String,
},
GooglePlay {
account_state: GooglePlayAccountState,
},
AppStore {
account_state: AppStoreAccountState,
},
}
Variants§
Stripe
GooglePlay
Fields
§
account_state: GooglePlayAccountState
AppStore
Fields
§
account_state: AppStoreAccountState
Trait Implementations§
Source§impl Clone for PaymentPlatform
impl Clone for PaymentPlatform
Source§fn clone(&self) -> PaymentPlatform
fn clone(&self) -> PaymentPlatform
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 PaymentPlatform
impl Debug for PaymentPlatform
Source§impl<'de> Deserialize<'de> for PaymentPlatform
impl<'de> Deserialize<'de> for PaymentPlatform
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 PaymentPlatform
impl PartialEq for PaymentPlatform
Source§impl Serialize for PaymentPlatform
impl Serialize for PaymentPlatform
impl Eq for PaymentPlatform
impl StructuralPartialEq for PaymentPlatform
Auto Trait Implementations§
impl Freeze for PaymentPlatform
impl RefUnwindSafe for PaymentPlatform
impl Send for PaymentPlatform
impl Sync for PaymentPlatform
impl Unpin for PaymentPlatform
impl UnwindSafe for PaymentPlatform
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