Struct jj_lib::op_store::BranchTarget
source · pub struct BranchTarget {
pub local_target: RefTarget,
pub remote_targets: BTreeMap<String, RefTarget>,
}
Fields§
§local_target: RefTarget
The commit the branch points to locally. None
if the branch has been
deleted locally.
remote_targets: BTreeMap<String, RefTarget>
Trait Implementations§
source§impl Clone for BranchTarget
impl Clone for BranchTarget
source§fn clone(&self) -> BranchTarget
fn clone(&self) -> BranchTarget
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 ContentHash for BranchTarget
impl ContentHash for BranchTarget
source§impl Debug for BranchTarget
impl Debug for BranchTarget
source§impl Default for BranchTarget
impl Default for BranchTarget
source§fn default() -> BranchTarget
fn default() -> BranchTarget
Returns the “default value” for a type. Read more
source§impl PartialEq for BranchTarget
impl PartialEq for BranchTarget
source§fn eq(&self, other: &BranchTarget) -> bool
fn eq(&self, other: &BranchTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BranchTarget
impl StructuralEq for BranchTarget
impl StructuralPartialEq for BranchTarget
Auto Trait Implementations§
impl RefUnwindSafe for BranchTarget
impl Send for BranchTarget
impl Sync for BranchTarget
impl Unpin for BranchTarget
impl UnwindSafe for BranchTarget
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