Struct tx_indexer::database::plutus::TransactionHash
source · pub struct TransactionHash(pub Hash32);
Expand description
TransactionHash
Tuple Fields§
§0: Hash32
Trait Implementations§
source§impl<'__expr> AsExpression<Nullable<TransactionHash>> for &'__expr TransactionHash
impl<'__expr> AsExpression<Nullable<TransactionHash>> for &'__expr TransactionHash
§type Expression = Bound<Nullable<TransactionHash>, &'__expr TransactionHash>
type Expression = Bound<Nullable<TransactionHash>, &'__expr TransactionHash>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<Nullable<TransactionHash>> for TransactionHash
impl AsExpression<Nullable<TransactionHash>> for TransactionHash
§type Expression = Bound<Nullable<TransactionHash>, TransactionHash>
type Expression = Bound<Nullable<TransactionHash>, TransactionHash>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl<'__expr> AsExpression<TransactionHash> for &'__expr TransactionHash
impl<'__expr> AsExpression<TransactionHash> for &'__expr TransactionHash
§type Expression = Bound<TransactionHash, &'__expr TransactionHash>
type Expression = Bound<TransactionHash, &'__expr TransactionHash>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl AsExpression<TransactionHash> for TransactionHash
impl AsExpression<TransactionHash> for TransactionHash
§type Expression = Bound<TransactionHash, TransactionHash>
type Expression = Bound<TransactionHash, TransactionHash>
The expression being returned
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
source§impl Clone for TransactionHash
impl Clone for TransactionHash
source§fn clone(&self) -> TransactionHash
fn clone(&self) -> TransactionHash
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 Debug for TransactionHash
impl Debug for TransactionHash
source§impl From<TransactionHash> for TransactionHash
impl From<TransactionHash> for TransactionHash
source§fn from(item: TransactionHash) -> Self
fn from(item: TransactionHash) -> Self
Converts to this type from the input type.
source§impl From<TransactionHash> for TransactionHash
impl From<TransactionHash> for TransactionHash
source§impl FromSql<TransactionHash, Pg> for TransactionHash
impl FromSql<TransactionHash, Pg> for TransactionHash
source§impl PartialEq for TransactionHash
impl PartialEq for TransactionHash
source§fn eq(&self, other: &TransactionHash) -> bool
fn eq(&self, other: &TransactionHash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<__DB, __ST> Queryable<__ST, __DB> for TransactionHashwhere
__DB: Backend,
__ST: SingleValue,
Self: FromSql<__ST, __DB>,
impl<__DB, __ST> Queryable<__ST, __DB> for TransactionHashwhere
__DB: Backend,
__ST: SingleValue,
Self: FromSql<__ST, __DB>,
source§impl<__DB> ToSql<Nullable<TransactionHash>, __DB> for TransactionHashwhere
__DB: Backend,
Self: ToSql<TransactionHash, __DB>,
impl<__DB> ToSql<Nullable<TransactionHash>, __DB> for TransactionHashwhere
__DB: Backend,
Self: ToSql<TransactionHash, __DB>,
source§impl ToSql<TransactionHash, Pg> for TransactionHash
impl ToSql<TransactionHash, Pg> for TransactionHash
impl Eq for TransactionHash
impl StructuralPartialEq for TransactionHash
Auto Trait Implementations§
impl Freeze for TransactionHash
impl RefUnwindSafe for TransactionHash
impl Send for TransactionHash
impl Sync for TransactionHash
impl Unpin for TransactionHash
impl UnwindSafe for TransactionHash
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
impl<T, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
§impl<T, ST, DB> FromStaticSqlRow<ST, DB> for Twhere
DB: Backend,
T: FromSql<ST, DB>,
ST: SingleValue,
impl<T, ST, DB> FromStaticSqlRow<ST, DB> for Twhere
DB: Backend,
T: FromSql<ST, DB>,
ST: SingleValue,
§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, ST, DB> StaticallySizedRow<ST, DB> for Twhere
ST: SqlTypeOrSelectable + TupleSize,
T: Queryable<ST, DB>,
DB: Backend,
impl<T, ST, DB> StaticallySizedRow<ST, DB> for Twhere
ST: SqlTypeOrSelectable + TupleSize,
T: Queryable<ST, DB>,
DB: Backend,
§const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
const FIELD_COUNT: usize = <ST as crate::util::TupleSize>::SIZE
The number of fields that this type will consume.