pub enum AdminSetUserTierInfo {
Stripe {
customer_id: String,
customer_name: Uuid,
payment_method_id: String,
last_4: String,
subscription_id: String,
expiration_time: UnixTimeMillis,
account_state: StripeAccountState,
},
GooglePlay {
purchase_token: String,
expiration_time: UnixTimeMillis,
account_state: GooglePlayAccountState,
},
AppStore {
account_token: String,
original_transaction_id: String,
expiration_time: UnixTimeMillis,
account_state: AppStoreAccountState,
},
Free,
}
Variants§
Stripe
GooglePlay
AppStore
Free
Trait Implementations§
Source§impl Clone for AdminSetUserTierInfo
impl Clone for AdminSetUserTierInfo
Source§fn clone(&self) -> AdminSetUserTierInfo
fn clone(&self) -> AdminSetUserTierInfo
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 AdminSetUserTierInfo
impl Debug for AdminSetUserTierInfo
Source§impl<'de> Deserialize<'de> for AdminSetUserTierInfo
impl<'de> Deserialize<'de> for AdminSetUserTierInfo
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 AdminSetUserTierInfo
impl PartialEq for AdminSetUserTierInfo
Source§impl Serialize for AdminSetUserTierInfo
impl Serialize for AdminSetUserTierInfo
impl Eq for AdminSetUserTierInfo
impl StructuralPartialEq for AdminSetUserTierInfo
Auto Trait Implementations§
impl Freeze for AdminSetUserTierInfo
impl RefUnwindSafe for AdminSetUserTierInfo
impl Send for AdminSetUserTierInfo
impl Sync for AdminSetUserTierInfo
impl Unpin for AdminSetUserTierInfo
impl UnwindSafe for AdminSetUserTierInfo
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