Struct github_rest::model::misc::deployments::nested::MarketplacePurchase     
source · pub struct MarketplacePurchase {
    pub account: UserOrOrg,
    pub billing_cycle: MarketplaceBillingCycle,
    pub unit_count: usize,
    pub on_free_trial: bool,
    pub free_trial_ends_on: String,
    pub next_billing_date: String,
    pub plan: MarketplacePlan,
}Expand description
See this documentation page for a detailed overview of what this struct can contain: https://docs.github.com/en/developers/github-marketplace/using-the-github-marketplace-api-in-your-app/webhook-events-for-the-github-marketplace-api#github-marketplace-purchase-webhook-payload
Fields§
§account: UserOrOrgCan either be a User or Organization
billing_cycle: MarketplaceBillingCycle§unit_count: usize§on_free_trial: bool§free_trial_ends_on: String§next_billing_date: String§plan: MarketplacePlanTrait Implementations§
source§impl Clone for MarketplacePurchase
 
impl Clone for MarketplacePurchase
source§fn clone(&self) -> MarketplacePurchase
 
fn clone(&self) -> MarketplacePurchase
Returns a copy 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<'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<MarketplacePurchase> for MarketplacePurchase
 
impl PartialEq<MarketplacePurchase> for MarketplacePurchase
source§fn eq(&self, other: &MarketplacePurchase) -> bool
 
fn eq(&self, other: &MarketplacePurchase) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for MarketplacePurchase
 
impl Serialize for MarketplacePurchase
impl StructuralPartialEq for MarketplacePurchase
Auto Trait Implementations§
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