[−]Struct sudoku_backend::ops::tables::sudoku_boards::columns::id
Nullable wrapper so we can pass NULL to SQLite so it assigns new id
Trait Implementations
impl Default for id
impl Default for id
impl Clone for id
impl Clone for id
fn clone(&self) -> id
fn clone(&self) -> id
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 Copy for id
impl Copy for id
impl Debug for id
impl Debug for id
impl<Rhs> Add<Rhs> for id where
Rhs: AsExpression<<<id as Expression>::SqlType as Add>::Rhs>,
impl<Rhs> Add<Rhs> for id where
Rhs: AsExpression<<<id as Expression>::SqlType as Add>::Rhs>,
type Output = Add<Self, Rhs::Expression>
The resulting type after applying the +
operator.
fn add(self, rhs: Rhs) -> Self::Output
fn add(self, rhs: Rhs) -> Self::Output
impl<Rhs> Sub<Rhs> for id where
Rhs: AsExpression<<<id as Expression>::SqlType as Sub>::Rhs>,
impl<Rhs> Sub<Rhs> for id where
Rhs: AsExpression<<<id as Expression>::SqlType as Sub>::Rhs>,
type Output = Sub<Self, Rhs::Expression>
The resulting type after applying the -
operator.
fn sub(self, rhs: Rhs) -> Self::Output
fn sub(self, rhs: Rhs) -> Self::Output
impl<Rhs> Mul<Rhs> for id where
Rhs: AsExpression<<<id as Expression>::SqlType as Mul>::Rhs>,
impl<Rhs> Mul<Rhs> for id where
Rhs: AsExpression<<<id as Expression>::SqlType as Mul>::Rhs>,
type Output = Mul<Self, Rhs::Expression>
The resulting type after applying the *
operator.
fn mul(self, rhs: Rhs) -> Self::Output
fn mul(self, rhs: Rhs) -> Self::Output
impl<Rhs> Div<Rhs> for id where
Rhs: AsExpression<<<id as Expression>::SqlType as Div>::Rhs>,
impl<Rhs> Div<Rhs> for id where
Rhs: AsExpression<<<id as Expression>::SqlType as Div>::Rhs>,
type Output = Div<Self, Rhs::Expression>
The resulting type after applying the /
operator.
fn div(self, rhs: Rhs) -> Self::Output
fn div(self, rhs: Rhs) -> Self::Output
impl Expression for id
impl Expression for id
type SqlType = Nullable<Integer>
The type that this expression represents in SQL
impl<QS> AppearsOnTable<QS> for id where
QS: AppearsInFromClause<table, Count = Once>,
impl<QS> AppearsOnTable<QS> for id where
QS: AppearsInFromClause<table, Count = Once>,
impl SelectableExpression<table> for id
impl SelectableExpression<table> for id
impl<Left, Right> SelectableExpression<Join<Left, Right, LeftOuter>> for id where
id: AppearsOnTable<Join<Left, Right, LeftOuter>>,
Left: AppearsInFromClause<table, Count = Once>,
Right: AppearsInFromClause<table, Count = Never>,
impl<Left, Right> SelectableExpression<Join<Left, Right, LeftOuter>> for id where
id: AppearsOnTable<Join<Left, Right, LeftOuter>>,
Left: AppearsInFromClause<table, Count = Once>,
Right: AppearsInFromClause<table, Count = Never>,
impl<Left, Right> SelectableExpression<Join<Left, Right, Inner>> for id where
id: AppearsOnTable<Join<Left, Right, Inner>>,
Join<Left, Right, Inner>: AppearsInFromClause<table, Count = Once>,
impl<Left, Right> SelectableExpression<Join<Left, Right, Inner>> for id where
id: AppearsOnTable<Join<Left, Right, Inner>>,
Join<Left, Right, Inner>: AppearsInFromClause<table, Count = Once>,
impl<Join, On> SelectableExpression<JoinOn<Join, On>> for id where
id: SelectableExpression<Join> + AppearsOnTable<JoinOn<Join, On>>,
impl<Join, On> SelectableExpression<JoinOn<Join, On>> for id where
id: SelectableExpression<Join> + AppearsOnTable<JoinOn<Join, On>>,
impl<From> SelectableExpression<SelectStatement<From, DefaultSelectClause, NoDistinctClause, NoWhereClause, NoOrderClause, NoLimitClause, NoOffsetClause, NoGroupByClause, NoLockingClause>> for id where
id: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>,
impl<From> SelectableExpression<SelectStatement<From, DefaultSelectClause, NoDistinctClause, NoWhereClause, NoOrderClause, NoLimitClause, NoOffsetClause, NoGroupByClause, NoLockingClause>> for id where
id: SelectableExpression<From> + AppearsOnTable<SelectStatement<From>>,
impl Column for id
impl Column for id
impl<T> EqAll<T> for id where
T: AsExpression<Nullable<Integer>>,
Eq<id, T>: Expression<SqlType = Bool>,
impl<T> EqAll<T> for id where
T: AsExpression<Nullable<Integer>>,
Eq<id, T>: Expression<SqlType = Bool>,
impl<DB> QueryFragment<DB> for id where
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
impl<DB> QueryFragment<DB> for id where
DB: Backend,
<table as QuerySource>::FromClause: QueryFragment<DB>,
fn walk_ast(&self, out: AstPass<DB>) -> QueryResult<()>
fn walk_ast(&self, out: AstPass<DB>) -> QueryResult<()>
fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
[src]
fn to_sql(&self, out: &mut <DB as Backend>::QueryBuilder) -> Result<(), Error>
Converts this QueryFragment
to its SQL representation. Read more
fn collect_binds(
&self,
out: &mut <DB as Backend>::BindCollector,
metadata_lookup: &<DB as TypeMetadata>::MetadataLookup
) -> Result<(), Error>
[src]
fn collect_binds(
&self,
out: &mut <DB as Backend>::BindCollector,
metadata_lookup: &<DB as TypeMetadata>::MetadataLookup
) -> Result<(), Error>
Serializes all bind parameters in this query. Read more
fn is_safe_to_cache_prepared(&self) -> Result<bool, Error>
[src]
fn is_safe_to_cache_prepared(&self) -> Result<bool, Error>
Is this query safe to store in the prepared statement cache? Read more
impl QueryId for id
impl QueryId for id
type QueryId = id
A type which uniquely represents Self
in a SQL query. Read more
const HAS_STATIC_QUERY_ID: bool
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 NonAggregate for id
impl NonAggregate for id
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Typeable for T where
T: Any,
[src]
impl<T> Typeable for T where
T: Any,
impl<QS, T, DB> BoxableExpression for T where
DB: Backend,
T: Expression + SelectableExpression<QS> + NonAggregate + QueryFragment<DB>,
[src]
impl<QS, T, DB> BoxableExpression for T where
DB: Backend,
T: Expression + SelectableExpression<QS> + NonAggregate + QueryFragment<DB>,
impl<T> NullableExpressionMethods for T where
T: Expression,
[src]
impl<T> NullableExpressionMethods for T where
T: Expression,
fn nullable(self) -> Nullable<Self>
[src]
fn nullable(self) -> Nullable<Self>
Converts this potentially non-null expression into one which is treated as nullable. This method has no impact on the generated SQL, and is only used to allow certain comparisons that would otherwise fail to compile. Read more
impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
Convert self
to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel's query builder. Read more
impl<T> ExpressionMethods for T where
T: Expression,
<T as Expression>::SqlType: SingleValue,
[src]
impl<T> ExpressionMethods for T where
T: Expression,
<T as Expression>::SqlType: SingleValue,
fn eq<T>(
self,
other: T
) -> Eq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
fn eq<T>(
self,
other: T
) -> Eq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL =
expression. Read more
fn ne<T>(
self,
other: T
) -> NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
fn ne<T>(
self,
other: T
) -> NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL !=
expression. Read more
fn eq_any<T>(
self,
values: T
) -> In<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
[src]
fn eq_any<T>(
self,
values: T
) -> In<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
Creates a SQL IN
statement. Read more
fn ne_any<T>(
self,
values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
[src]
fn ne_any<T>(
self,
values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
: use ne_all
instead
Deprecated alias for ne_all
Read more
fn ne_all<T>(
self,
values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
[src]
fn ne_all<T>(
self,
values: T
) -> NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression> where
T: AsInExpression<Self::SqlType>,
Creates a SQL NOT IN
statement. Read more
fn is_null(self) -> IsNull<Self>
[src]
fn is_null(self) -> IsNull<Self>
Creates a SQL IS NULL
expression. Read more
fn is_not_null(self) -> IsNotNull<Self>
[src]
fn is_not_null(self) -> IsNotNull<Self>
Creates a SQL IS NOT NULL
expression. Read more
fn gt<T>(
self,
other: T
) -> Gt<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
fn gt<T>(
self,
other: T
) -> Gt<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL >
expression. Read more
fn ge<T>(
self,
other: T
) -> GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
fn ge<T>(
self,
other: T
) -> GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL >=
expression. Read more
fn lt<T>(
self,
other: T
) -> Lt<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
fn lt<T>(
self,
other: T
) -> Lt<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL <
expression. Read more
fn le<T>(
self,
other: T
) -> LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
[src]
fn le<T>(
self,
other: T
) -> LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression> where
T: AsExpression<Self::SqlType>,
Creates a SQL <=
expression. Read more
fn between<T, U>(
self,
lower: T,
upper: U
) -> Between<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>> where
T: AsExpression<Self::SqlType>,
U: AsExpression<Self::SqlType>,
[src]
fn between<T, U>(
self,
lower: T,
upper: U
) -> Between<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>> where
T: AsExpression<Self::SqlType>,
U: AsExpression<Self::SqlType>,
Creates a SQL BETWEEN
expression using the given lower and upper bounds. Read more
fn not_between<T, U>(
self,
lower: T,
upper: U
) -> NotBetween<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>> where
T: AsExpression<Self::SqlType>,
U: AsExpression<Self::SqlType>,
[src]
fn not_between<T, U>(
self,
lower: T,
upper: U
) -> NotBetween<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>> where
T: AsExpression<Self::SqlType>,
U: AsExpression<Self::SqlType>,
Creates a SQL NOT BETWEEN
expression using the given lower and upper bounds. Read more
fn desc(self) -> Desc<Self>
[src]
fn desc(self) -> Desc<Self>
Creates a SQL DESC
expression, representing this expression in descending order. Read more
fn asc(self) -> Asc<Self>
[src]
fn asc(self) -> Asc<Self>
Creates a SQL ASC
expression, representing this expression in ascending order. Read more