pub struct default_counter;
Trait Implementations§
Source§impl<Rhs> Add<Rhs> for default_counterwhere
Rhs: AsExpression<<<default_counter as Expression>::SqlType as Add>::Rhs>,
impl<Rhs> Add<Rhs> for default_counterwhere
Rhs: AsExpression<<<default_counter as Expression>::SqlType as Add>::Rhs>,
Source§type Output = Add<default_counter, <Rhs as AsExpression<<<default_counter as Expression>::SqlType as Add>::Rhs>>::Expression>
type Output = Add<default_counter, <Rhs as AsExpression<<<default_counter as Expression>::SqlType as Add>::Rhs>>::Expression>
The resulting type after applying the
+
operator.Source§impl Clone for default_counter
impl Clone for default_counter
Source§fn clone(&self) -> default_counter
fn clone(&self) -> default_counter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Column for default_counter
impl Column for default_counter
Source§impl Debug for default_counter
impl Debug for default_counter
Source§impl Default for default_counter
impl Default for default_counter
Source§fn default() -> default_counter
fn default() -> default_counter
Returns the “default value” for a type. Read more
Source§impl<Rhs> Div<Rhs> for default_counterwhere
Rhs: AsExpression<<<default_counter as Expression>::SqlType as Div>::Rhs>,
impl<Rhs> Div<Rhs> for default_counterwhere
Rhs: AsExpression<<<default_counter as Expression>::SqlType as Div>::Rhs>,
Source§type Output = Div<default_counter, <Rhs as AsExpression<<<default_counter as Expression>::SqlType as Div>::Rhs>>::Expression>
type Output = Div<default_counter, <Rhs as AsExpression<<<default_counter as Expression>::SqlType as Div>::Rhs>>::Expression>
The resulting type after applying the
/
operator.Source§impl Expression for default_counter
impl Expression for default_counter
Source§impl<Rhs> Mul<Rhs> for default_counterwhere
Rhs: AsExpression<<<default_counter as Expression>::SqlType as Mul>::Rhs>,
impl<Rhs> Mul<Rhs> for default_counterwhere
Rhs: AsExpression<<<default_counter as Expression>::SqlType as Mul>::Rhs>,
Source§type Output = Mul<default_counter, <Rhs as AsExpression<<<default_counter as Expression>::SqlType as Mul>::Rhs>>::Expression>
type Output = Mul<default_counter, <Rhs as AsExpression<<<default_counter as Expression>::SqlType as Mul>::Rhs>>::Expression>
The resulting type after applying the
*
operator.Source§impl<DB> QueryFragment<DB> for default_counterwhere
DB: Backend,
StaticQueryFragmentInstance<table>: QueryFragment<DB>,
impl<DB> QueryFragment<DB> for default_counterwhere
DB: Backend,
StaticQueryFragmentInstance<table>: QueryFragment<DB>,
Source§impl QueryId for default_counter
impl QueryId for default_counter
Source§const HAS_STATIC_QUERY_ID: bool = true
const HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by
Self
be uniquely identified by its type? Read moreSource§type QueryId = default_counter
type QueryId = default_counter
A type which uniquely represents
Self
in a SQL query. Read moreSource§impl<Rhs> Sub<Rhs> for default_counterwhere
Rhs: AsExpression<<<default_counter as Expression>::SqlType as Sub>::Rhs>,
impl<Rhs> Sub<Rhs> for default_counterwhere
Rhs: AsExpression<<<default_counter as Expression>::SqlType as Sub>::Rhs>,
Source§type Output = Sub<default_counter, <Rhs as AsExpression<<<default_counter as Expression>::SqlType as Sub>::Rhs>>::Expression>
type Output = Sub<default_counter, <Rhs as AsExpression<<<default_counter as Expression>::SqlType as Sub>::Rhs>>::Expression>
The resulting type after applying the
-
operator.Source§impl ValidGrouping<()> for default_counter
impl ValidGrouping<()> for default_counter
Source§type IsAggregate = No
type IsAggregate = No
Is this expression aggregate? Read more
Source§impl<__GB> ValidGrouping<__GB> for default_counterwhere
__GB: IsContainedInGroupBy<default_counter, Output = Yes>,
impl<__GB> ValidGrouping<__GB> for default_counterwhere
__GB: IsContainedInGroupBy<default_counter, Output = Yes>,
Source§type IsAggregate = Yes
type IsAggregate = Yes
Is this expression aggregate? Read more
impl<QS> AppearsOnTable<QS> for default_counterwhere
QS: AppearsInFromClause<table, Count = Once>,
impl Copy for default_counter
impl SelectableExpression<table> for default_counter
Auto Trait Implementations§
impl Freeze for default_counter
impl RefUnwindSafe for default_counter
impl Send for default_counter
impl Sync for default_counter
impl Unpin for default_counter
impl UnwindSafe for default_counter
Blanket Implementations§
§impl<T, ST> AsExpression<ST> for Twhere
T: Expression<SqlType = ST>,
ST: SqlType + TypedExpressionType,
impl<T, ST> AsExpression<ST> for Twhere
T: Expression<SqlType = ST>,
ST: SqlType + TypedExpressionType,
§type Expression = T
type Expression = T
The expression being returned
§fn as_expression(self) -> T
fn as_expression(self) -> T
Perform the conversion
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
impl<Conn, DB, T> ExecuteDsl<Conn, DB> for Twhere
Conn: Connection<Backend = DB>,
DB: Backend,
T: QueryFragment<DB> + QueryId,
§impl<T> ExpressionMethods for Twhere
T: Expression,
<T as Expression>::SqlType: SingleValue,
impl<T> ExpressionMethods for Twhere
T: Expression,
<T as Expression>::SqlType: SingleValue,
§fn eq<T>(
self,
other: T,
) -> Grouped<Eq<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn eq<T>(
self,
other: T,
) -> Grouped<Eq<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Creates a SQL
=
expression. Read more§fn ne<T>(
self,
other: T,
) -> Grouped<NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn ne<T>(
self,
other: T,
) -> Grouped<NotEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Creates a SQL
!=
expression. Read more§fn eq_any<T>(
self,
values: T,
) -> Grouped<In<Self, <T as AsInExpression<Self::SqlType>>::InExpression>>where
Self::SqlType: SqlType,
T: AsInExpression<Self::SqlType>,
fn eq_any<T>(
self,
values: T,
) -> Grouped<In<Self, <T as AsInExpression<Self::SqlType>>::InExpression>>where
Self::SqlType: SqlType,
T: AsInExpression<Self::SqlType>,
Creates a SQL
IN
statement. Read more§fn ne_all<T>(
self,
values: T,
) -> Grouped<NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression>>where
Self::SqlType: SqlType,
T: AsInExpression<Self::SqlType>,
fn ne_all<T>(
self,
values: T,
) -> Grouped<NotIn<Self, <T as AsInExpression<Self::SqlType>>::InExpression>>where
Self::SqlType: SqlType,
T: AsInExpression<Self::SqlType>,
Creates a SQL
NOT IN
statement. Read more§fn is_not_null(self) -> Grouped<IsNotNull<Self>>
fn is_not_null(self) -> Grouped<IsNotNull<Self>>
Creates a SQL
IS NOT NULL
expression. Read more§fn gt<T>(
self,
other: T,
) -> Grouped<Gt<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn gt<T>(
self,
other: T,
) -> Grouped<Gt<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Creates a SQL
>
expression. Read more§fn ge<T>(
self,
other: T,
) -> Grouped<GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn ge<T>(
self,
other: T,
) -> Grouped<GtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Creates a SQL
>=
expression. Read more§fn lt<T>(
self,
other: T,
) -> Grouped<Lt<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn lt<T>(
self,
other: T,
) -> Grouped<Lt<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Creates a SQL
<
expression. Read more§fn le<T>(
self,
other: T,
) -> Grouped<LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn le<T>(
self,
other: T,
) -> Grouped<LtEq<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Creates a SQL
<=
expression. Read more§fn between<T, U>(
self,
lower: T,
upper: U,
) -> Grouped<Between<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
U: AsExpression<Self::SqlType>,
fn between<T, U>(
self,
lower: T,
upper: U,
) -> Grouped<Between<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>>>where
Self::SqlType: SqlType,
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,
) -> Grouped<NotBetween<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
U: AsExpression<Self::SqlType>,
fn not_between<T, U>(
self,
lower: T,
upper: U,
) -> Grouped<NotBetween<Self, And<<T as AsExpression<Self::SqlType>>::Expression, <U as AsExpression<Self::SqlType>>::Expression>>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
U: AsExpression<Self::SqlType>,
Creates a SQL
NOT BETWEEN
expression using the given lower and upper
bounds. Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoSql for T
impl<T> IntoSql for T
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> NullableExpressionMethods for Twhere
T: Expression,
impl<T> NullableExpressionMethods for Twhere
T: Expression,
§fn nullable(self) -> Nullable<Self>
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
§fn assume_not_null(self) -> AssumeNotNull<Self>
fn assume_not_null(self) -> AssumeNotNull<Self>
Converts this potentially nullable expression into one which will be assumed
to be not-null. This method has no impact on the generated SQL, however it will
enable you to attempt deserialization of the returned value in a non-
Option
. Read more