pub struct ImportedRef {
pub head: Hash,
pub new_pairs: Vec<(Sha1Id, Hash)>,
pub normalized_modes: bool,
}Expand description
Outcome of importing one ref tip.
Fields§
§head: HashThe mkit hash of the translated tip object (commit or tag).
new_pairs: Vec<(Sha1Id, Hash)>New (sha1, blake3) pairs discovered by this call, in dependency order — append these to the map cache.
normalized_modes: boolWhether any historic mode was normalized (declared-lossy warn).
Trait Implementations§
Source§impl Clone for ImportedRef
impl Clone for ImportedRef
Source§fn clone(&self) -> ImportedRef
fn clone(&self) -> ImportedRef
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 ImportedRef
impl Debug for ImportedRef
impl Eq for ImportedRef
Source§impl PartialEq for ImportedRef
impl PartialEq for ImportedRef
Source§fn eq(&self, other: &ImportedRef) -> bool
fn eq(&self, other: &ImportedRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImportedRef
Auto Trait Implementations§
impl Freeze for ImportedRef
impl RefUnwindSafe for ImportedRef
impl Send for ImportedRef
impl Sync for ImportedRef
impl Unpin for ImportedRef
impl UnsafeUnpin for ImportedRef
impl UnwindSafe for ImportedRef
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