Struct tx_indexer::schema::sync_progress::columns::block_hash
source · pub struct block_hash;
Trait Implementations§
source§impl AppearsInFromClause<Only<table>> for block_hash
impl AppearsInFromClause<Only<table>> for block_hash
source§impl<TSM> AppearsInFromClause<Tablesample<table, TSM>> for block_hashwhere
TSM: TablesampleMethod,
impl<TSM> AppearsInFromClause<Tablesample<table, TSM>> for block_hashwhere
TSM: TablesampleMethod,
source§impl Clone for block_hash
impl Clone for block_hash
source§fn clone(&self) -> block_hash
fn clone(&self) -> block_hash
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_hash
impl Column for block_hash
source§impl Debug for block_hash
impl Debug for block_hash
source§impl Default for block_hash
impl Default for block_hash
source§fn default() -> block_hash
fn default() -> block_hash
Returns the “default value” for a type. Read more
source§impl Expression for block_hash
impl Expression for block_hash
source§impl<DB> QueryFragment<DB> for block_hashwhere
DB: Backend,
StaticQueryFragmentInstance<table>: QueryFragment<DB>,
impl<DB> QueryFragment<DB> for block_hashwhere
DB: Backend,
StaticQueryFragmentInstance<table>: QueryFragment<DB>,
source§impl QueryId for block_hash
impl QueryId for block_hash
§type QueryId = block_hash
type QueryId = block_hash
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 ValidGrouping<()> for block_hash
impl ValidGrouping<()> for block_hash
§type IsAggregate = No
type IsAggregate = No
Is this expression aggregate? Read more
source§impl<__GB> ValidGrouping<__GB> for block_hashwhere
__GB: IsContainedInGroupBy<block_hash, Output = Yes>,
impl<__GB> ValidGrouping<__GB> for block_hashwhere
__GB: IsContainedInGroupBy<block_hash, Output = Yes>,
§type IsAggregate = Yes
type IsAggregate = Yes
Is this expression aggregate? Read more
impl<QS> AppearsOnTable<QS> for block_hashwhere
QS: AppearsInFromClause<table, Count = Once>,
impl Copy for block_hash
impl SelectableExpression<Only<table>> for block_hash
impl<TSM> SelectableExpression<Tablesample<table, TSM>> for block_hashwhere
TSM: TablesampleMethod,
impl SelectableExpression<table> for block_hash
Auto Trait Implementations§
impl Freeze for block_hash
impl RefUnwindSafe for block_hash
impl Send for block_hash
impl Sync for block_hash
impl Unpin for block_hash
impl UnwindSafe for block_hash
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> PgBinaryExpressionMethods for Twhere
T: Expression,
<T as Expression>::SqlType: BinaryOrNullableBinary,
impl<T> PgBinaryExpressionMethods for Twhere
T: Expression,
<T as Expression>::SqlType: BinaryOrNullableBinary,
§fn concat<T>(
self,
other: T
) -> Grouped<Concat<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
fn concat<T>(
self,
other: T
) -> Grouped<Concat<Self, <T as AsExpression<Self::SqlType>>::Expression>>where
Self::SqlType: SqlType,
T: AsExpression<Self::SqlType>,
Concatenates two PostgreSQL byte arrays using the
||
operator. 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