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