pub struct GraphMetrics {
pub node_count: Option<i64>,
pub relationship_count: Option<i64>,
pub degree_distribution: Option<HashMap<i64, i64>>,
pub average_degree: Option<f64>,
pub max_degree: Option<i64>,
pub min_degree: Option<i64>,
}
Expand description
Represents basic metrics for a graph or a GDS graph projection, such as node and relationship counts.
Fields§
§node_count: Option<i64>
§relationship_count: Option<i64>
§degree_distribution: Option<HashMap<i64, i64>>
§average_degree: Option<f64>
§max_degree: Option<i64>
§min_degree: Option<i64>
Trait Implementations§
source§impl Clone for GraphMetrics
impl Clone for GraphMetrics
source§fn clone(&self) -> GraphMetrics
fn clone(&self) -> GraphMetrics
Returns a copy 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 GraphMetrics
impl Debug for GraphMetrics
source§impl Default for GraphMetrics
impl Default for GraphMetrics
source§fn default() -> GraphMetrics
fn default() -> GraphMetrics
Returns the “default value” for a type. Read more
source§impl PartialEq for GraphMetrics
impl PartialEq for GraphMetrics
impl StructuralPartialEq for GraphMetrics
Auto Trait Implementations§
impl Freeze for GraphMetrics
impl RefUnwindSafe for GraphMetrics
impl Send for GraphMetrics
impl Sync for GraphMetrics
impl Unpin for GraphMetrics
impl UnwindSafe for GraphMetrics
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)