pub struct KeyNumberPair {
pub name: String,
pub value: f64,
}Fields§
§name: String§value: f64Trait Implementations§
Source§impl Clone for KeyNumberPair
impl Clone for KeyNumberPair
Source§fn clone(&self) -> KeyNumberPair
fn clone(&self) -> KeyNumberPair
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 KeyNumberPair
impl Debug for KeyNumberPair
Source§impl Default for KeyNumberPair
impl Default for KeyNumberPair
Source§fn default() -> KeyNumberPair
fn default() -> KeyNumberPair
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyNumberPair
impl<'de> Deserialize<'de> for KeyNumberPair
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 KeyNumberPair
impl PartialEq for KeyNumberPair
Source§impl Serialize for KeyNumberPair
impl Serialize for KeyNumberPair
impl StructuralPartialEq for KeyNumberPair
Auto Trait Implementations§
impl Freeze for KeyNumberPair
impl RefUnwindSafe for KeyNumberPair
impl Send for KeyNumberPair
impl Sync for KeyNumberPair
impl Unpin for KeyNumberPair
impl UnwindSafe for KeyNumberPair
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