Struct tx_indexer::schema::sync_progress::columns::block_slot
source · pub struct block_slot;
Trait Implementations§
source§impl<Rhs> Add<Rhs> for block_slotwhere
Rhs: AsExpression<<<block_slot as Expression>::SqlType as Add>::Rhs>,
impl<Rhs> Add<Rhs> for block_slotwhere
Rhs: AsExpression<<<block_slot as Expression>::SqlType as Add>::Rhs>,
§type Output = Add<block_slot, <Rhs as AsExpression<<<block_slot as Expression>::SqlType as Add>::Rhs>>::Expression>
type Output = Add<block_slot, <Rhs as AsExpression<<<block_slot as Expression>::SqlType as Add>::Rhs>>::Expression>
The resulting type after applying the
+
operator.source§impl AppearsInFromClause<Only<table>> for block_slot
impl AppearsInFromClause<Only<table>> for block_slot
source§impl<TSM> AppearsInFromClause<Tablesample<table, TSM>> for block_slotwhere
TSM: TablesampleMethod,
impl<TSM> AppearsInFromClause<Tablesample<table, TSM>> for block_slotwhere
TSM: TablesampleMethod,
source§impl Clone for block_slot
impl Clone for block_slot
source§fn clone(&self) -> block_slot
fn clone(&self) -> block_slot
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 block_slot
impl Column for block_slot
source§impl Debug for block_slot
impl Debug for block_slot
source§impl Default for block_slot
impl Default for block_slot
source§fn default() -> block_slot
fn default() -> block_slot
Returns the “default value” for a type. Read more
source§impl<Rhs> Div<Rhs> for block_slotwhere
Rhs: AsExpression<<<block_slot as Expression>::SqlType as Div>::Rhs>,
impl<Rhs> Div<Rhs> for block_slotwhere
Rhs: AsExpression<<<block_slot as Expression>::SqlType as Div>::Rhs>,
§type Output = Div<block_slot, <Rhs as AsExpression<<<block_slot as Expression>::SqlType as Div>::Rhs>>::Expression>
type Output = Div<block_slot, <Rhs as AsExpression<<<block_slot as Expression>::SqlType as Div>::Rhs>>::Expression>
The resulting type after applying the
/
operator.source§impl Expression for block_slot
impl Expression for block_slot
source§impl<Rhs> Mul<Rhs> for block_slotwhere
Rhs: AsExpression<<<block_slot as Expression>::SqlType as Mul>::Rhs>,
impl<Rhs> Mul<Rhs> for block_slotwhere
Rhs: AsExpression<<<block_slot as Expression>::SqlType as Mul>::Rhs>,
§type Output = Mul<block_slot, <Rhs as AsExpression<<<block_slot as Expression>::SqlType as Mul>::Rhs>>::Expression>
type Output = Mul<block_slot, <Rhs as AsExpression<<<block_slot as Expression>::SqlType as Mul>::Rhs>>::Expression>
The resulting type after applying the
*
operator.source§impl<DB> QueryFragment<DB> for block_slotwhere
DB: Backend,
StaticQueryFragmentInstance<table>: QueryFragment<DB>,
impl<DB> QueryFragment<DB> for block_slotwhere
DB: Backend,
StaticQueryFragmentInstance<table>: QueryFragment<DB>,
source§impl QueryId for block_slot
impl QueryId for block_slot
§type QueryId = block_slot
type QueryId = block_slot
A type which uniquely represents
Self
in a SQL query. Read moresource§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§impl<Rhs> Sub<Rhs> for block_slotwhere
Rhs: AsExpression<<<block_slot as Expression>::SqlType as Sub>::Rhs>,
impl<Rhs> Sub<Rhs> for block_slotwhere
Rhs: AsExpression<<<block_slot as Expression>::SqlType as Sub>::Rhs>,
§type Output = Sub<block_slot, <Rhs as AsExpression<<<block_slot as Expression>::SqlType as Sub>::Rhs>>::Expression>
type Output = Sub<block_slot, <Rhs as AsExpression<<<block_slot as Expression>::SqlType as Sub>::Rhs>>::Expression>
The resulting type after applying the
-
operator.source§impl ValidGrouping<()> for block_slot
impl ValidGrouping<()> for block_slot
§type IsAggregate = No
type IsAggregate = No
Is this expression aggregate? Read more
source§impl<__GB> ValidGrouping<__GB> for block_slotwhere
__GB: IsContainedInGroupBy<block_slot, Output = Yes>,
impl<__GB> ValidGrouping<__GB> for block_slotwhere
__GB: IsContainedInGroupBy<block_slot, Output = Yes>,
§type IsAggregate = Yes
type IsAggregate = Yes
Is this expression aggregate? Read more
impl<QS> AppearsOnTable<QS> for block_slotwhere
QS: AppearsInFromClause<table, Count = Once>,
impl Copy for block_slot
impl SelectableExpression<Only<table>> for block_slot
impl<TSM> SelectableExpression<Tablesample<table, TSM>> for block_slotwhere
TSM: TablesampleMethod,
impl SelectableExpression<table> for block_slot
Auto Trait Implementations§
impl Freeze for block_slot
impl RefUnwindSafe for block_slot
impl Send for block_slot
impl Sync for block_slot
impl Unpin for block_slot
impl UnwindSafe for block_slot
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
§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 moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
§impl<T> IntoSql for T
impl<T> IntoSql for T
§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§impl<T> PgExpressionMethods for Twhere
T: Expression,
impl<T> PgExpressionMethods for Twhere
T: Expression,
§fn is_not_distinct_from<T>(
self,
other: T
) -> Grouped<IsNotDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn is_not_distinct_from<T>(
self,
other: T
) -> Grouped<IsNotDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Creates a PostgreSQL
IS NOT DISTINCT FROM
expression. Read more§fn is_distinct_from<T>(
self,
other: T
) -> Grouped<IsDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn is_distinct_from<T>(
self,
other: T
) -> Grouped<IsDistinctFrom<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Creates a PostgreSQL
IS DISTINCT FROM
expression. Read more