Enum sea_orm::entity::Value [−][src]
pub enum Value {
Show 20 variants
Bool(Option<bool>),
TinyInt(Option<i8>),
SmallInt(Option<i16>),
Int(Option<i32>),
BigInt(Option<i64>),
TinyUnsigned(Option<u8>),
SmallUnsigned(Option<u16>),
Unsigned(Option<u32>),
BigUnsigned(Option<u64>),
Float(Option<f32>),
Double(Option<f64>),
String(Option<Box<String, Global>>),
Bytes(Option<Box<Vec<u8, Global>, Global>>),
Json(Option<Box<Value, Global>>),
Date(Option<Box<NaiveDate, Global>>),
Time(Option<Box<NaiveTime, Global>>),
DateTime(Option<Box<NaiveDateTime, Global>>),
DateTimeWithTimeZone(Option<Box<DateTime<FixedOffset>, Global>>),
Uuid(Option<Box<Uuid, Global>>),
Decimal(Option<Box<Decimal, Global>>),
}
Expand description
Value variants
We want Value to be exactly 1 pointer sized, so anything larger should be boxed.
Variants
DateTime(Option<Box<NaiveDateTime, Global>>)
DateTimeWithTimeZone(Option<Box<DateTime<FixedOffset>, Global>>)
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self