Struct diesel::sql_types::Integer [] [src]

pub struct Integer;

The integer SQL type.

ToSql impls

FromSql impls

Trait Implementations

impl Add for Integer
[src]

The SQL type which can be added to this one

The SQL type of the result of adding Rhs to Self

impl Sub for Integer
[src]

The SQL type which can be subtracted from this one

The SQL type of the result of subtracting Rhs from Self

impl Mul for Integer
[src]

The SQL type which this can be multiplied by

The SQL type of the result of multiplying Self by Rhs

impl Div for Integer
[src]

The SQL type which this one can be divided by

The SQL type of the result of dividing Self by Rhs

impl SqlOrd for Integer
[src]

impl Foldable for Integer
[src]

The SQL type of sum(this_type)

The SQL type of avg(this_type)

impl QueryId for Integer
[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 Integer
[src]

impl SingleValue for Integer
[src]

impl HasSqlType<Integer> for Sqlite
[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 HasSqlType<Integer> 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 HasSqlType<Integer> for Pg
[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 Integer
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Integer
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Integer
[src]

impl Default for Integer
[src]

[src]

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

impl FromSql<Integer, Sqlite> for i32
[src]

[src]

See the trait documentation.

impl<DB: Backend<RawValue = [u8]>> FromSql<Integer, DB> for i32
[src]

[src]

See the trait documentation.

impl<DB: Backend> ToSql<Integer, DB> for i32
[src]

[src]

See the trait documentation.

impl<'expr> AsExpression<Integer> for &'expr i32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Integer> for &'expr2 &'expr i32
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Integer> for i32
[src]

The expression being returned

[src]

Perform the conversion