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