Struct jj_lib::git::GitImportStats
source · pub struct GitImportStats {
pub abandoned_commits: Vec<CommitId>,
pub changed_remote_refs: BTreeMap<RefName, (RemoteRef, RefTarget)>,
}
Expand description
Describes changes made by import_refs()
or fetch()
.
Fields§
§abandoned_commits: Vec<CommitId>
Commits superseded by newly imported commits.
changed_remote_refs: BTreeMap<RefName, (RemoteRef, RefTarget)>
Remote (ref_name, (old_remote_ref, new_target))
s to be merged in to
the local refs.
Trait Implementations§
source§impl Clone for GitImportStats
impl Clone for GitImportStats
source§fn clone(&self) -> GitImportStats
fn clone(&self) -> GitImportStats
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 Debug for GitImportStats
impl Debug for GitImportStats
source§impl Default for GitImportStats
impl Default for GitImportStats
source§fn default() -> GitImportStats
fn default() -> GitImportStats
Returns the “default value” for a type. Read more
source§impl PartialEq for GitImportStats
impl PartialEq for GitImportStats
source§fn eq(&self, other: &GitImportStats) -> bool
fn eq(&self, other: &GitImportStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GitImportStats
impl StructuralPartialEq for GitImportStats
Auto Trait Implementations§
impl Freeze for GitImportStats
impl RefUnwindSafe for GitImportStats
impl Send for GitImportStats
impl Sync for GitImportStats
impl Unpin for GitImportStats
impl UnwindSafe for GitImportStats
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