pub struct WebhookSponsorshipEdited {
pub action: Action,
pub changes: Box<WebhookSponsorshipEditedChanges>,
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
§changes: Box<WebhookSponsorshipEditedChanges>
§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 WebhookSponsorshipEdited
impl WebhookSponsorshipEdited
pub fn new( action: Action, changes: WebhookSponsorshipEditedChanges, sender: SimpleUserWebhooks, sponsorship: WebhooksSponsorship, ) -> WebhookSponsorshipEdited
Trait Implementations§
Source§impl Clone for WebhookSponsorshipEdited
impl Clone for WebhookSponsorshipEdited
Source§fn clone(&self) -> WebhookSponsorshipEdited
fn clone(&self) -> WebhookSponsorshipEdited
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 WebhookSponsorshipEdited
impl Debug for WebhookSponsorshipEdited
Source§impl Default for WebhookSponsorshipEdited
impl Default for WebhookSponsorshipEdited
Source§fn default() -> WebhookSponsorshipEdited
fn default() -> WebhookSponsorshipEdited
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookSponsorshipEdited
impl<'de> Deserialize<'de> for WebhookSponsorshipEdited
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 WebhookSponsorshipEdited
impl PartialEq for WebhookSponsorshipEdited
Source§impl Serialize for WebhookSponsorshipEdited
impl Serialize for WebhookSponsorshipEdited
impl StructuralPartialEq for WebhookSponsorshipEdited
Auto Trait Implementations§
impl Freeze for WebhookSponsorshipEdited
impl RefUnwindSafe for WebhookSponsorshipEdited
impl Send for WebhookSponsorshipEdited
impl Sync for WebhookSponsorshipEdited
impl Unpin for WebhookSponsorshipEdited
impl UnwindSafe for WebhookSponsorshipEdited
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