pub struct NumericAttribute(/* private fields */);Expand description
Numeric attributes are quantitative (e.g., real numbers) and define a scale.
Not all numbers in programming are numeric attributes. If a number is used to represent an enumeration or on/off values, it is a categorical attribute.
Trait Implementations§
Source§impl Clone for NumericAttribute
impl Clone for NumericAttribute
Source§fn clone(&self) -> NumericAttribute
fn clone(&self) -> NumericAttribute
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 NumericAttribute
impl Debug for NumericAttribute
Source§impl<'de> Deserialize<'de> for NumericAttribute
impl<'de> Deserialize<'de> for NumericAttribute
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NumericAttribute, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NumericAttribute, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<NumericAttribute> for AttributeValue
impl From<NumericAttribute> for AttributeValue
Source§fn from(value: NumericAttribute) -> AttributeValue
fn from(value: NumericAttribute) -> AttributeValue
Converts to this type from the input type.
Source§impl From<f64> for NumericAttribute
impl From<f64> for NumericAttribute
Source§fn from(value: f64) -> NumericAttribute
fn from(value: f64) -> NumericAttribute
Converts to this type from the input type.
Source§impl PartialEq for NumericAttribute
impl PartialEq for NumericAttribute
Source§impl PartialOrd for NumericAttribute
impl PartialOrd for NumericAttribute
Source§impl Serialize for NumericAttribute
impl Serialize for NumericAttribute
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NumericAttribute
Auto Trait Implementations§
impl Freeze for NumericAttribute
impl RefUnwindSafe for NumericAttribute
impl Send for NumericAttribute
impl Sync for NumericAttribute
impl Unpin for NumericAttribute
impl UnwindSafe for NumericAttribute
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