Enum mentat_sql::Value [] [src]

pub enum Value {
    Null,
    Integer(i64),
    Real(f64),
    Text(String),
    Blob(Vec<u8>),
}

Owning dynamic type value. Value's type is typically dictated by SQLite (not by the caller).

See ValueRef for a non-owning dynamic type value.

Variants

The value is a NULL value.

The value is a signed integer.

The value is a floating point number.

The value is a text string.

The value is a blob of data

Methods

impl Value
[src]

Trait Implementations

impl Clone for Value
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Value
[src]

Formats the value using the given formatter. Read more

impl FromSql for Value
[src]

impl ToSql for Value
[src]

impl From<i64> for Value
[src]

Performs the conversion.

impl From<isize> for Value
[src]

Performs the conversion.

impl From<String> for Value
[src]

Performs the conversion.

impl From<i16> for Value
[src]

Performs the conversion.

impl From<Vec<u8>> for Value
[src]

Performs the conversion.

impl From<u8> for Value
[src]

Performs the conversion.

impl From<i32> for Value
[src]

Performs the conversion.

impl From<f64> for Value
[src]

Performs the conversion.

impl From<i8> for Value
[src]

Performs the conversion.

impl From<u16> for Value
[src]

Performs the conversion.

impl From<u32> for Value
[src]

Performs the conversion.

impl From<Null> for Value
[src]

Performs the conversion.

impl<'a> From<&'a Value> for ValueRef<'a>
[src]

Performs the conversion.

impl<'a> From<ValueRef<'a>> for Value
[src]

Performs the conversion.

impl From<bool> for Value
[src]

Performs the conversion.

impl PartialEq<Value> for Value
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Value

impl Sync for Value