Struct github_webhook::payload_types::MarketplacePurchase
source · pub struct MarketplacePurchase<'a> {
pub account: MarketplacePurchaseAccount<'a>,
pub billing_cycle: &'a str,
pub unit_count: usize,
pub on_free_trial: bool,
pub free_trial_ends_on: Option<&'a str>,
pub next_billing_date: Option<&'a str>,
pub plan: MarketplacePurchasePlan<'a>,
}
Fields§
§account: MarketplacePurchaseAccount<'a>
§billing_cycle: &'a str
§unit_count: usize
§on_free_trial: bool
§free_trial_ends_on: Option<&'a str>
§next_billing_date: Option<&'a str>
§plan: MarketplacePurchasePlan<'a>
Trait Implementations§
source§impl<'a> Debug for MarketplacePurchase<'a>
impl<'a> Debug for MarketplacePurchase<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for MarketplacePurchase<'a>
impl<'de: 'a, 'a> Deserialize<'de> for MarketplacePurchase<'a>
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
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MarketplacePurchase<'a>
impl<'a> Send for MarketplacePurchase<'a>
impl<'a> Sync for MarketplacePurchase<'a>
impl<'a> Unpin for MarketplacePurchase<'a>
impl<'a> UnwindSafe for MarketplacePurchase<'a>
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