pub struct ImportReport {
pub nodes_total: usize,
pub nodes_imported: usize,
pub nodes_dropped_code: usize,
pub nodes_by_type: BTreeMap<String, usize>,
pub links_total: usize,
pub edges_imported: usize,
pub edges_dropped_ast: usize,
pub edges_skipped_dangling: usize,
pub hyperedges_total: usize,
pub hyperedges_imported: usize,
}Expand description
An auditable summary of a Graphify import.
Fields§
§nodes_total: usizeTotal nodes in the source.
nodes_imported: usizeDoc/media/concept nodes imported.
nodes_dropped_code: usizeCode (AST) nodes dropped in favour of re-derivation.
nodes_by_type: BTreeMap<String, usize>Imported node count by Graphify file_type.
links_total: usizeTotal links in the source.
edges_imported: usizeSemantic/inferred edges imported.
edges_dropped_ast: usizeAST (code-structure) edges dropped in favour of re-derivation.
edges_skipped_dangling: usizeSemantic edges skipped because an endpoint was a dropped code node.
hyperedges_total: usizeTotal hyperedges in the source.
hyperedges_imported: usizeHyperedges imported as grouping nodes.
Trait Implementations§
Source§impl Clone for ImportReport
impl Clone for ImportReport
Source§fn clone(&self) -> ImportReport
fn clone(&self) -> ImportReport
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 ImportReport
impl Debug for ImportReport
Source§impl Default for ImportReport
impl Default for ImportReport
Source§fn default() -> ImportReport
fn default() -> ImportReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImportReport
impl RefUnwindSafe for ImportReport
impl Send for ImportReport
impl Sync for ImportReport
impl Unpin for ImportReport
impl UnsafeUnpin for ImportReport
impl UnwindSafe for ImportReport
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