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