Enum akita::Value[][src]

pub enum Value {
Show 21 variants Nil, Bool(bool), Tinyint(i8), Smallint(i16), Int(i32), Bigint(i64), Float(f32), Double(f64), BigDecimal(BigDecimal), 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(bool)

Tuple Fields

0: bool

Tinyint(i8)

Tuple Fields

0: i8

Smallint(i16)

Tuple Fields

0: i16

Int(i32)

Tuple Fields

0: i32

Bigint(i64)

Tuple Fields

0: i64

Float(f32)

Tuple Fields

0: f32

Double(f64)

Tuple Fields

0: f64

BigDecimal(BigDecimal)

Tuple Fields

Blob(Vec<u8>)

Tuple Fields

0: Vec<u8>

Char(char)

Tuple Fields

0: char

Text(String)

Tuple Fields

0: String

Json(String)

Tuple Fields

0: String

Uuid(Uuid)

Tuple Fields

0: Uuid

Date(NaiveDate)

Tuple Fields

Time(NaiveTime)

Tuple Fields

DateTime(NaiveDateTime)

Tuple Fields

Timestamp(DateTime<Utc>)

Tuple Fields

Interval(Interval)

Tuple Fields

SerdeJson(Value)

Tuple Fields

0: Value

Array(Array)

Tuple Fields

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.

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)

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.