pub struct ClusterMetrics {
pub cluster_id: i64,
pub node_count: u32,
pub edge_count: u64,
pub density: f64,
pub access_pattern_locality: f64,
pub io_efficiency_score: f64,
pub compression_ratio: f64,
pub last_access_timestamp: u64,
}Expand description
Individual cluster metrics for detailed performance analysis.
Contains comprehensive performance data for a specific cluster including density, efficiency, and access pattern metrics.
Fields§
§cluster_id: i64Cluster ID
node_count: u32Number of nodes in cluster
edge_count: u64Number of edges in cluster
density: f64Cluster density (edges per node)
access_pattern_locality: f64Average access pattern locality
io_efficiency_score: f64I/O efficiency score
compression_ratio: f64Compression ratio for cluster data
last_access_timestamp: u64Last access timestamp
Trait Implementations§
Source§impl Clone for ClusterMetrics
impl Clone for ClusterMetrics
Source§fn clone(&self) -> ClusterMetrics
fn clone(&self) -> ClusterMetrics
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 ClusterMetrics
impl Debug for ClusterMetrics
Source§impl<'de> Deserialize<'de> for ClusterMetrics
impl<'de> Deserialize<'de> for ClusterMetrics
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 ClusterMetrics
impl RefUnwindSafe for ClusterMetrics
impl Send for ClusterMetrics
impl Sync for ClusterMetrics
impl Unpin for ClusterMetrics
impl UnwindSafe for ClusterMetrics
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