Enum diesel::sqlite::SqliteType[][src]

pub enum SqliteType {

Determines how a bind parameter is given to SQLite

Diesel deals with bind parameters after serialization as opaque blobs of bytes. However, SQLite instead has several functions where it expects the relevant C types.

The variants of this struct determine what bytes are expected from ToSql impls.


Bind using sqlite3_bind_blob

Bind using sqlite3_bind_text

bytes should contain an f32

bytes should contain an f64

bytes should contain an i16

bytes should contain an i32

bytes should contain an i64

Trait Implementations

impl Hash for SqliteType

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

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

impl PartialEq for SqliteType

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

This method tests for !=.

impl Eq for SqliteType

impl Clone for SqliteType

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SqliteType

Auto Trait Implementations

impl Send for SqliteType

impl Sync for SqliteType