pub enum CommitEnforcementScope {
AllBranches,
ProtectedBranches,
None,
}Variants§
Trait Implementations§
Source§impl Clone for CommitEnforcementScope
impl Clone for CommitEnforcementScope
Source§fn clone(&self) -> CommitEnforcementScope
fn clone(&self) -> CommitEnforcementScope
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 CommitEnforcementScope
impl Debug for CommitEnforcementScope
Source§impl<'de> Deserialize<'de> for CommitEnforcementScope
impl<'de> Deserialize<'de> for CommitEnforcementScope
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<CommitEnforcementScope> for CommitCheckEnforcement
impl From<CommitEnforcementScope> for CommitCheckEnforcement
Source§fn from(value: CommitEnforcementScope) -> Self
fn from(value: CommitEnforcementScope) -> Self
Converts to this type from the input type.
Source§impl Serialize for CommitEnforcementScope
impl Serialize for CommitEnforcementScope
impl Copy for CommitEnforcementScope
Auto Trait Implementations§
impl Freeze for CommitEnforcementScope
impl RefUnwindSafe for CommitEnforcementScope
impl Send for CommitEnforcementScope
impl Sync for CommitEnforcementScope
impl Unpin for CommitEnforcementScope
impl UnsafeUnpin for CommitEnforcementScope
impl UnwindSafe for CommitEnforcementScope
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