pub struct DatumHash(pub Hash32);Expand description
DatumHash
Tuple Fields§
§0: Hash32Trait Implementations§
Source§impl<'__expr> AsExpression<DatumHash> for &'__expr DatumHash
impl<'__expr> AsExpression<DatumHash> for &'__expr DatumHash
Source§type Expression = Bound<DatumHash, &'__expr DatumHash>
type Expression = Bound<DatumHash, &'__expr DatumHash>
The expression being returned
Source§fn as_expression(self) -> <Self as AsExpression<DatumHash>>::Expression
fn as_expression(self) -> <Self as AsExpression<DatumHash>>::Expression
Perform the conversion
Source§impl AsExpression<DatumHash> for DatumHash
impl AsExpression<DatumHash> for DatumHash
Source§type Expression = Bound<DatumHash, DatumHash>
type Expression = Bound<DatumHash, DatumHash>
The expression being returned
Source§fn as_expression(self) -> <Self as AsExpression<DatumHash>>::Expression
fn as_expression(self) -> <Self as AsExpression<DatumHash>>::Expression
Perform the conversion
Source§impl<'__expr> AsExpression<Nullable<DatumHash>> for &'__expr DatumHash
impl<'__expr> AsExpression<Nullable<DatumHash>> for &'__expr DatumHash
Source§type Expression = Bound<Nullable<DatumHash>, &'__expr DatumHash>
type Expression = Bound<Nullable<DatumHash>, &'__expr DatumHash>
The expression being returned
Source§fn as_expression(
self,
) -> <Self as AsExpression<Nullable<DatumHash>>>::Expression
fn as_expression( self, ) -> <Self as AsExpression<Nullable<DatumHash>>>::Expression
Perform the conversion
Source§impl AsExpression<Nullable<DatumHash>> for DatumHash
impl AsExpression<Nullable<DatumHash>> for DatumHash
Source§type Expression = Bound<Nullable<DatumHash>, DatumHash>
type Expression = Bound<Nullable<DatumHash>, DatumHash>
The expression being returned
Source§fn as_expression(
self,
) -> <Self as AsExpression<Nullable<DatumHash>>>::Expression
fn as_expression( self, ) -> <Self as AsExpression<Nullable<DatumHash>>>::Expression
Perform the conversion
Source§impl<__DB, __ST> Queryable<__ST, __DB> for DatumHashwhere
__DB: Backend,
__ST: SingleValue,
Self: FromSql<__ST, __DB>,
impl<__DB, __ST> Queryable<__ST, __DB> for DatumHashwhere
__DB: Backend,
__ST: SingleValue,
Self: FromSql<__ST, __DB>,
Source§impl<__DB> ToSql<Nullable<DatumHash>, __DB> for DatumHashwhere
__DB: Backend,
Self: ToSql<DatumHash, __DB>,
impl<__DB> ToSql<Nullable<DatumHash>, __DB> for DatumHashwhere
__DB: Backend,
Self: ToSql<DatumHash, __DB>,
impl Eq for DatumHash
impl StructuralPartialEq for DatumHash
Auto Trait Implementations§
impl Freeze for DatumHash
impl RefUnwindSafe for DatumHash
impl Send for DatumHash
impl Sync for DatumHash
impl Unpin for DatumHash
impl UnwindSafe for DatumHash
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.