Struct diesel::mysql::types::Unsigned [] [src]

pub struct Unsigned<ST>(_);

Represents the MySQL unsigned type.

Trait Implementations

impl<ST> NotNull for Unsigned<ST>
[src]

impl<ST> SingleValue for Unsigned<ST>
[src]

impl<ST: QueryId> QueryId for Unsigned<ST>
[src]

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

HAS_STATIC_QUERY_ID: bool = <ST as QueryId>::HAS_STATIC_QUERY_ID && 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<ST: Debug> Debug for Unsigned<ST>
[src]

[src]

Formats the value using the given formatter. Read more

impl<ST: Clone> Clone for Unsigned<ST>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<ST: Copy> Copy for Unsigned<ST>
[src]

impl<ST: Default> Default for Unsigned<ST>
[src]

[src]

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

impl ToSql<Unsigned<SmallInt>, Mysql> for u16
[src]

[src]

See the trait documentation.

impl FromSql<Unsigned<SmallInt>, Mysql> for u16
[src]

[src]

See the trait documentation.

impl ToSql<Unsigned<Integer>, Mysql> for u32
[src]

[src]

See the trait documentation.

impl FromSql<Unsigned<Integer>, Mysql> for u32
[src]

[src]

See the trait documentation.

impl ToSql<Unsigned<BigInt>, Mysql> for u64
[src]

[src]

See the trait documentation.

impl FromSql<Unsigned<BigInt>, Mysql> for u64
[src]

[src]

See the trait documentation.

impl<ST> HasSqlType<Unsigned<ST>> for Mysql where
    Mysql: HasSqlType<ST>, 
[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<'expr> AsExpression<Unsigned<SmallInt>> for &'expr u16
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Unsigned<SmallInt>> for &'expr2 &'expr u16
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Unsigned<SmallInt>> for u16
[src]

The expression being returned

[src]

Perform the conversion

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

The expression being returned

[src]

Perform the conversion

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

The expression being returned

[src]

Perform the conversion

impl AsExpression<Unsigned<Integer>> for u32
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr> AsExpression<Unsigned<BigInt>> for &'expr u64
[src]

The expression being returned

[src]

Perform the conversion

impl<'expr2, 'expr> AsExpression<Unsigned<BigInt>> for &'expr2 &'expr u64
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Unsigned<BigInt>> for u64
[src]

The expression being returned

[src]

Perform the conversion

Auto Trait Implementations

impl<ST> Send for Unsigned<ST> where
    ST: Send

impl<ST> Sync for Unsigned<ST> where
    ST: Sync