pub struct StatSummary {
pub mean: Option<f64>,
pub min: Option<f64>,
pub max: Option<f64>,
pub std: Option<f64>,
pub extra: Map<String, Value>,
}Expand description
Statistical summary of one signal inside EnergyStats.
Fields§
§mean: Option<f64>Mean value.
min: Option<f64>Minimum value.
max: Option<f64>Maximum value.
std: Option<f64>Standard deviation.
extra: Map<String, Value>Any extra analyzer-specific fields.
Trait Implementations§
Source§impl Clone for StatSummary
impl Clone for StatSummary
Source§fn clone(&self) -> StatSummary
fn clone(&self) -> StatSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StatSummary
impl Debug for StatSummary
Source§impl Default for StatSummary
impl Default for StatSummary
Source§fn default() -> StatSummary
fn default() -> StatSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatSummary
impl<'de> Deserialize<'de> for StatSummary
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 StatSummary
impl RefUnwindSafe for StatSummary
impl Send for StatSummary
impl Sync for StatSummary
impl Unpin for StatSummary
impl UnsafeUnpin for StatSummary
impl UnwindSafe for StatSummary
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