Enum sea_query::value::Value [−][src]
pub enum Value {
Show 21 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>>),
Bytes(Option<Box<Vec<u8>>>),
Json(Option<Box<Json>>),
Date(Option<Box<NaiveDate>>),
Time(Option<Box<NaiveTime>>),
DateTime(Option<Box<NaiveDateTime>>),
DateTimeWithTimeZone(Option<Box<DateTime<FixedOffset>>>),
Uuid(Option<Box<Uuid>>),
Decimal(Option<Box<Decimal>>),
BigDecimal(Option<Box<BigDecimal>>),
}
Expand description
Value variants
We want Value to be exactly 1 pointer sized, so anything larger should be boxed.
Variants
This is supported on crate feature
with-json
only.This is supported on crate feature
with-chrono
only.This is supported on crate feature
with-chrono
only.DateTime(Option<Box<NaiveDateTime>>)
This is supported on crate feature
with-chrono
only.Tuple Fields of DateTime
0: Option<Box<NaiveDateTime>>
DateTimeWithTimeZone(Option<Box<DateTime<FixedOffset>>>)
This is supported on crate feature
with-chrono
only.Tuple Fields of DateTimeWithTimeZone
0: Option<Box<DateTime<FixedOffset>>>
This is supported on crate feature
with-uuid
only.This is supported on crate feature
with-rust_decimal
only.BigDecimal(Option<Box<BigDecimal>>)
This is supported on crate feature
with-bigdecimal
only.Tuple Fields of BigDecimal
0: Option<Box<BigDecimal>>
Implementations
This is supported on crate feature
with-chrono
only.This is supported on crate feature
with-chrono
only.This is supported on crate feature
with-rust_decimal
only.This is supported on crate feature
with-rust_decimal
only.This is supported on crate feature
with-bigdecimal
only.This is supported on crate feature
with-bigdecimal
only.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
Returns a reference to self
as a ToSql
trait object.