#[repr(u8)]pub enum BranchPolicyType {
Branch = 0,
Tag = 1,
}Expand description
Whether a branch policy matches branches or tags.
Variants§
Trait Implementations§
Source§impl Clone for BranchPolicyType
impl Clone for BranchPolicyType
Source§fn clone(&self) -> BranchPolicyType
fn clone(&self) -> BranchPolicyType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BranchPolicyType
Source§impl Debug for BranchPolicyType
impl Debug for BranchPolicyType
impl Eq for BranchPolicyType
Source§impl<'ʄ> Facet<'ʄ> for BranchPolicyType
impl<'ʄ> Facet<'ʄ> for BranchPolicyType
Source§impl Ord for BranchPolicyType
impl Ord for BranchPolicyType
Source§fn cmp(&self, other: &BranchPolicyType) -> Ordering
fn cmp(&self, other: &BranchPolicyType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BranchPolicyType
impl PartialEq for BranchPolicyType
Source§impl PartialOrd for BranchPolicyType
impl PartialOrd for BranchPolicyType
impl StructuralPartialEq for BranchPolicyType
Auto Trait Implementations§
impl Freeze for BranchPolicyType
impl RefUnwindSafe for BranchPolicyType
impl Send for BranchPolicyType
impl Sync for BranchPolicyType
impl Unpin for BranchPolicyType
impl UnsafeUnpin for BranchPolicyType
impl UnwindSafe for BranchPolicyType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.