pub enum ValueType {
Bool,
Int,
Float,
Str,
}Expand description
The kind of value an attribute holds — tells the UI what it can DO with the
field (numbers: sum/average; strings: concatenate/count; bools: count). Used
in AttributeSpec to describe a key independently of
whether any value is present.
Variants§
Trait Implementations§
impl Copy for ValueType
Source§impl<'de> Deserialize<'de> for ValueType
impl<'de> Deserialize<'de> for ValueType
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
impl Eq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnsafeUnpin for ValueType
impl UnwindSafe for ValueType
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