Enum diesel::mysql::MysqlType [] [src]

pub enum MysqlType {
    Tiny,
    Short,
    Long,
    LongLong,
    Float,
    Double,
    Time,
    Date,
    DateTime,
    Timestamp,
    String,
    Blob,
}

Represents the possible forms a bind parameter can be transmitted as. Each variant represents one of the forms documented at https://dev.mysql.com/doc/refman/5.7/en/c-api-prepared-statement-type-codes.html

The null variant is omitted, as we will never prepare a statement in which one of the bind parameters can always be NULL

Variants

Trait Implementations

impl Hash for MysqlType
[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 MysqlType
[src]

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

This method tests for !=.

impl Eq for MysqlType
[src]

impl Clone for MysqlType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MysqlType
[src]