#[non_exhaustive]pub enum SkuKind {
Subscription,
SubscriptionGroup,
Unknown(u8),
}
Expand description
Differentiates between SKU classes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Subscription
Represents a recurring subscription.
SubscriptionGroup
A system-generated group for each SKU created of type SkuKind::Subscription
.
Unknown(u8)
Variant value is unknown.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SkuKind
impl<'de> Deserialize<'de> for SkuKind
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 SkuKind
impl RefUnwindSafe for SkuKind
impl Send for SkuKind
impl Sync for SkuKind
impl Unpin for SkuKind
impl UnwindSafe for SkuKind
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