pub struct SubscriptionResponseModel {
pub object: Option<String>,
pub storage_name: Option<String>,
pub storage_gb: Option<f64>,
pub max_storage_gb: Option<i32>,
pub upcoming_invoice: Option<Box<BillingSubscriptionUpcomingInvoice>>,
pub subscription: Option<Box<BillingSubscription>>,
pub license: Option<Box<UserLicense>>,
pub expiration: Option<String>,
pub using_in_app_purchase: Option<bool>,
}
Fields§
§object: Option<String>
§storage_name: Option<String>
§storage_gb: Option<f64>
§max_storage_gb: Option<i32>
§upcoming_invoice: Option<Box<BillingSubscriptionUpcomingInvoice>>
§subscription: Option<Box<BillingSubscription>>
§license: Option<Box<UserLicense>>
§expiration: Option<String>
§using_in_app_purchase: Option<bool>
Implementations§
source§impl SubscriptionResponseModel
impl SubscriptionResponseModel
pub fn new() -> SubscriptionResponseModel
Trait Implementations§
source§impl Clone for SubscriptionResponseModel
impl Clone for SubscriptionResponseModel
source§fn clone(&self) -> SubscriptionResponseModel
fn clone(&self) -> SubscriptionResponseModel
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 SubscriptionResponseModel
impl Debug for SubscriptionResponseModel
source§impl Default for SubscriptionResponseModel
impl Default for SubscriptionResponseModel
source§fn default() -> SubscriptionResponseModel
fn default() -> SubscriptionResponseModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SubscriptionResponseModel
impl<'de> Deserialize<'de> for SubscriptionResponseModel
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<SubscriptionResponseModel> for SubscriptionResponseModel
impl PartialEq<SubscriptionResponseModel> for SubscriptionResponseModel
source§fn eq(&self, other: &SubscriptionResponseModel) -> bool
fn eq(&self, other: &SubscriptionResponseModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.