Enum akita::Segment[][src]

pub enum Segment {
Show 20 variants Keyword(SqlKeyword), Float(f64), ColumnField(String), Extenssion(String), 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), 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 of Keyword

0: SqlKeyword
Float(f64)

Tuple Fields of Float

0: f64
ColumnField(String)

Tuple Fields of ColumnField

0: String
Extenssion(String)

Tuple Fields of Extenssion

0: String
Text(String)

Tuple Fields of Text

0: String
Int32(i32)

Tuple Fields of Int32

0: i32
Int16(i16)

Tuple Fields of Int16

0: i16
Int64(i64)

Tuple Fields of Int64

0: i64
Usize(usize)

Tuple Fields of Usize

0: usize
Isize(isize)

Tuple Fields of Isize

0: isize
Boolean(bool)

Tuple Fields of Boolean

0: bool
DateTime(NaiveDateTime)

Tuple Fields of DateTime

0: NaiveDateTime
Date(NaiveDate)

Tuple Fields of Date

0: NaiveDate
U8(u8)

Tuple Fields of U8

0: u8
Int8(i8)

Tuple Fields of Int8

0: i8
U32(u32)

Tuple Fields of U32

0: u32
U16(u16)

Tuple Fields of U16

0: u16
U64(u64)

Tuple Fields of U64

0: u64
Str(&'static str)

Tuple Fields of Str

0: &'static str
Nil

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

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.