pub enum CustomPropertyValue {
String(String),
Int(i32),
Float(f64),
Bool(bool),
DateTime(String),
}Expand description
Value type for custom properties.
Variants§
Trait Implementations§
Source§impl Clone for CustomPropertyValue
impl Clone for CustomPropertyValue
Source§fn clone(&self) -> CustomPropertyValue
fn clone(&self) -> CustomPropertyValue
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 CustomPropertyValue
impl Debug for CustomPropertyValue
Source§impl PartialEq for CustomPropertyValue
impl PartialEq for CustomPropertyValue
impl StructuralPartialEq for CustomPropertyValue
Auto Trait Implementations§
impl Freeze for CustomPropertyValue
impl RefUnwindSafe for CustomPropertyValue
impl Send for CustomPropertyValue
impl Sync for CustomPropertyValue
impl Unpin for CustomPropertyValue
impl UnwindSafe for CustomPropertyValue
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