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