pub struct ImportApplied {
pub layers: usize,
pub nodes: usize,
pub edges_applied: usize,
pub edges_pruned: usize,
}Expand description
A summary of applying/re-applying import layers (see
Store::apply_import_layer and Store::reapply_imports).
Fields§
§layers: usizeNumber of import layers processed.
nodes: usizeImport nodes upserted (across all layers).
edges_applied: usizeImport edges applied — both endpoints resolved. A duplicate of an already-present edge is a harmless no-op but still counted as applied.
edges_pruned: usizeImport edges pruned: an endpoint was absent (a cross-reference to code that no longer exists), so the edge was dropped from the persisted layer rather than kept as stale data.
Trait Implementations§
Source§impl Clone for ImportApplied
impl Clone for ImportApplied
Source§fn clone(&self) -> ImportApplied
fn clone(&self) -> ImportApplied
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 ImportApplied
impl Debug for ImportApplied
Source§impl Default for ImportApplied
impl Default for ImportApplied
Source§fn default() -> ImportApplied
fn default() -> ImportApplied
Returns the “default value” for a type. Read more
impl Eq for ImportApplied
Source§impl PartialEq for ImportApplied
impl PartialEq for ImportApplied
Source§impl Serialize for ImportApplied
impl Serialize for ImportApplied
impl StructuralPartialEq for ImportApplied
Auto Trait Implementations§
impl Freeze for ImportApplied
impl RefUnwindSafe for ImportApplied
impl Send for ImportApplied
impl Sync for ImportApplied
impl Unpin for ImportApplied
impl UnsafeUnpin for ImportApplied
impl UnwindSafe for ImportApplied
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.