Struct tx_indexer::database::plutus::ScriptHash
source · pub struct ScriptHash(pub Vec<u8>);
Expand description
ScriptHash
Tuple Fields§
§0: Vec<u8>
Trait Implementations§
source§impl Clone for ScriptHash
impl Clone for ScriptHash
source§fn clone(&self) -> ScriptHash
fn clone(&self) -> ScriptHash
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 ScriptHash
impl Debug for ScriptHash
source§impl<'r, DB: Database> Decode<'r, DB> for ScriptHash
impl<'r, DB: Database> Decode<'r, DB> for ScriptHash
source§impl<'q, DB: Database> Encode<'q, DB> for ScriptHash
impl<'q, DB: Database> Encode<'q, DB> for ScriptHash
source§impl From<ScriptHash> for ScriptHash
impl From<ScriptHash> for ScriptHash
source§fn from(item: ScriptHash) -> Self
fn from(item: ScriptHash) -> Self
Converts to this type from the input type.
source§impl From<ScriptHash> for ScriptHash
impl From<ScriptHash> for ScriptHash
source§impl PartialEq for ScriptHash
impl PartialEq for ScriptHash
source§fn eq(&self, other: &ScriptHash) -> bool
fn eq(&self, other: &ScriptHash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Type<Postgres> for ScriptHash
impl Type<Postgres> for ScriptHash
impl Eq for ScriptHash
impl StructuralPartialEq for ScriptHash
Auto Trait Implementations§
impl Freeze for ScriptHash
impl RefUnwindSafe for ScriptHash
impl Send for ScriptHash
impl Sync for ScriptHash
impl Unpin for ScriptHash
impl UnwindSafe for ScriptHash
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
§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.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<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