Struct near_sdk::json_types::ValidAccountId[][src]

pub struct ValidAccountId(_);

Helper class to validate account ID during serialization and deserializiation

Implementations

impl ValidAccountId[src]

pub fn to_string(&self) -> String[src]

Trait Implementations

impl AsRef<String> for ValidAccountId[src]

impl BorshDeserialize for ValidAccountId[src]

impl BorshSerialize for ValidAccountId[src]

impl Clone for ValidAccountId[src]

impl Debug for ValidAccountId[src]

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

impl Display for ValidAccountId[src]

impl Eq for ValidAccountId[src]

impl From<ValidAccountId> for AccountId[src]

impl Ord for ValidAccountId[src]

impl PartialEq<ValidAccountId> for ValidAccountId[src]

impl PartialOrd<ValidAccountId> for ValidAccountId[src]

impl Serialize for ValidAccountId[src]

impl StructuralEq for ValidAccountId[src]

impl StructuralPartialEq for ValidAccountId[src]

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

type Error = Box<dyn Error>

The type returned in the event of a conversion error.

impl TryFrom<String> for ValidAccountId[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> ToString for T where
    T: Display + ?Sized
[src]

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.