pub struct WebhookSponsorshipCancelled {
pub action: Action,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Option<Box<SimpleInstallation>>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub repository: Option<Box<RepositoryWebhooks>>,
pub sender: Box<SimpleUserWebhooks>,
pub sponsorship: Box<WebhooksSponsorship>,
}
Fields§
§action: Action
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Option<Box<SimpleInstallation>>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§repository: Option<Box<RepositoryWebhooks>>
§sender: Box<SimpleUserWebhooks>
§sponsorship: Box<WebhooksSponsorship>
Implementations§
Source§impl WebhookSponsorshipCancelled
impl WebhookSponsorshipCancelled
pub fn new( action: Action, sender: SimpleUserWebhooks, sponsorship: WebhooksSponsorship, ) -> WebhookSponsorshipCancelled
Trait Implementations§
Source§impl Clone for WebhookSponsorshipCancelled
impl Clone for WebhookSponsorshipCancelled
Source§fn clone(&self) -> WebhookSponsorshipCancelled
fn clone(&self) -> WebhookSponsorshipCancelled
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 WebhookSponsorshipCancelled
impl Debug for WebhookSponsorshipCancelled
Source§impl Default for WebhookSponsorshipCancelled
impl Default for WebhookSponsorshipCancelled
Source§fn default() -> WebhookSponsorshipCancelled
fn default() -> WebhookSponsorshipCancelled
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookSponsorshipCancelled
impl<'de> Deserialize<'de> for WebhookSponsorshipCancelled
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 WebhookSponsorshipCancelled
Auto Trait Implementations§
impl Freeze for WebhookSponsorshipCancelled
impl RefUnwindSafe for WebhookSponsorshipCancelled
impl Send for WebhookSponsorshipCancelled
impl Sync for WebhookSponsorshipCancelled
impl Unpin for WebhookSponsorshipCancelled
impl UnwindSafe for WebhookSponsorshipCancelled
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