pub struct HypergraphMetadata {Show 14 fields
pub name: String,
pub num_nodes: usize,
pub num_edges: usize,
pub num_hyperedges: usize,
pub layer_node_counts: HashMap<String, usize>,
pub node_type_counts: HashMap<String, usize>,
pub edge_type_counts: HashMap<String, usize>,
pub hyperedge_type_counts: HashMap<String, usize>,
pub anomalous_nodes: usize,
pub anomalous_hyperedges: usize,
pub source: String,
pub generated_at: String,
pub budget_report: NodeBudgetReport,
pub files: Vec<String>,
}Expand description
Metadata about the exported hypergraph.
Fields§
§name: StringName of this hypergraph export.
num_nodes: usizeTotal number of nodes.
num_edges: usizeTotal number of pairwise edges.
num_hyperedges: usizeTotal number of hyperedges.
layer_node_counts: HashMap<String, usize>Node counts per layer.
node_type_counts: HashMap<String, usize>Node counts per entity type.
edge_type_counts: HashMap<String, usize>Edge counts per edge type.
hyperedge_type_counts: HashMap<String, usize>Hyperedge counts per type.
anomalous_nodes: usizeNumber of anomalous nodes.
anomalous_hyperedges: usizeNumber of anomalous hyperedges.
source: StringSource system identifier.
generated_at: StringGeneration timestamp (ISO 8601).
budget_report: NodeBudgetReportBudget utilization report.
files: Vec<String>Files included in export.
Trait Implementations§
Source§impl Clone for HypergraphMetadata
impl Clone for HypergraphMetadata
Source§fn clone(&self) -> HypergraphMetadata
fn clone(&self) -> HypergraphMetadata
Returns a duplicate 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 HypergraphMetadata
impl Debug for HypergraphMetadata
Source§impl<'de> Deserialize<'de> for HypergraphMetadata
impl<'de> Deserialize<'de> for HypergraphMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HypergraphMetadata
impl RefUnwindSafe for HypergraphMetadata
impl Send for HypergraphMetadata
impl Sync for HypergraphMetadata
impl Unpin for HypergraphMetadata
impl UnwindSafe for HypergraphMetadata
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