pub struct DiversityStats {
pub total_64_subnets: usize,
pub total_48_subnets: usize,
pub total_32_subnets: usize,
pub total_asns: usize,
pub total_countries: usize,
pub max_nodes_per_64: usize,
pub max_nodes_per_48: usize,
pub max_nodes_per_32: usize,
}
Expand description
Diversity statistics for monitoring
Fields§
§total_64_subnets: usize
Number of unique /64 subnets represented
total_48_subnets: usize
Number of unique /48 subnets represented
total_32_subnets: usize
Number of unique /32 subnets represented
total_asns: usize
Number of unique ASNs represented
total_countries: usize
Number of unique countries represented
max_nodes_per_64: usize
Maximum nodes in any single /64 subnet
max_nodes_per_48: usize
Maximum nodes in any single /48 subnet
max_nodes_per_32: usize
Maximum nodes in any single /32 subnet
Trait Implementations§
Source§impl Clone for DiversityStats
impl Clone for DiversityStats
Source§fn clone(&self) -> DiversityStats
fn clone(&self) -> DiversityStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DiversityStats
impl Debug for DiversityStats
Source§impl<'de> Deserialize<'de> for DiversityStats
impl<'de> Deserialize<'de> for DiversityStats
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 DiversityStats
impl RefUnwindSafe for DiversityStats
impl Send for DiversityStats
impl Sync for DiversityStats
impl Unpin for DiversityStats
impl UnwindSafe for DiversityStats
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