Struct jj_lib::refs::TrackingRefPair
source · pub struct TrackingRefPair<'a> {
pub local_target: &'a RefTarget,
pub remote_ref: &'a RemoteRef,
}
Expand description
Pair of local and remote targets which usually represents a tracking branch.
Fields§
§local_target: &'a RefTarget
§remote_ref: &'a RemoteRef
Trait Implementations§
source§impl<'a> Clone for TrackingRefPair<'a>
impl<'a> Clone for TrackingRefPair<'a>
source§fn clone(&self) -> TrackingRefPair<'a>
fn clone(&self) -> TrackingRefPair<'a>
Returns a copy 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<'a> Debug for TrackingRefPair<'a>
impl<'a> Debug for TrackingRefPair<'a>
source§impl<'a> PartialEq for TrackingRefPair<'a>
impl<'a> PartialEq for TrackingRefPair<'a>
source§fn eq(&self, other: &TrackingRefPair<'a>) -> bool
fn eq(&self, other: &TrackingRefPair<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Copy for TrackingRefPair<'a>
impl<'a> Eq for TrackingRefPair<'a>
impl<'a> StructuralPartialEq for TrackingRefPair<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for TrackingRefPair<'a>
impl<'a> Send for TrackingRefPair<'a>
impl<'a> Sync for TrackingRefPair<'a>
impl<'a> Unpin for TrackingRefPair<'a>
impl<'a> UnwindSafe for TrackingRefPair<'a>
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
§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
Checks if this value is equivalent to the given key. Read more