Enum akita::Value[][src]

pub enum Value {
Show 20 variants Nil, Bool(bool), Tinyint(i8), Smallint(i16), Int(i32), Bigint(i64), Float(f32), Double(f64), Blob(Vec<u8>), Char(char), Text(String), Json(String), Uuid(Uuid), Date(NaiveDate), Time(NaiveTime), DateTime(NaiveDateTime), Timestamp(DateTime<Utc>), Interval(Interval), SerdeJson(Value), Array(Array),
}

Variants

Nil
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
Float

Tuple Fields of Float

0: f32
Double

Tuple Fields of Double

0: f64
Blob

Tuple Fields of Blob

0: Vec<u8>
Char

Tuple Fields of Char

0: char
Text

Tuple Fields of Text

0: String
Json

Tuple Fields of Json

0: String
Uuid

Tuple Fields of Uuid

0: Uuid
Date

Tuple Fields of Date

0: NaiveDate
Time

Tuple Fields of Time

0: NaiveTime
DateTime

Tuple Fields of DateTime

0: NaiveDateTime
Timestamp

Tuple Fields of Timestamp

0: DateTime<Utc>
Interval

Tuple Fields of Interval

0: Interval
SerdeJson

Tuple Fields of SerdeJson

0: Value
Array

Tuple Fields of Array

0: Array

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

Formats the value using the given formatter. Read more

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

Converts the given value to a String. 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.