pub struct NumericalValueSpecification {
pub label: Option<String>,
pub value: f64,
}
Expand description
numerical value
Fields§
§label: Option<String>
SHORT-LABEL: used to identify the number in a human readable way. This is used when the number is part of a record.
value: f64
the number value
Trait Implementations§
Source§impl Clone for NumericalValueSpecification
impl Clone for NumericalValueSpecification
Source§fn clone(&self) -> NumericalValueSpecification
fn clone(&self) -> NumericalValueSpecification
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 NumericalValueSpecification
impl Debug for NumericalValueSpecification
Source§impl From<NumericalValueSpecification> for ValueSpecification
impl From<NumericalValueSpecification> for ValueSpecification
Source§fn from(value_spec: NumericalValueSpecification) -> Self
fn from(value_spec: NumericalValueSpecification) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for NumericalValueSpecification
Auto Trait Implementations§
impl Freeze for NumericalValueSpecification
impl RefUnwindSafe for NumericalValueSpecification
impl Send for NumericalValueSpecification
impl Sync for NumericalValueSpecification
impl Unpin for NumericalValueSpecification
impl UnwindSafe for NumericalValueSpecification
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