Enum server::parse::token::Lit [] [src]

pub enum Lit {
    String(String),
    Int(i64),
    Float(f64),
    Bool(u8),
}

Variants

String
Int
Float
Bool

Methods

impl Lit

fn into_DataSrc(&self) -> DataSrc

fn sqltype(&self) -> SqlType

Trait Implementations

Derived Implementations

impl PartialEq for Lit

fn eq(&self, __arg_0: &Lit) -> bool

fn ne(&self, __arg_0: &Lit) -> bool

impl Clone for Lit

fn clone(&self) -> Lit

fn clone_from(&mut self, source: &Self)

impl Debug for Lit

fn fmt(&self, __arg_0: &mut Formatter) -> Result