Struct near_sdk::json_types::Base58PublicKey[][src]

pub struct Base58PublicKey(pub Vec<u8>);

Public key in a binary format with base58 string serialization with human-readable curve. e.g. ed25519:3tysLvy7KGoE8pznUgXvSHa4vYyGvrDZFcT8jgb8PEQ6

Trait Implementations

impl BorshDeserialize for Base58PublicKey[src]

impl BorshSerialize for Base58PublicKey[src]

impl Clone for Base58PublicKey[src]

impl Debug for Base58PublicKey[src]

impl<'de> Deserialize<'de> for Base58PublicKey[src]

impl Eq for Base58PublicKey[src]

impl Ord for Base58PublicKey[src]

impl PartialEq<Base58PublicKey> for Base58PublicKey[src]

impl PartialOrd<Base58PublicKey> for Base58PublicKey[src]

impl Serialize for Base58PublicKey[src]

impl StructuralEq for Base58PublicKey[src]

impl StructuralPartialEq for Base58PublicKey[src]

impl TryFrom<&'_ str> for Base58PublicKey[src]

type Error = Box<dyn Error>

The type returned in the event of a conversion error.

impl TryFrom<String> for Base58PublicKey[src]

type Error = Box<dyn Error>

The type returned in the event of a conversion error.

impl TryFrom<Vec<u8, Global>> for Base58PublicKey[src]

type Error = Box<dyn Error>

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.