pub enum BranchProtectionRuleEvent {
Created(BranchProtectionRuleCreated),
Deleted(BranchProtectionRuleDeleted),
Edited(BranchProtectionRuleEdited),
}
Expand description
BranchProtectionRuleEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/branch_protection_rule$created"
},
{
"$ref": "#/definitions/branch_protection_rule$deleted"
},
{
"$ref": "#/definitions/branch_protection_rule$edited"
}
]
}
Variants§
Created(BranchProtectionRuleCreated)
Deleted(BranchProtectionRuleDeleted)
Edited(BranchProtectionRuleEdited)
Trait Implementations§
Source§impl Clone for BranchProtectionRuleEvent
impl Clone for BranchProtectionRuleEvent
Source§fn clone(&self) -> BranchProtectionRuleEvent
fn clone(&self) -> BranchProtectionRuleEvent
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 BranchProtectionRuleEvent
impl Debug 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 From<&BranchProtectionRuleEvent> for BranchProtectionRuleEvent
impl From<&BranchProtectionRuleEvent> for BranchProtectionRuleEvent
Source§fn from(value: &BranchProtectionRuleEvent) -> Self
fn from(value: &BranchProtectionRuleEvent) -> Self
Converts to this type from the input type.
Source§impl From<BranchProtectionRuleCreated> for BranchProtectionRuleEvent
impl From<BranchProtectionRuleCreated> for BranchProtectionRuleEvent
Source§fn from(value: BranchProtectionRuleCreated) -> Self
fn from(value: BranchProtectionRuleCreated) -> Self
Converts to this type from the input type.
Source§impl From<BranchProtectionRuleDeleted> for BranchProtectionRuleEvent
impl From<BranchProtectionRuleDeleted> for BranchProtectionRuleEvent
Source§fn from(value: BranchProtectionRuleDeleted) -> Self
fn from(value: BranchProtectionRuleDeleted) -> Self
Converts to this type from the input type.
Source§impl From<BranchProtectionRuleEdited> for BranchProtectionRuleEvent
impl From<BranchProtectionRuleEdited> for BranchProtectionRuleEvent
Source§fn from(value: BranchProtectionRuleEdited) -> Self
fn from(value: BranchProtectionRuleEdited) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BranchProtectionRuleEvent
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