pub struct ValueStats {
pub common_values: Vec<f64>,
pub frequency_map: HashMap<String, u32>,
pub mean: f64,
pub std_dev: f64,
pub percentiles: Vec<f64>,
}
Expand description
Statistical information about widget values
Fields§
§common_values: Vec<f64>
§frequency_map: HashMap<String, u32>
§mean: f64
§std_dev: f64
§percentiles: Vec<f64>
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for ValueStats
impl<'__de, __Context> BorrowDecode<'__de, __Context> for ValueStats
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for ValueStats
impl Clone for ValueStats
Source§fn clone(&self) -> ValueStats
fn clone(&self) -> ValueStats
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 ValueStats
impl Debug for ValueStats
Source§impl<__Context> Decode<__Context> for ValueStats
impl<__Context> Decode<__Context> for ValueStats
Source§impl<'de> Deserialize<'de> for ValueStats
impl<'de> Deserialize<'de> for ValueStats
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 Encode for ValueStats
impl Encode for ValueStats
Auto Trait Implementations§
impl Freeze for ValueStats
impl RefUnwindSafe for ValueStats
impl Send for ValueStats
impl Sync for ValueStats
impl Unpin for ValueStats
impl UnwindSafe for ValueStats
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