pub struct GemShopSubscriptionResponseDataSchema {
pub member: bool,
pub member_expiration: String,
pub gems: i32,
pub cost: i32,
}Fields§
§member: boolWhether the account is now a member.
member_expiration: StringMembership expiration date.
gems: i32Remaining gem balance.
cost: i32Gem cost of the purchase.
Implementations§
Trait Implementations§
Source§impl Clone for GemShopSubscriptionResponseDataSchema
impl Clone for GemShopSubscriptionResponseDataSchema
Source§fn clone(&self) -> GemShopSubscriptionResponseDataSchema
fn clone(&self) -> GemShopSubscriptionResponseDataSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GemShopSubscriptionResponseDataSchema
impl Default for GemShopSubscriptionResponseDataSchema
Source§fn default() -> GemShopSubscriptionResponseDataSchema
fn default() -> GemShopSubscriptionResponseDataSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GemShopSubscriptionResponseDataSchema
impl<'de> Deserialize<'de> for GemShopSubscriptionResponseDataSchema
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 GemShopSubscriptionResponseDataSchema
impl PartialEq for GemShopSubscriptionResponseDataSchema
Source§fn eq(&self, other: &GemShopSubscriptionResponseDataSchema) -> bool
fn eq(&self, other: &GemShopSubscriptionResponseDataSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GemShopSubscriptionResponseDataSchema
Auto Trait Implementations§
impl Freeze for GemShopSubscriptionResponseDataSchema
impl RefUnwindSafe for GemShopSubscriptionResponseDataSchema
impl Send for GemShopSubscriptionResponseDataSchema
impl Sync for GemShopSubscriptionResponseDataSchema
impl Unpin for GemShopSubscriptionResponseDataSchema
impl UnsafeUnpin for GemShopSubscriptionResponseDataSchema
impl UnwindSafe for GemShopSubscriptionResponseDataSchema
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