pub struct WebhookBranchProtectionRuleEditedChanges {
pub admin_enforced: Option<Box<WebhookBranchProtectionRuleEditedChangesAdminEnforced>>,
pub authorized_actor_names: Option<Box<WebhookBranchProtectionRuleEditedChangesAuthorizedActorNames>>,
pub authorized_actors_only: Option<Box<WebhookBranchProtectionRuleEditedChangesAdminEnforced>>,
pub authorized_dismissal_actors_only: Option<Box<WebhookBranchProtectionRuleEditedChangesAdminEnforced>>,
pub linear_history_requirement_enforcement_level: Option<Box<WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel>>,
pub required_status_checks: Option<Box<WebhookBranchProtectionRuleEditedChangesAuthorizedActorNames>>,
pub required_status_checks_enforcement_level: Option<Box<WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel>>,
}
Expand description
WebhookBranchProtectionRuleEditedChanges : If the action was edited
, the changes to the rule.
Fields§
§admin_enforced: Option<Box<WebhookBranchProtectionRuleEditedChangesAdminEnforced>>
§linear_history_requirement_enforcement_level: Option<Box<WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel>>
§required_status_checks: Option<Box<WebhookBranchProtectionRuleEditedChangesAuthorizedActorNames>>
§required_status_checks_enforcement_level: Option<Box<WebhookBranchProtectionRuleEditedChangesLinearHistoryRequirementEnforcementLevel>>
Implementations§
Source§impl WebhookBranchProtectionRuleEditedChanges
impl WebhookBranchProtectionRuleEditedChanges
Sourcepub fn new() -> WebhookBranchProtectionRuleEditedChanges
pub fn new() -> WebhookBranchProtectionRuleEditedChanges
If the action was edited
, the changes to the rule.
Trait Implementations§
Source§impl Clone for WebhookBranchProtectionRuleEditedChanges
impl Clone for WebhookBranchProtectionRuleEditedChanges
Source§fn clone(&self) -> WebhookBranchProtectionRuleEditedChanges
fn clone(&self) -> WebhookBranchProtectionRuleEditedChanges
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 WebhookBranchProtectionRuleEditedChanges
impl Default for WebhookBranchProtectionRuleEditedChanges
Source§fn default() -> WebhookBranchProtectionRuleEditedChanges
fn default() -> WebhookBranchProtectionRuleEditedChanges
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookBranchProtectionRuleEditedChanges
impl<'de> Deserialize<'de> for WebhookBranchProtectionRuleEditedChanges
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 WebhookBranchProtectionRuleEditedChanges
impl PartialEq for WebhookBranchProtectionRuleEditedChanges
Source§fn eq(&self, other: &WebhookBranchProtectionRuleEditedChanges) -> bool
fn eq(&self, other: &WebhookBranchProtectionRuleEditedChanges) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookBranchProtectionRuleEditedChanges
Auto Trait Implementations§
impl Freeze for WebhookBranchProtectionRuleEditedChanges
impl RefUnwindSafe for WebhookBranchProtectionRuleEditedChanges
impl Send for WebhookBranchProtectionRuleEditedChanges
impl Sync for WebhookBranchProtectionRuleEditedChanges
impl Unpin for WebhookBranchProtectionRuleEditedChanges
impl UnwindSafe for WebhookBranchProtectionRuleEditedChanges
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