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]
type QueryId = Unsigned<<ST as QueryId>::QueryId>
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
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
fn query_id() -> Option<TypeId>
[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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<ST: Clone> Clone for Unsigned<ST>
[src]
fn clone(&self) -> Unsigned<ST>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
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]
impl ToSql<Unsigned<SmallInt>, Mysql> for u16
[src]
impl FromSql<Unsigned<SmallInt>, Mysql> for u16
[src]
impl ToSql<Unsigned<Integer>, Mysql> for u32
[src]
impl FromSql<Unsigned<Integer>, Mysql> for u32
[src]
impl ToSql<Unsigned<BigInt>, Mysql> for u64
[src]
impl FromSql<Unsigned<BigInt>, Mysql> for u64
[src]
impl<ST> HasSqlType<Unsigned<ST>> for Mysql where
Mysql: HasSqlType<ST>,
[src]
Mysql: HasSqlType<ST>,
fn metadata(lookup: &()) -> MysqlType
[src]
Fetch the metadata for the given type Read more
fn row_metadata(
out: &mut Vec<Self::TypeMetadata>,
lookup: &Self::MetadataLookup
)
[src]
out: &mut Vec<Self::TypeMetadata>,
lookup: &Self::MetadataLookup
)
Fetch the metadata for a tuple representing an entire row Read more
impl<'expr> AsExpression<Unsigned<SmallInt>> for &'expr u16
[src]
type Expression = Bound<Unsigned<SmallInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
Perform the conversion
impl<'expr2, 'expr> AsExpression<Unsigned<SmallInt>> for &'expr2 &'expr u16
[src]
type Expression = Bound<Unsigned<SmallInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
Perform the conversion
impl AsExpression<Unsigned<SmallInt>> for u16
[src]
type Expression = Bound<Unsigned<SmallInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
Perform the conversion
impl<'expr> AsExpression<Unsigned<Integer>> for &'expr u32
[src]
type Expression = Bound<Unsigned<Integer>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
Perform the conversion
impl<'expr2, 'expr> AsExpression<Unsigned<Integer>> for &'expr2 &'expr u32
[src]
type Expression = Bound<Unsigned<Integer>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
Perform the conversion
impl AsExpression<Unsigned<Integer>> for u32
[src]
type Expression = Bound<Unsigned<Integer>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
Perform the conversion
impl<'expr> AsExpression<Unsigned<BigInt>> for &'expr u64
[src]
type Expression = Bound<Unsigned<BigInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
Perform the conversion
impl<'expr2, 'expr> AsExpression<Unsigned<BigInt>> for &'expr2 &'expr u64
[src]
type Expression = Bound<Unsigned<BigInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
Perform the conversion
impl AsExpression<Unsigned<BigInt>> for u64
[src]
type Expression = Bound<Unsigned<BigInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
Perform the conversion