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