Struct diesel::sql_types::Tinyint [] [src]

pub struct Tinyint;

The tiny integer SQL type.

This is only available on MySQL. Keep in mind that infer_schema! will see TINYINT(1) as Bool, not Tinyint.

ToSql impls

FromSql impls

Trait Implementations

impl QueryId for Tinyint
[src]

A type which uniquely represents Self in a SQL query. Read more

HAS_STATIC_QUERY_ID: bool = true

Can the SQL generated by Self be uniquely identified by its type? Read more

[src]

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more

impl NotNull for Tinyint
[src]

impl SingleValue for Tinyint
[src]

impl HasSqlType<Tinyint> for Mysql
[src]

[src]

Fetch the metadata for the given type Read more

[src]

Fetch the metadata for a tuple representing an entire row Read more

impl Debug for Tinyint
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Tinyint
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Tinyint
[src]

impl Default for Tinyint
[src]

[src]

Returns the "default value" for a type. Read more

impl ToSql<Tinyint, Mysql> for i8
[src]

[src]

See the trait documentation.

impl FromSql<Tinyint, Mysql> for i8
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Tinyint> for &'expr i8
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Tinyint> for &'expr2 &'expr i8
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Tinyint> for i8
[src]

The expression being returned

[src]

Perform the conversion

Auto Trait Implementations

impl Send for Tinyint

impl Sync for Tinyint