pub struct BillingSubscription {Show 13 fields
pub trial_start_date: Option<String>,
pub trial_end_date: Option<String>,
pub period_start_date: Option<String>,
pub period_end_date: Option<String>,
pub cancelled_date: Option<String>,
pub cancel_at_end_date: Option<bool>,
pub status: Option<String>,
pub cancelled: Option<bool>,
pub items: Option<Vec<BillingSubscriptionItem>>,
pub collection_method: Option<String>,
pub suspension_date: Option<String>,
pub unpaid_period_end_date: Option<String>,
pub grace_period: Option<i32>,
}
Fields§
§trial_start_date: Option<String>
§trial_end_date: Option<String>
§period_start_date: Option<String>
§period_end_date: Option<String>
§cancelled_date: Option<String>
§cancel_at_end_date: Option<bool>
§status: Option<String>
§cancelled: Option<bool>
§items: Option<Vec<BillingSubscriptionItem>>
§collection_method: Option<String>
§suspension_date: Option<String>
§unpaid_period_end_date: Option<String>
§grace_period: Option<i32>
Implementations§
Source§impl BillingSubscription
impl BillingSubscription
pub fn new() -> BillingSubscription
Trait Implementations§
Source§impl Clone for BillingSubscription
impl Clone for BillingSubscription
Source§fn clone(&self) -> BillingSubscription
fn clone(&self) -> BillingSubscription
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 BillingSubscription
impl Debug for BillingSubscription
Source§impl Default for BillingSubscription
impl Default for BillingSubscription
Source§fn default() -> BillingSubscription
fn default() -> BillingSubscription
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BillingSubscription
impl<'de> Deserialize<'de> for BillingSubscription
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 BillingSubscription
impl PartialEq for BillingSubscription
Source§impl Serialize for BillingSubscription
impl Serialize for BillingSubscription
impl StructuralPartialEq for BillingSubscription
Auto Trait Implementations§
impl Freeze for BillingSubscription
impl RefUnwindSafe for BillingSubscription
impl Send for BillingSubscription
impl Sync for BillingSubscription
impl Unpin for BillingSubscription
impl UnwindSafe for BillingSubscription
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