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