Enum nom_sql::Literal[][src]

pub enum Literal {
    Null,
    Integer(i64),
    FixedPoint(Real),
    String(String),
    Blob(Vec<u8>),
    CurrentTime,
    CurrentDate,
    CurrentTimestamp,
    Placeholder,
}

Variants

Trait Implementations

impl Clone for Literal
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Literal
[src]

Formats the value using the given formatter. Read more

impl Eq for Literal
[src]

impl Hash for Literal
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Literal
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<i64> for Literal
[src]

Performs the conversion.

impl From<String> for Literal
[src]

Performs the conversion.

impl<'a> From<&'a str> for Literal
[src]

Performs the conversion.

impl ToString for Literal
[src]

Converts the given value to a String. Read more

impl From<Literal> for LiteralExpression
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Literal

impl Sync for Literal