pub struct BundleImportReport {
pub ref_name: String,
pub ref_state_id: ObjectId,
pub object_count: usize,
pub written_object_count: usize,
pub recorded_author_key_count: usize,
}Expand description
Summary of a bundle import.
Fields§
§ref_name: StringThe local received-namespace name the import was recorded under (remotes/<origin ref name>).
ref_state_id: ObjectIdThe imported RefState’s object id, now the received pointer’s target.
object_count: usizeTotal objects the bundle carried.
written_object_count: usizeObjects that did not already exist in this repository’s object store before this import.
DC-53 Stage 2, D7: AUTHOR key entries the bundle carried and this import recorded locally.
Continuity only, not a trust decision – unlike a trusted maintainer key, recording this
grants no admission judgement, only lets verify distinguish Sound from Unverifiable for the
Patches it covers.
Trait Implementations§
Source§impl Clone for BundleImportReport
impl Clone for BundleImportReport
Source§fn clone(&self) -> BundleImportReport
fn clone(&self) -> BundleImportReport
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 BundleImportReport
impl Debug for BundleImportReport
impl Eq for BundleImportReport
Source§impl PartialEq for BundleImportReport
impl PartialEq for BundleImportReport
impl StructuralPartialEq for BundleImportReport
Auto Trait Implementations§
impl Freeze for BundleImportReport
impl RefUnwindSafe for BundleImportReport
impl Send for BundleImportReport
impl Sync for BundleImportReport
impl Unpin for BundleImportReport
impl UnsafeUnpin for BundleImportReport
impl UnwindSafe for BundleImportReport
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