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

Null
Bool

Tuple Fields of Bool

0: bool
TinyInt

Tuple Fields of TinyInt

0: i8
SmallInt

Tuple Fields of SmallInt

0: i16
Int

Tuple Fields of Int

0: i32
BigInt

Tuple Fields of BigInt

0: i64
TinyUnsigned

Tuple Fields of TinyUnsigned

0: u8
SmallUnsigned

Tuple Fields of SmallUnsigned

0: u16
Unsigned

Tuple Fields of Unsigned

0: u32
BigUnsigned

Tuple Fields of BigUnsigned

0: u64
Float

Tuple Fields of Float

0: f32
Double

Tuple Fields of Double

0: f64
String

Tuple Fields of String

0: Box<String>
Bytes

Tuple Fields of Bytes

0: Box<Vec<u8>>
Json
This is supported on crate feature with-json only.

Tuple Fields of Json

0: Box<Json>
DateTime
This is supported on crate feature with-chrono only.

Tuple Fields of DateTime

0: Box<NaiveDateTime>
DateTimeWithTimeZone
This is supported on crate feature with-chrono only.

Tuple Fields of DateTimeWithTimeZone

0: Box<DateTime<FixedOffset>>
Uuid
This is supported on crate feature with-uuid only.

Tuple Fields of Uuid

0: Box<Uuid>
Decimal
This is supported on crate feature with-rust_decimal only.

Tuple Fields of Decimal

0: Box<Decimal>

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.

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.

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.

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.