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>,
}
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>
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
impl StructuralPartialEq for SubscriptionResponseModel
Auto Trait Implementations§
impl Freeze for SubscriptionResponseModel
impl RefUnwindSafe for SubscriptionResponseModel
impl Send for SubscriptionResponseModel
impl Sync for SubscriptionResponseModel
impl Unpin for SubscriptionResponseModel
impl UnwindSafe for SubscriptionResponseModel
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