Enum rusqlite::types::Value [] [src]

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

Dynamic type value (http://sqlite.org/datatype3.html) Value's type is dictated by SQLite (not by the caller).

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

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.

impl PartialEq for Value
[src]

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

This method tests for !=.

impl FromSql for Value
[src]

FromSql types can implement this method and use sqlite3_column_type to check that the type reported by SQLite matches a type suitable for Self. This method is used by Row::get_checked to confirm that the column contains a valid type before attempting to retrieve the value. Read more