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)
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
Trait Implementations
impl StructuralPartialEq for Segment
Auto Trait Implementations
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more