pub struct RustGraphMetadata {Show 14 fields
pub name: String,
pub num_nodes: usize,
pub num_edges: usize,
pub node_type_counts: HashMap<String, usize>,
pub edge_type_counts: HashMap<String, usize>,
pub node_feature_dim: usize,
pub edge_feature_dim: usize,
pub graph_density: f64,
pub anomalous_nodes: usize,
pub anomalous_edges: usize,
pub source: String,
pub generated_at: DateTime<Utc>,
pub output_format: String,
pub files: Vec<String>,
}Expand description
Metadata about the exported RustGraph data.
Fields§
§name: StringGraph name.
num_nodes: usizeNumber of nodes exported.
num_edges: usizeNumber of edges exported.
node_type_counts: HashMap<String, usize>Node type counts.
edge_type_counts: HashMap<String, usize>Edge type counts.
node_feature_dim: usizeNode feature dimension (0 if no features).
edge_feature_dim: usizeEdge feature dimension (0 if no features).
graph_density: f64Graph density (edges / possible edges).
anomalous_nodes: usizeNumber of anomalous nodes.
anomalous_edges: usizeNumber of anomalous edges.
source: StringSource system identifier.
generated_at: DateTime<Utc>Generation timestamp.
output_format: StringOutput format used.
files: Vec<String>Files included in export.
Trait Implementations§
Source§impl Clone for RustGraphMetadata
impl Clone for RustGraphMetadata
Source§fn clone(&self) -> RustGraphMetadata
fn clone(&self) -> RustGraphMetadata
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 RustGraphMetadata
impl Debug for RustGraphMetadata
Source§impl<'de> Deserialize<'de> for RustGraphMetadata
impl<'de> Deserialize<'de> for RustGraphMetadata
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 RustGraphMetadata
impl RefUnwindSafe for RustGraphMetadata
impl Send for RustGraphMetadata
impl Sync for RustGraphMetadata
impl Unpin for RustGraphMetadata
impl UnwindSafe for RustGraphMetadata
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