pub struct RoleSubscriptionData {
pub role_subscription_listing_id: SkuId,
pub tier_name: String,
pub total_months_subscribed: u16,
pub is_renewal: bool,
}
Expand description
Fields§
§role_subscription_listing_id: SkuId
The id of the sku and listing that the user is subscribed to.
tier_name: String
The name of the tier that the user is subscribed to.
total_months_subscribed: u16
The cumulative number of months that the user has been subscribed for.
is_renewal: bool
Whether this notification is for a renewal rather than a new purchase.
Trait Implementations§
Source§impl Clone for RoleSubscriptionData
impl Clone for RoleSubscriptionData
Source§fn clone(&self) -> RoleSubscriptionData
fn clone(&self) -> RoleSubscriptionData
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 RoleSubscriptionData
impl Debug for RoleSubscriptionData
Source§impl<'de> Deserialize<'de> for RoleSubscriptionData
impl<'de> Deserialize<'de> for RoleSubscriptionData
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 RoleSubscriptionData
impl RefUnwindSafe for RoleSubscriptionData
impl Send for RoleSubscriptionData
impl Sync for RoleSubscriptionData
impl Unpin for RoleSubscriptionData
impl UnwindSafe for RoleSubscriptionData
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