Struct jujutsu_lib::op_store::BranchTarget
source · [−]pub struct BranchTarget {
pub local_target: Option<RefTarget>,
pub remote_targets: BTreeMap<String, RefTarget>,
}Fields
local_target: Option<RefTarget>The commit the branch points to locally. None if the branch has been
deleted locally.
remote_targets: BTreeMap<String, RefTarget>Trait Implementations
sourceimpl Clone for BranchTarget
impl Clone for BranchTarget
sourcefn clone(&self) -> BranchTarget
fn clone(&self) -> BranchTarget
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for BranchTarget
impl Debug for BranchTarget
sourceimpl Default for BranchTarget
impl Default for BranchTarget
sourcefn default() -> BranchTarget
fn default() -> BranchTarget
Returns the “default value” for a type. Read more
sourceimpl PartialEq<BranchTarget> for BranchTarget
impl PartialEq<BranchTarget> for BranchTarget
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &BranchTarget) -> bool
fn ne(&self, other: &BranchTarget) -> bool
This method tests for !=.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more