Enum sea_query::value::Value[][src]

pub enum Value {
Show 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>), Uuid(Box<Uuid>),
}
Expand description

Value variants

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>)
This is supported on crate feature with-json only.
DateTime(Box<NaiveDateTime>)
This is supported on crate feature with-chrono only.
Uuid(Box<Uuid>)
This is supported on crate feature with-uuid only.

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Performs the conversion.

Performs the conversion.

This is supported on crate feature with-chrono only.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

This is supported on crate feature with-uuid only.

Performs the conversion.

This is supported on crate feature with-json only.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Converts the value of self into the binary format of the specified Postgres Type, appending it to out. Read more

Determines if a value of this type can be converted to the specified Postgres Type. Read more

An adaptor method used internally by Rust-Postgres. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns a reference to self as a ToSql trait object.

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.