pub struct WebhookMarketplacePurchasePendingChange {
pub action: Action,
pub effective_date: String,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Option<Box<SimpleInstallation>>,
pub marketplace_purchase: Box<WebhooksMarketplacePurchase>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub previous_marketplace_purchase: Option<Box<MarketplacePurchase1>>,
pub repository: Option<Box<RepositoryWebhooks>>,
pub sender: Box<SimpleUserWebhooks>,
}
Fields§
§action: Action
§effective_date: String
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Option<Box<SimpleInstallation>>
§marketplace_purchase: Box<WebhooksMarketplacePurchase>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§previous_marketplace_purchase: Option<Box<MarketplacePurchase1>>
§repository: Option<Box<RepositoryWebhooks>>
§sender: Box<SimpleUserWebhooks>
Implementations§
Source§impl WebhookMarketplacePurchasePendingChange
impl WebhookMarketplacePurchasePendingChange
pub fn new( action: Action, effective_date: String, marketplace_purchase: WebhooksMarketplacePurchase, sender: SimpleUserWebhooks, ) -> WebhookMarketplacePurchasePendingChange
Trait Implementations§
Source§impl Clone for WebhookMarketplacePurchasePendingChange
impl Clone for WebhookMarketplacePurchasePendingChange
Source§fn clone(&self) -> WebhookMarketplacePurchasePendingChange
fn clone(&self) -> WebhookMarketplacePurchasePendingChange
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 WebhookMarketplacePurchasePendingChange
impl Default for WebhookMarketplacePurchasePendingChange
Source§fn default() -> WebhookMarketplacePurchasePendingChange
fn default() -> WebhookMarketplacePurchasePendingChange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookMarketplacePurchasePendingChange
impl<'de> Deserialize<'de> for WebhookMarketplacePurchasePendingChange
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 WebhookMarketplacePurchasePendingChange
impl PartialEq for WebhookMarketplacePurchasePendingChange
Source§fn eq(&self, other: &WebhookMarketplacePurchasePendingChange) -> bool
fn eq(&self, other: &WebhookMarketplacePurchasePendingChange) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookMarketplacePurchasePendingChange
Auto Trait Implementations§
impl Freeze for WebhookMarketplacePurchasePendingChange
impl RefUnwindSafe for WebhookMarketplacePurchasePendingChange
impl Send for WebhookMarketplacePurchasePendingChange
impl Sync for WebhookMarketplacePurchasePendingChange
impl Unpin for WebhookMarketplacePurchasePendingChange
impl UnwindSafe for WebhookMarketplacePurchasePendingChange
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