Struct holo_hash::EntryHashes
source · Expand description
A newtype for a collection of EntryHashes, needed for some wasm return types.
Tuple Fields§
§0: Vec<EntryHash>
Trait Implementations§
source§impl Debug for EntryHashes
impl Debug for EntryHashes
source§impl<'de> Deserialize<'de> for EntryHashes
impl<'de> Deserialize<'de> for EntryHashes
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<EntryHashes> for EntryHashes
impl PartialEq<EntryHashes> for EntryHashes
source§fn eq(&self, other: &EntryHashes) -> bool
fn eq(&self, other: &EntryHashes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EntryHashes
impl Serialize for EntryHashes
source§impl TryFrom<&EntryHashes> for SerializedBytes
impl TryFrom<&EntryHashes> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: &EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<EntryHashes> for SerializedBytes
impl TryFrom<EntryHashes> for SerializedBytes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
fn try_from(t: EntryHashes) -> Result<SerializedBytes, SerializedBytesError>
Performs the conversion.
source§impl TryFrom<SerializedBytes> for EntryHashes
impl TryFrom<SerializedBytes> for EntryHashes
§type Error = SerializedBytesError
type Error = SerializedBytesError
The type returned in the event of a conversion error.
source§fn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>
fn try_from(sb: SerializedBytes) -> Result<EntryHashes, SerializedBytesError>
Performs the conversion.
impl Eq for EntryHashes
impl StructuralEq for EntryHashes
impl StructuralPartialEq for EntryHashes
Auto Trait Implementations§
impl RefUnwindSafe for EntryHashes
impl Send for EntryHashes
impl Sync for EntryHashes
impl Unpin for EntryHashes
impl UnwindSafe for EntryHashes
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.