Struct near_sdk::json_types::Base58CryptoHash
source · pub struct Base58CryptoHash(/* private fields */);
Trait Implementations§
source§impl BorshDeserialize for Base58CryptoHash
impl BorshDeserialize for Base58CryptoHash
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
source§impl BorshSerialize for Base58CryptoHash
impl BorshSerialize for Base58CryptoHash
source§impl Clone for Base58CryptoHash
impl Clone for Base58CryptoHash
source§fn clone(&self) -> Base58CryptoHash
fn clone(&self) -> Base58CryptoHash
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 Base58CryptoHash
impl Debug for Base58CryptoHash
source§impl Default for Base58CryptoHash
impl Default for Base58CryptoHash
source§fn default() -> Base58CryptoHash
fn default() -> Base58CryptoHash
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Base58CryptoHash
impl<'de> Deserialize<'de> for Base58CryptoHash
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 From<&Base58CryptoHash> for String
impl From<&Base58CryptoHash> for String
source§fn from(hash: &Base58CryptoHash) -> Self
fn from(hash: &Base58CryptoHash) -> Self
Converts to this type from the input type.
source§impl From<[u8; 32]> for Base58CryptoHash
impl From<[u8; 32]> for Base58CryptoHash
source§fn from(c: CryptoHash) -> Base58CryptoHash
fn from(c: CryptoHash) -> Base58CryptoHash
Converts to this type from the input type.
source§impl From<Base58CryptoHash> for CryptoHash
impl From<Base58CryptoHash> for CryptoHash
source§fn from(v: Base58CryptoHash) -> CryptoHash
fn from(v: Base58CryptoHash) -> CryptoHash
Converts to this type from the input type.
source§impl FromStr for Base58CryptoHash
impl FromStr for Base58CryptoHash
source§impl Ord for Base58CryptoHash
impl Ord for Base58CryptoHash
source§fn cmp(&self, other: &Base58CryptoHash) -> Ordering
fn cmp(&self, other: &Base58CryptoHash) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Base58CryptoHash
impl PartialEq for Base58CryptoHash
source§fn 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 ==
.source§impl PartialOrd for Base58CryptoHash
impl PartialOrd for Base58CryptoHash
source§fn partial_cmp(&self, other: &Base58CryptoHash) -> Option<Ordering>
fn partial_cmp(&self, other: &Base58CryptoHash) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for Base58CryptoHash
impl Serialize for Base58CryptoHash
source§impl TryFrom<&str> for Base58CryptoHash
impl TryFrom<&str> for Base58CryptoHash
source§impl TryFrom<String> for Base58CryptoHash
impl TryFrom<String> for Base58CryptoHash
impl Copy for Base58CryptoHash
impl Eq for Base58CryptoHash
impl StructuralPartialEq for Base58CryptoHash
Auto Trait Implementations§
impl Freeze for Base58CryptoHash
impl RefUnwindSafe for Base58CryptoHash
impl Send for Base58CryptoHash
impl Sync for Base58CryptoHash
impl Unpin for Base58CryptoHash
impl UnwindSafe for Base58CryptoHash
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