Enum akita::Segment[][src]

pub enum Segment {
Show 22 variants Keyword(SqlKeyword), Float(f64), ColumnField(String), Extenssion(String), JsonValue(Value), Text(String), Int32(i32), Int16(i16), Int64(i64), Usize(usize), Isize(isize), Boolean(bool), DateTime(NaiveDateTime), Date(NaiveDate), U8(u8), Int8(i8), U32(u32), U16(u16), U64(u64), Wrapper(Box<Wrapper>), Str(&'static str), Nil,
}
Expand description

Segment are generally not used directly unless you are using the more low level functionality in the library. For the most part this is hidden with the help of the ToSegment trait.

Variants

Keyword(SqlKeyword)

Tuple Fields

0: SqlKeyword

Float(f64)

Tuple Fields

0: f64

ColumnField(String)

Tuple Fields

0: String

Extenssion(String)

Tuple Fields

0: String

JsonValue(Value)

Tuple Fields

0: Value

Text(String)

Tuple Fields

0: String

Int32(i32)

Tuple Fields

0: i32

Int16(i16)

Tuple Fields

0: i16

Int64(i64)

Tuple Fields

0: i64

Usize(usize)

Tuple Fields

0: usize

Isize(isize)

Tuple Fields

0: isize

Boolean(bool)

Tuple Fields

0: bool

DateTime(NaiveDateTime)

Tuple Fields

Date(NaiveDate)

Tuple Fields

U8(u8)

Tuple Fields

0: u8

Int8(i8)

Tuple Fields

0: i8

U32(u32)

Tuple Fields

0: u32

U16(u16)

Tuple Fields

0: u16

U64(u64)

Tuple Fields

0: u64

Wrapper(Box<Wrapper>)

Tuple Fields

Str(&'static str)

Tuple Fields

0: &'static str

Nil

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.

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

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.