Enum nom_sql::Literal [−][src]
pub enum Literal {
Null,
Integer(i64),
FixedPoint(Real),
String(String),
Blob(Vec<u8>),
CurrentTime,
CurrentDate,
CurrentTimestamp,
Placeholder,
}Variants
NullInteger(i64)FixedPoint(Real)String(String)Blob(Vec<u8>)CurrentTimeCurrentDateCurrentTimestampPlaceholder
Trait Implementations
impl Clone for Literal[src]
impl Clone for Literalfn clone(&self) -> Literal[src]
fn clone(&self) -> LiteralReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Literal[src]
impl Debug for Literalfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for Literal[src]
impl Eq for Literalimpl Hash for Literal[src]
impl Hash for Literalfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for Literal[src]
impl PartialEq for Literalfn eq(&self, other: &Literal) -> bool[src]
fn eq(&self, other: &Literal) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Literal) -> bool[src]
fn ne(&self, other: &Literal) -> boolThis method tests for !=.
impl From<i64> for Literal[src]
impl From<i64> for Literalimpl From<String> for Literal[src]
impl From<String> for Literalimpl<'a> From<&'a str> for Literal[src]
impl<'a> From<&'a str> for Literalimpl ToString for Literal[src]
impl ToString for Literalimpl From<Literal> for LiteralExpression[src]
impl From<Literal> for LiteralExpression