Enum sea_query::value::Value [−][src]
pub enum Value { }
Value variants
Variants
Bool(bool)
TinyInt(i8)
SmallInt(i16)
Int(i32)
BigInt(i64)
TinyUnsigned(u8)
SmallUnsigned(u16)
Unsigned(u32)
BigUnsigned(u64)
Float(f32)
Double(f64)
This is supported on crate feature
with-json
only.DateTime(Box<NaiveDateTime>)
This is supported on crate feature
with-chrono
only.This is supported on crate feature
with-uuid
only.Implementations
impl Value
[src]
impl Value
[src]pub fn is_json(&self) -> bool
[src]
pub fn as_ref_json(&self) -> &Json
[src]
pub fn is_date_time(&self) -> bool
[src]
pub fn as_ref_date_time(&self) -> &NaiveDateTime
[src]
pub fn is_uuid(&self) -> bool
[src]
pub fn as_ref_uuid(&self) -> &Uuid
[src]
Trait Implementations
impl From<NaiveDateTime> for Value
[src]
impl From<NaiveDateTime> for Value
[src]This is supported on crate feature
with-chrono
only.fn from(x: NaiveDateTime) -> Value
[src]
impl StructuralPartialEq for Value
[src]
impl StructuralPartialEq for Value
[src]Auto Trait Implementations
impl RefUnwindSafe for Value
impl RefUnwindSafe for Value
impl UnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
impl<T> BorrowToSql for T where
T: ToSql,
[src]
impl<T> BorrowToSql for T where
T: ToSql,
[src]pub fn borrow_to_sql(&self) -> &dyn ToSql
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,