Enum rsq::KType[][src]

pub enum KType {
    Boolean(bool),
    Guid(Uuid),
    Byte(u8),
    Short(i16),
    Int(i32),
    Long(i64),
    Real(f32),
    Float(f64),
    Char(char),
    String(String),
    Symbol(String),
    Timestamp(DateTime<Utc>),
    Month(Date<Utc>),
    Date(Date<Utc>),
    Datetime(DateTime<Utc>),
    Timespan(DateTime<Utc>),
    Minute(DateTime<Utc>),
    Second(DateTime<Utc>),
    Time(DateTime<Utc>),
    Unary(u8),
    Operator(u8),
}

Variants

Boolean(bool)
Guid(Uuid)
Byte(u8)
Short(i16)
Int(i32)
Long(i64)
Real(f32)
Float(f64)
Char(char)
String(String)
Symbol(String)
Timestamp(DateTime<Utc>)
Month(Date<Utc>)
Date(Date<Utc>)
Datetime(DateTime<Utc>)
Timespan(DateTime<Utc>)
Minute(DateTime<Utc>)
Second(DateTime<Utc>)
Time(DateTime<Utc>)
Unary(u8)
Operator(u8)

Implementations

impl KType[src]

pub fn serialize(&self) -> Vec<u8>[src]

pub fn deserialize(&self, data: &Vec<u8>) -> KType[src]

pub fn type_as_code(&self) -> i8[src]

Trait Implementations

impl Debug for KType[src]

impl Display for KType[src]

Auto Trait Implementations

impl RefUnwindSafe for KType

impl Send for KType

impl Sync for KType

impl Unpin for KType

impl UnwindSafe for KType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.