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