#[repr(u8)]pub enum SkuType {
Durable = 2,
Consumable = 3,
Subscription = 5,
SubscriptionGroup = 6,
}Expand description
Type of SKU.
Variants§
Durable = 2
Durable one-time purchase.
Consumable = 3
Consumable one-time purchase.
Subscription = 5
Recurring subscription.
SubscriptionGroup = 6
System-generated SKU applied to a subscription.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SkuType
impl<'de> Deserialize<'de> for SkuType
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
impl Copy for SkuType
impl Eq for SkuType
impl StructuralPartialEq for SkuType
Auto Trait Implementations§
impl Freeze for SkuType
impl RefUnwindSafe for SkuType
impl Send for SkuType
impl Sync for SkuType
impl Unpin for SkuType
impl UnwindSafe for SkuType
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