pub enum Value {
Null,
Bool(bool),
Number(BigDecimal),
Uuid(Uuid),
DateTime(DateTime<Utc>),
Date(NaiveDate),
Time(NaiveTime),
String(String),
}Expand description
Represents the various value types.
Variants§
Null
Null value.
Bool(bool)
Boolean value.
Number(BigDecimal)
Numeric value.
Uuid(Uuid)
Unique ID sometimes referred to as GUIDs.
DateTime(DateTime<Utc>)
Date and time with time zone value.
Date(NaiveDate)
Date value.
Time(NaiveTime)
Time value.
String(String)
String value.
Trait Implementations§
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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