Struct github_rest::model::repositories::events::BranchProtectionRuleEvent
source · pub struct BranchProtectionRuleEvent {
pub action: BranchProtectionRuleAction,
pub rule: BranchProtectionRule,
pub changes: Value,
pub event_info: RepoEventInfo,
}
Expand description
Fields§
§action: BranchProtectionRuleAction
§rule: BranchProtectionRule
§changes: Value
§event_info: RepoEventInfo
Trait Implementations§
source§impl AsRef<RepoEventInfo> for BranchProtectionRuleEvent
impl AsRef<RepoEventInfo> for BranchProtectionRuleEvent
source§fn as_ref(&self) -> &RepoEventInfo
fn as_ref(&self) -> &RepoEventInfo
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for BranchProtectionRuleEvent
impl Clone for BranchProtectionRuleEvent
source§fn clone(&self) -> BranchProtectionRuleEvent
fn clone(&self) -> BranchProtectionRuleEvent
Returns a copy 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 BranchProtectionRuleEvent
impl Debug for BranchProtectionRuleEvent
source§impl Deref for BranchProtectionRuleEvent
impl Deref for BranchProtectionRuleEvent
source§impl<'de> Deserialize<'de> for BranchProtectionRuleEvent
impl<'de> Deserialize<'de> for BranchProtectionRuleEvent
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 Event<'_> for BranchProtectionRuleEvent
impl Event<'_> for BranchProtectionRuleEvent
source§impl PartialEq<BranchProtectionRuleEvent> for BranchProtectionRuleEvent
impl PartialEq<BranchProtectionRuleEvent> for BranchProtectionRuleEvent
source§fn eq(&self, other: &BranchProtectionRuleEvent) -> bool
fn eq(&self, other: &BranchProtectionRuleEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BranchProtectionRuleEvent
Auto Trait Implementations§
impl RefUnwindSafe for BranchProtectionRuleEvent
impl Send for BranchProtectionRuleEvent
impl Sync for BranchProtectionRuleEvent
impl Unpin for BranchProtectionRuleEvent
impl UnwindSafe for BranchProtectionRuleEvent
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