Enum sea_query::value::Value [−][src]
pub enum Value {
Show 19 variants
Null,
Bool(bool),
TinyInt(i8),
SmallInt(i16),
Int(i32),
BigInt(i64),
TinyUnsigned(u8),
SmallUnsigned(u16),
Unsigned(u32),
BigUnsigned(u64),
Float(f32),
Double(f64),
String(Box<String>),
Bytes(Box<Vec<u8>>),
Json(Box<Json>),
DateTime(Box<NaiveDateTime>),
DateTimeWithTimeZone(Box<DateTime<FixedOffset>>),
Uuid(Box<Uuid>),
Decimal(Box<Decimal>),
}Expand description
Value variants
Variants
Tuple Fields of Bool
0: boolTuple Fields of TinyInt
0: i8Tuple Fields of SmallInt
0: i16Tuple Fields of Int
0: i32Tuple Fields of BigInt
0: i64Tuple Fields of TinyUnsigned
0: u8Tuple Fields of SmallUnsigned
0: u16Tuple Fields of Unsigned
0: u32Tuple Fields of BigUnsigned
0: u64Tuple Fields of Float
0: f32Tuple Fields of Double
0: f64This is supported on crate feature
with-json only.This is supported on crate feature
with-chrono only.Tuple Fields of DateTime
0: Box<NaiveDateTime>This is supported on crate feature
with-chrono only.Tuple Fields of DateTimeWithTimeZone
0: Box<DateTime<FixedOffset>>This is supported on crate feature
with-uuid only.This is supported on crate feature
with-rust_decimal only.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
Returns a reference to self as a ToSql trait object.
type Output = T
type Output = T
Should always be Self