pub enum ValuationValue {
Text(String),
Number(f64),
Boolean(bool),
}Expand description
Primitive valuation value.
Variants§
Trait Implementations§
Source§impl Clone for ValuationValue
impl Clone for ValuationValue
Source§fn clone(&self) -> ValuationValue
fn clone(&self) -> ValuationValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ValuationValue
impl Debug for ValuationValue
Source§impl<'de> Deserialize<'de> for ValuationValue
impl<'de> Deserialize<'de> for ValuationValue
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 ValuationValue
impl PartialEq for ValuationValue
Source§fn eq(&self, other: &ValuationValue) -> bool
fn eq(&self, other: &ValuationValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValuationValue
impl Serialize for ValuationValue
impl StructuralPartialEq for ValuationValue
Auto Trait Implementations§
impl Freeze for ValuationValue
impl RefUnwindSafe for ValuationValue
impl Send for ValuationValue
impl Sync for ValuationValue
impl Unpin for ValuationValue
impl UnsafeUnpin for ValuationValue
impl UnwindSafe for ValuationValue
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