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> NotNull for Unsigned<ST>impl<ST> SingleValue for Unsigned<ST>[src]
impl<ST> SingleValue for Unsigned<ST>impl<ST: QueryId> QueryId for Unsigned<ST>[src]
impl<ST: QueryId> QueryId for Unsigned<ST>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]
fn query_id() -> Option<TypeId>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]
impl<ST: Debug> Debug for Unsigned<ST>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<ST: Clone> Clone for Unsigned<ST>[src]
impl<ST: Clone> Clone for Unsigned<ST>fn clone(&self) -> Unsigned<ST>[src]
fn clone(&self) -> Unsigned<ST>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<ST: Copy> Copy for Unsigned<ST>[src]
impl<ST: Copy> Copy for Unsigned<ST>impl<ST: Default> Default for Unsigned<ST>[src]
impl<ST: Default> Default for Unsigned<ST>impl ToSql<Unsigned<SmallInt>, Mysql> for u16[src]
impl ToSql<Unsigned<SmallInt>, Mysql> for u16impl FromSql<Unsigned<SmallInt>, Mysql> for u16[src]
impl FromSql<Unsigned<SmallInt>, Mysql> for u16impl ToSql<Unsigned<Integer>, Mysql> for u32[src]
impl ToSql<Unsigned<Integer>, Mysql> for u32impl FromSql<Unsigned<Integer>, Mysql> for u32[src]
impl FromSql<Unsigned<Integer>, Mysql> for u32impl ToSql<Unsigned<BigInt>, Mysql> for u64[src]
impl ToSql<Unsigned<BigInt>, Mysql> for u64impl FromSql<Unsigned<BigInt>, Mysql> for u64[src]
impl FromSql<Unsigned<BigInt>, Mysql> for u64impl<ST> HasSqlType<Unsigned<ST>> for Mysql where
Mysql: HasSqlType<ST>, [src]
impl<ST> HasSqlType<Unsigned<ST>> for Mysql where
Mysql: HasSqlType<ST>, fn metadata(lookup: &()) -> MysqlType[src]
fn metadata(lookup: &()) -> MysqlTypeFetch the metadata for the given type Read more
fn is_signed() -> IsSigned[src]
fn is_signed() -> IsSignedimpl<'expr> AsExpression<Unsigned<SmallInt>> for &'expr u16[src]
impl<'expr> AsExpression<Unsigned<SmallInt>> for &'expr u16type Expression = Bound<Unsigned<SmallInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl<'expr2, 'expr> AsExpression<Unsigned<SmallInt>> for &'expr2 &'expr u16[src]
impl<'expr2, 'expr> AsExpression<Unsigned<SmallInt>> for &'expr2 &'expr u16type Expression = Bound<Unsigned<SmallInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl AsExpression<Unsigned<SmallInt>> for u16[src]
impl AsExpression<Unsigned<SmallInt>> for u16type Expression = Bound<Unsigned<SmallInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl<'expr> AsExpression<Unsigned<Integer>> for &'expr u32[src]
impl<'expr> AsExpression<Unsigned<Integer>> for &'expr u32type Expression = Bound<Unsigned<Integer>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl<'expr2, 'expr> AsExpression<Unsigned<Integer>> for &'expr2 &'expr u32[src]
impl<'expr2, 'expr> AsExpression<Unsigned<Integer>> for &'expr2 &'expr u32type Expression = Bound<Unsigned<Integer>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl AsExpression<Unsigned<Integer>> for u32[src]
impl AsExpression<Unsigned<Integer>> for u32type Expression = Bound<Unsigned<Integer>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl<'expr> AsExpression<Unsigned<BigInt>> for &'expr u64[src]
impl<'expr> AsExpression<Unsigned<BigInt>> for &'expr u64type Expression = Bound<Unsigned<BigInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl<'expr2, 'expr> AsExpression<Unsigned<BigInt>> for &'expr2 &'expr u64[src]
impl<'expr2, 'expr> AsExpression<Unsigned<BigInt>> for &'expr2 &'expr u64type Expression = Bound<Unsigned<BigInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion
impl AsExpression<Unsigned<BigInt>> for u64[src]
impl AsExpression<Unsigned<BigInt>> for u64type Expression = Bound<Unsigned<BigInt>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression[src]
fn as_expression(self) -> Self::ExpressionPerform the conversion