Enum lb_rs::shared::api::AdminSetUserTierInfo
source · 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 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.