pub struct BranchName(/* private fields */);Expand description
Exact Git branch name without the refs/heads/ prefix.
Implementations§
Source§impl BranchName
impl BranchName
Trait Implementations§
Source§impl Clone for BranchName
impl Clone for BranchName
Source§impl Debug for BranchName
impl Debug for BranchName
impl Eq for BranchName
Source§impl Ord for BranchName
impl Ord for BranchName
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 BranchName
impl PartialEq for BranchName
Source§impl PartialOrd for BranchName
impl PartialOrd for BranchName
impl StructuralPartialEq for BranchName
Auto Trait Implementations§
impl Freeze for BranchName
impl RefUnwindSafe for BranchName
impl Send for BranchName
impl Sync for BranchName
impl Unpin for BranchName
impl UnsafeUnpin for BranchName
impl UnwindSafe for BranchName
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.