pub struct Unsigned<ST: 'static>(/* private fields */);
Available on crate feature
mysql_backend
only.Expand description
Represents the MySQL unsigned type.
Trait Implementations§
source§impl<'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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl 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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl 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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl 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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl 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
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<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>
impl SqlOrd for Unsigned<Integer>
impl SqlOrd for Unsigned<SmallInt>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<ST, U, DB> CompatibleType<U, DB> for STwhere
DB: Backend,
ST: SqlType + SingleValue,
U: FromSqlRow<ST, DB>,
impl<ST, U, DB> CompatibleType<U, DB> for STwhere DB: Backend, ST: SqlType + SingleValue, U: FromSqlRow<ST, DB>,
source§impl<T> IntoNotNullable for Twhere
T: SqlType<IsNull = NotNull>,
impl<T> IntoNotNullable for Twhere T: SqlType<IsNull = NotNull>,
§type NotNullable = T
type NotNullable = T
The not nullable representation of this type. Read more
source§impl<T> IntoNullable for Twhere
T: SqlType<IsNull = NotNull> + SingleValue,
impl<T> IntoNullable for Twhere T: SqlType<IsNull = NotNull> + SingleValue,
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn 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 moresource§fn 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