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