pub struct DegreeStats {
pub min: usize,
pub max: usize,
pub mean: f64,
pub median: f64,
pub std_dev: f64,
pub percentile_25: f64,
pub percentile_75: f64,
pub percentile_90: f64,
pub percentile_95: f64,
pub percentile_99: f64,
}Expand description
Statistical measures for degree sequences
Fields§
§min: usize§max: usize§mean: f64§median: f64§std_dev: f64§percentile_25: f64§percentile_75: f64§percentile_90: f64§percentile_95: f64§percentile_99: f64Trait Implementations§
Source§impl Clone for DegreeStats
impl Clone for DegreeStats
Source§fn clone(&self) -> DegreeStats
fn clone(&self) -> DegreeStats
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 DegreeStats
impl Debug for DegreeStats
Source§impl Default for DegreeStats
impl Default for DegreeStats
Source§fn default() -> DegreeStats
fn default() -> DegreeStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DegreeStats
impl<'de> Deserialize<'de> for DegreeStats
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
Source§impl PartialEq for DegreeStats
impl PartialEq for DegreeStats
Source§impl Serialize for DegreeStats
impl Serialize for DegreeStats
impl StructuralPartialEq for DegreeStats
Auto Trait Implementations§
impl Freeze for DegreeStats
impl RefUnwindSafe for DegreeStats
impl Send for DegreeStats
impl Sync for DegreeStats
impl Unpin for DegreeStats
impl UnwindSafe for DegreeStats
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more