Struct near_sdk::json_types::Base58CryptoHash
source · [−]pub struct Base58CryptoHash(_);
Trait Implementations
sourceimpl BorshDeserialize for Base58CryptoHash
impl BorshDeserialize for Base58CryptoHash
sourceimpl BorshSerialize for Base58CryptoHash
impl BorshSerialize for Base58CryptoHash
sourceimpl Clone for Base58CryptoHash
impl Clone for Base58CryptoHash
sourcefn clone(&self) -> Base58CryptoHash
fn clone(&self) -> Base58CryptoHash
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Base58CryptoHash
impl Debug for Base58CryptoHash
sourceimpl Default for Base58CryptoHash
impl Default for Base58CryptoHash
sourcefn default() -> Base58CryptoHash
fn default() -> Base58CryptoHash
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Base58CryptoHash
impl<'de> Deserialize<'de> for Base58CryptoHash
sourcefn 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
sourceimpl From<&'_ Base58CryptoHash> for String
impl From<&'_ Base58CryptoHash> for String
sourcefn from(hash: &Base58CryptoHash) -> Self
fn from(hash: &Base58CryptoHash) -> Self
Converts to this type from the input type.
sourceimpl From<[u8; 32]> for Base58CryptoHash
impl From<[u8; 32]> for Base58CryptoHash
sourcefn from(c: CryptoHash) -> Base58CryptoHash
fn from(c: CryptoHash) -> Base58CryptoHash
Converts to this type from the input type.
sourceimpl From<Base58CryptoHash> for CryptoHash
impl From<Base58CryptoHash> for CryptoHash
sourcefn from(v: Base58CryptoHash) -> CryptoHash
fn from(v: Base58CryptoHash) -> CryptoHash
Converts to this type from the input type.
sourceimpl FromStr for Base58CryptoHash
impl FromStr for Base58CryptoHash
sourceimpl Ord for Base58CryptoHash
impl Ord for Base58CryptoHash
sourceimpl PartialEq<Base58CryptoHash> for Base58CryptoHash
impl PartialEq<Base58CryptoHash> for Base58CryptoHash
sourcefn eq(&self, other: &Base58CryptoHash) -> bool
fn eq(&self, other: &Base58CryptoHash) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Base58CryptoHash) -> bool
fn ne(&self, other: &Base58CryptoHash) -> bool
This method tests for !=
.
sourceimpl PartialOrd<Base58CryptoHash> for Base58CryptoHash
impl PartialOrd<Base58CryptoHash> for Base58CryptoHash
sourcefn partial_cmp(&self, other: &Base58CryptoHash) -> Option<Ordering>
fn partial_cmp(&self, other: &Base58CryptoHash) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for Base58CryptoHash
impl Serialize for Base58CryptoHash
sourceimpl TryFrom<&'_ str> for Base58CryptoHash
impl TryFrom<&'_ str> for Base58CryptoHash
sourceimpl TryFrom<String> for Base58CryptoHash
impl TryFrom<String> for Base58CryptoHash
impl Copy for Base58CryptoHash
impl Eq for Base58CryptoHash
impl StructuralEq for Base58CryptoHash
impl StructuralPartialEq for Base58CryptoHash
Auto Trait Implementations
impl RefUnwindSafe for Base58CryptoHash
impl Send for Base58CryptoHash
impl Sync for Base58CryptoHash
impl Unpin for Base58CryptoHash
impl UnwindSafe for Base58CryptoHash
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more