Enum sea_orm::Value[][src]

pub enum Value {
Show 20 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, Global>>), Bytes(Option<Box<Vec<u8, Global>, Global>>), Json(Option<Box<Value, Global>>), Date(Option<Box<NaiveDate, Global>>), Time(Option<Box<NaiveTime, Global>>), DateTime(Option<Box<NaiveDateTime, Global>>), DateTimeWithTimeZone(Option<Box<DateTime<FixedOffset>, Global>>), Uuid(Option<Box<Uuid, Global>>), Decimal(Option<Box<Decimal, Global>>),
}
Expand description

Value variants

We want Value to be exactly 1 pointer sized, so anything larger should be boxed.

Variants

Bool(Option<bool>)

Tuple Fields of Bool

0: Option<bool>
TinyInt(Option<i8>)

Tuple Fields of TinyInt

0: Option<i8>
SmallInt(Option<i16>)

Tuple Fields of SmallInt

0: Option<i16>
Int(Option<i32>)

Tuple Fields of Int

0: Option<i32>
BigInt(Option<i64>)

Tuple Fields of BigInt

0: Option<i64>
TinyUnsigned(Option<u8>)

Tuple Fields of TinyUnsigned

0: Option<u8>
SmallUnsigned(Option<u16>)

Tuple Fields of SmallUnsigned

0: Option<u16>
Unsigned(Option<u32>)

Tuple Fields of Unsigned

0: Option<u32>
BigUnsigned(Option<u64>)

Tuple Fields of BigUnsigned

0: Option<u64>
Float(Option<f32>)

Tuple Fields of Float

0: Option<f32>
Double(Option<f64>)

Tuple Fields of Double

0: Option<f64>
String(Option<Box<String, Global>>)

Tuple Fields of String

0: Option<Box<String, Global>>

Tuple Fields of Bytes

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

Tuple Fields of Json

0: Option<Box<Value, Global>>
This is supported on crate feature with-chrono only.

Tuple Fields of Date

0: Option<Box<NaiveDate, Global>>
This is supported on crate feature with-chrono only.

Tuple Fields of Time

0: Option<Box<NaiveTime, Global>>
This is supported on crate feature with-chrono only.

Tuple Fields of DateTime

0: Option<Box<NaiveDateTime, Global>>
DateTimeWithTimeZone(Option<Box<DateTime<FixedOffset>, Global>>)
This is supported on crate feature with-chrono only.

Tuple Fields of DateTimeWithTimeZone

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

Tuple Fields of Uuid

0: Option<Box<Uuid, Global>>
Decimal(Option<Box<Decimal, Global>>)
This is supported on crate feature with-rust_decimal only.

Tuple Fields of Decimal

0: Option<Box<Decimal, Global>>

Implementations

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.
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 non-crate feature with-bigdecimal only.
This is supported on non-crate feature with-bigdecimal only.
This is supported on crate feature with-uuid only.

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

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 !=.

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

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.