pub struct PercentPair {
pub percent: Option<f64>,
pub value: Option<f64>,
}Expand description
Describes the percentile and percentile value.
Fields§
§percent: Option<f64>The percentile.
value: Option<f64>The value of the percentile.
Trait Implementations§
Source§impl Clone for PercentPair
impl Clone for PercentPair
Source§fn clone(&self) -> PercentPair
fn clone(&self) -> PercentPair
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 PercentPair
impl Debug for PercentPair
Source§impl Default for PercentPair
impl Default for PercentPair
Source§fn default() -> PercentPair
fn default() -> PercentPair
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PercentPair
impl<'de> Deserialize<'de> for PercentPair
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 PercentPair
impl PartialEq for PercentPair
impl StructuralPartialEq for PercentPair
Auto Trait Implementations§
impl Freeze for PercentPair
impl RefUnwindSafe for PercentPair
impl Send for PercentPair
impl Sync for PercentPair
impl Unpin for PercentPair
impl UnwindSafe for PercentPair
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