[−][src]Struct lib3h_protocol::types::EntryHash
Methods
impl EntryHash
[src]
pub fn map<__SHRINKWRAP_T, __SHRINKWRAP_F: FnMut(HashString) -> __SHRINKWRAP_T>(
self,
f: __SHRINKWRAP_F
) -> __SHRINKWRAP_T
[src]
self,
f: __SHRINKWRAP_F
) -> __SHRINKWRAP_T
Map a function over the wrapped value, consuming it in the process.
pub fn map_ref<__SHRINKWRAP_T, __SHRINKWRAP_F: FnMut(&HashString) -> __SHRINKWRAP_T>(
&self,
f: __SHRINKWRAP_F
) -> __SHRINKWRAP_T
[src]
&self,
f: __SHRINKWRAP_F
) -> __SHRINKWRAP_T
Map a function over the wrapped value without consuming it.
Methods from Deref<Target = HashString>
Trait Implementations
impl AsRef<HashString> for EntryHash
[src]
fn as_ref(&self) -> &HashString
[src]
impl Borrow<HashString> for EntryHash
[src]
fn borrow(&self) -> &HashString
[src]
impl Clone for EntryHash
[src]
impl Debug for EntryHash
[src]
impl Default for EntryHash
[src]
impl Deref for EntryHash
[src]
type Target = HashString
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<'de> Deserialize<'de> for EntryHash
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for EntryHash
[src]
impl Eq for EntryHash
[src]
impl<'_> From<&'_ EntryHash> for HashString
[src]
fn from(h: &EntryHash) -> HashString
[src]
impl<'_> From<&'_ EntryHash> for String
[src]
impl<'_> From<&'_ HashString> for EntryHash
[src]
fn from(s: &HashString) -> EntryHash
[src]
impl<'_> From<&'_ String> for EntryHash
[src]
impl<'_> From<&'_ str> for EntryHash
[src]
impl From<EntryHash> for HashString
[src]
fn from(h: EntryHash) -> HashString
[src]
impl From<EntryHash> for String
[src]
impl From<HashString> for EntryHash
[src]
fn from(s: HashString) -> EntryHash
[src]
impl From<String> for EntryHash
[src]
impl Hash for EntryHash
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl HashStringNewType for EntryHash
[src]
fn hash_string(&self) -> &HashString
[src]
impl Ord for EntryHash
[src]
fn cmp(&self, other: &EntryHash) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<EntryHash> for EntryHash
[src]
impl PartialOrd<EntryHash> for EntryHash
[src]
fn partial_cmp(&self, other: &EntryHash) -> Option<Ordering>
[src]
fn lt(&self, other: &EntryHash) -> bool
[src]
fn le(&self, other: &EntryHash) -> bool
[src]
fn gt(&self, other: &EntryHash) -> bool
[src]
fn ge(&self, other: &EntryHash) -> bool
[src]
impl Serialize for EntryHash
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for EntryHash
[src]
impl StructuralPartialEq for EntryHash
[src]
Auto Trait Implementations
impl RefUnwindSafe for EntryHash
impl Send for EntryHash
impl Sync for EntryHash
impl Unpin for EntryHash
impl UnwindSafe for EntryHash
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,