pub struct Unsigned<ST: 'static>(_);
mysql_backend
only.Expand description
Represents the MySQL unsigned type.
Trait Implementations
sourceimpl<'expr> AsExpression<Unsigned<BigInt>> for &'expr u64
impl<'expr> AsExpression<Unsigned<BigInt>> for &'expr u64
type Expression = Bound<Unsigned<BigInt>, &'expr u64>
type Expression = Bound<Unsigned<BigInt>, &'expr u64>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl<'expr2, 'expr> AsExpression<Unsigned<BigInt>> for &'expr2 &'expr u64
impl<'expr2, 'expr> AsExpression<Unsigned<BigInt>> for &'expr2 &'expr u64
type Expression = Bound<Unsigned<BigInt>, &'expr2 &'expr u64>
type Expression = Bound<Unsigned<BigInt>, &'expr2 &'expr u64>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl AsExpression<Unsigned<BigInt>> for u64
impl AsExpression<Unsigned<BigInt>> for u64
type Expression = Bound<Unsigned<BigInt>, u64>
type Expression = Bound<Unsigned<BigInt>, u64>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl<'expr> AsExpression<Unsigned<Integer>> for &'expr u32
impl<'expr> AsExpression<Unsigned<Integer>> for &'expr u32
type Expression = Bound<Unsigned<Integer>, &'expr u32>
type Expression = Bound<Unsigned<Integer>, &'expr u32>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl<'expr2, 'expr> AsExpression<Unsigned<Integer>> for &'expr2 &'expr u32
impl<'expr2, 'expr> AsExpression<Unsigned<Integer>> for &'expr2 &'expr u32
type Expression = Bound<Unsigned<Integer>, &'expr2 &'expr u32>
type Expression = Bound<Unsigned<Integer>, &'expr2 &'expr u32>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl AsExpression<Unsigned<Integer>> for u32
impl AsExpression<Unsigned<Integer>> for u32
type Expression = Bound<Unsigned<Integer>, u32>
type Expression = Bound<Unsigned<Integer>, u32>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl<'expr> AsExpression<Unsigned<SmallInt>> for &'expr u16
impl<'expr> AsExpression<Unsigned<SmallInt>> for &'expr u16
type Expression = Bound<Unsigned<SmallInt>, &'expr u16>
type Expression = Bound<Unsigned<SmallInt>, &'expr u16>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl<'expr2, 'expr> AsExpression<Unsigned<SmallInt>> for &'expr2 &'expr u16
impl<'expr2, 'expr> AsExpression<Unsigned<SmallInt>> for &'expr2 &'expr u16
type Expression = Bound<Unsigned<SmallInt>, &'expr2 &'expr u16>
type Expression = Bound<Unsigned<SmallInt>, &'expr2 &'expr u16>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl AsExpression<Unsigned<SmallInt>> for u16
impl AsExpression<Unsigned<SmallInt>> for u16
type Expression = Bound<Unsigned<SmallInt>, u16>
type Expression = Bound<Unsigned<SmallInt>, u16>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl<'expr> AsExpression<Unsigned<TinyInt>> for &'expr u8
impl<'expr> AsExpression<Unsigned<TinyInt>> for &'expr u8
type Expression = Bound<Unsigned<TinyInt>, &'expr u8>
type Expression = Bound<Unsigned<TinyInt>, &'expr u8>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl<'expr2, 'expr> AsExpression<Unsigned<TinyInt>> for &'expr2 &'expr u8
impl<'expr2, 'expr> AsExpression<Unsigned<TinyInt>> for &'expr2 &'expr u8
type Expression = Bound<Unsigned<TinyInt>, &'expr2 &'expr u8>
type Expression = Bound<Unsigned<TinyInt>, &'expr2 &'expr u8>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl AsExpression<Unsigned<TinyInt>> for u8
impl AsExpression<Unsigned<TinyInt>> for u8
type Expression = Bound<Unsigned<TinyInt>, u8>
type Expression = Bound<Unsigned<TinyInt>, u8>
The expression being returned
sourcefn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
sourceimpl FromSql<Unsigned<BigInt>, Mysql> for u64
impl FromSql<Unsigned<BigInt>, Mysql> for u64
sourcefn from_sql(bytes: MysqlValue<'_>) -> Result<Self>
fn from_sql(bytes: MysqlValue<'_>) -> Result<Self>
See the trait documentation.
sourceimpl FromSql<Unsigned<Integer>, Mysql> for u32
impl FromSql<Unsigned<Integer>, Mysql> for u32
sourcefn from_sql(bytes: MysqlValue<'_>) -> Result<Self>
fn from_sql(bytes: MysqlValue<'_>) -> Result<Self>
See the trait documentation.
sourceimpl FromSql<Unsigned<SmallInt>, Mysql> for u16
impl FromSql<Unsigned<SmallInt>, Mysql> for u16
sourcefn from_sql(bytes: MysqlValue<'_>) -> Result<Self>
fn from_sql(bytes: MysqlValue<'_>) -> Result<Self>
See the trait documentation.
sourceimpl FromSql<Unsigned<TinyInt>, Mysql> for u8
impl FromSql<Unsigned<TinyInt>, Mysql> for u8
sourcefn from_sql(bytes: MysqlValue<'_>) -> Result<Self>
fn from_sql(bytes: MysqlValue<'_>) -> Result<Self>
See the trait documentation.
sourceimpl HasSqlType<Unsigned<BigInt>> for Mysql
impl HasSqlType<Unsigned<BigInt>> for Mysql
sourceimpl HasSqlType<Unsigned<Integer>> for Mysql
impl HasSqlType<Unsigned<Integer>> for Mysql
sourceimpl HasSqlType<Unsigned<SmallInt>> for Mysql
impl HasSqlType<Unsigned<SmallInt>> for Mysql
sourceimpl HasSqlType<Unsigned<TinyInt>> for Mysql
impl HasSqlType<Unsigned<TinyInt>> for Mysql
sourceimpl<ST: 'static + QueryId> QueryId for Unsigned<ST>
impl<ST: 'static + QueryId> QueryId for Unsigned<ST>
impl<ST: Copy + 'static> Copy for Unsigned<ST>
impl<ST: 'static> SingleValue for Unsigned<ST>
impl SqlOrd for Unsigned<BigInt>
mysql
only.impl SqlOrd for Unsigned<Integer>
mysql
only.impl SqlOrd for Unsigned<SmallInt>
mysql
only.Auto Trait Implementations
impl<ST> RefUnwindSafe for Unsigned<ST> where
ST: RefUnwindSafe,
impl<ST> Send for Unsigned<ST> where
ST: Send,
impl<ST> Sync for Unsigned<ST> where
ST: Sync,
impl<ST> Unpin for Unsigned<ST> where
ST: Unpin,
impl<ST> UnwindSafe for Unsigned<ST> where
ST: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IntoNotNullable for T where
T: SqlType<IsNull = NotNull>,
impl<T> IntoNotNullable for T where
T: SqlType<IsNull = NotNull>,
type NotNullable = T
type NotNullable = T
The not nullable representation of this type. Read more
sourceimpl<T> IntoNullable for T where
T: SqlType<IsNull = NotNull> + SingleValue,
impl<T> IntoNullable for T where
T: SqlType<IsNull = NotNull> + SingleValue,
sourceimpl<T> IntoSql for T
impl<T> IntoSql for T
sourcefn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
Convert self
to an expression for Diesel’s query builder. Read more
sourcefn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
Convert &self
to an expression for Diesel’s query builder. Read more