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