pub struct AuthorityBranch(BranchName);Expand description
The authoritative branch, which every comparison reads through its
origin remote-tracking branch.
Tuple Fields§
§0: BranchNameImplementations§
Trait Implementations§
Source§impl Clone for AuthorityBranch
impl Clone for AuthorityBranch
Source§fn clone(&self) -> AuthorityBranch
fn clone(&self) -> AuthorityBranch
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 moreSource§impl Debug for AuthorityBranch
impl Debug for AuthorityBranch
impl Eq for AuthorityBranch
Source§impl FromStr for AuthorityBranch
Parses the branch name as the forge knows it, without a remote prefix.
impl FromStr for AuthorityBranch
Parses the branch name as the forge knows it, without a remote prefix.
Source§impl PartialEq for AuthorityBranch
impl PartialEq for AuthorityBranch
impl StructuralPartialEq for AuthorityBranch
Auto Trait Implementations§
impl Freeze for AuthorityBranch
impl RefUnwindSafe for AuthorityBranch
impl Send for AuthorityBranch
impl Sync for AuthorityBranch
impl Unpin for AuthorityBranch
impl UnsafeUnpin for AuthorityBranch
impl UnwindSafe for AuthorityBranch
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> 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.