Struct near_sdk::json_types::Base58CryptoHash [−][src]
Trait Implementations
impl BorshDeserialize for Base58CryptoHash
[src]
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
[src]
pub fn try_from_slice(v: &[u8]) -> Result<Self, Error>
[src]
pub fn is_u8() -> bool
[src]
impl BorshSerialize for Base58CryptoHash
[src]
fn serialize<W: Write>(&self, writer: &mut W) -> Result<(), Error>
[src]
pub fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>
[src]
pub fn is_u8() -> bool
[src]
impl Clone for Base58CryptoHash
[src]
fn clone(&self) -> Base58CryptoHash
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Base58CryptoHash
[src]
impl Debug for Base58CryptoHash
[src]
impl Default for Base58CryptoHash
[src]
fn default() -> Base58CryptoHash
[src]
impl<'de> Deserialize<'de> for Base58CryptoHash
[src]
fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Eq for Base58CryptoHash
[src]
impl From<[u8; 32]> for Base58CryptoHash
[src]
fn from(c: CryptoHash) -> Base58CryptoHash
[src]
impl From<Base58CryptoHash> for CryptoHash
[src]
fn from(v: Base58CryptoHash) -> CryptoHash
[src]
impl Ord for Base58CryptoHash
[src]
fn cmp(&self, other: &Base58CryptoHash) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Base58CryptoHash> for Base58CryptoHash
[src]
fn eq(&self, other: &Base58CryptoHash) -> bool
[src]
fn ne(&self, other: &Base58CryptoHash) -> bool
[src]
impl PartialOrd<Base58CryptoHash> for Base58CryptoHash
[src]
fn partial_cmp(&self, other: &Base58CryptoHash) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for Base58CryptoHash
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl StructuralEq for Base58CryptoHash
[src]
impl StructuralPartialEq for Base58CryptoHash
[src]
impl TryFrom<&'_ str> for Base58CryptoHash
[src]
type Error = Box<dyn Error>
The type returned in the event of a conversion error.
fn try_from(value: &str) -> Result<Self, Self::Error>
[src]
impl TryFrom<String> for Base58CryptoHash
[src]
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
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> 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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,