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