pub struct UserMarketplacePurchase {
pub billing_cycle: String,
pub next_billing_date: Option<String>,
pub unit_count: Option<i32>,
pub on_free_trial: bool,
pub free_trial_ends_on: Option<String>,
pub updated_at: Option<String>,
pub account: Box<MarketplaceAccount>,
pub plan: Box<MarketplaceListingPlan>,
}
Expand description
UserMarketplacePurchase : User Marketplace Purchase
Fields§
§billing_cycle: String
§next_billing_date: Option<String>
§unit_count: Option<i32>
§on_free_trial: bool
§free_trial_ends_on: Option<String>
§updated_at: Option<String>
§account: Box<MarketplaceAccount>
§plan: Box<MarketplaceListingPlan>
Implementations§
Source§impl UserMarketplacePurchase
impl UserMarketplacePurchase
Sourcepub fn new(
billing_cycle: String,
next_billing_date: Option<String>,
unit_count: Option<i32>,
on_free_trial: bool,
free_trial_ends_on: Option<String>,
updated_at: Option<String>,
account: MarketplaceAccount,
plan: MarketplaceListingPlan,
) -> UserMarketplacePurchase
pub fn new( billing_cycle: String, next_billing_date: Option<String>, unit_count: Option<i32>, on_free_trial: bool, free_trial_ends_on: Option<String>, updated_at: Option<String>, account: MarketplaceAccount, plan: MarketplaceListingPlan, ) -> UserMarketplacePurchase
User Marketplace Purchase
Trait Implementations§
Source§impl Clone for UserMarketplacePurchase
impl Clone for UserMarketplacePurchase
Source§fn clone(&self) -> UserMarketplacePurchase
fn clone(&self) -> UserMarketplacePurchase
Returns a duplicate 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 UserMarketplacePurchase
impl Debug for UserMarketplacePurchase
Source§impl Default for UserMarketplacePurchase
impl Default for UserMarketplacePurchase
Source§fn default() -> UserMarketplacePurchase
fn default() -> UserMarketplacePurchase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserMarketplacePurchase
impl<'de> Deserialize<'de> for UserMarketplacePurchase
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 UserMarketplacePurchase
impl PartialEq for UserMarketplacePurchase
Source§impl Serialize for UserMarketplacePurchase
impl Serialize for UserMarketplacePurchase
impl StructuralPartialEq for UserMarketplacePurchase
Auto Trait Implementations§
impl Freeze for UserMarketplacePurchase
impl RefUnwindSafe for UserMarketplacePurchase
impl Send for UserMarketplacePurchase
impl Sync for UserMarketplacePurchase
impl Unpin for UserMarketplacePurchase
impl UnwindSafe for UserMarketplacePurchase
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