Struct sp_core::crypto::AccountId32[][src]

pub struct AccountId32(_);

An opaque 32-byte cryptographic identifier.

Implementations

impl AccountId32[src]

pub const fn new(inner: [u8; 32]) -> Self[src]

Create a new instance from its raw inner byte value.

Equivalent to this types From<[u8; 32]> implementation. For the lack of const support in traits we have this constructor.

Trait Implementations

impl AsMut<[u8; 32]> for AccountId32[src]

impl AsMut<[u8]> for AccountId32[src]

impl AsRef<[u8; 32]> for AccountId32[src]

impl AsRef<[u8]> for AccountId32[src]

impl Clone for AccountId32[src]

impl Debug for AccountId32[src]

impl Decode for AccountId32[src]

impl Default for AccountId32[src]

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

impl Display for AccountId32[src]

impl Encode for AccountId32[src]

impl EncodeLike<AccountId32> for AccountId32[src]

impl Eq for AccountId32[src]

impl From<[u8; 32]> for AccountId32[src]

impl From<Public> for AccountId32[src]

impl From<Public> for AccountId32[src]

impl FromStr for AccountId32[src]

type Err = &'static str

The associated error which can be returned from parsing.

impl Hash for AccountId32[src]

impl Ord for AccountId32[src]

impl PartialEq<AccountId32> for AccountId32[src]

impl PartialOrd<AccountId32> for AccountId32[src]

impl Serialize for AccountId32[src]

impl Ss58Codec for AccountId32[src]

impl StructuralEq for AccountId32[src]

impl StructuralPartialEq for AccountId32[src]

impl<'a> TryFrom<&'a [u8]> for AccountId32[src]

type Error = ()

The type returned in the event of a conversion error.

impl UncheckedFrom<H256> for AccountId32[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> AsByteSlice<T> for U where
    T: ToByteSlice,
    U: AsRef<[T]> + ?Sized

impl<T, U> AsMutByteSlice<T> for U where
    T: ToMutByteSlice,
    U: AsMut<[T]> + ?Sized

impl<U> AsMutSliceOf for U where
    U: AsMut<[u8]> + ?Sized

impl<U> AsSliceOf for U where
    U: AsRef<[u8]> + ?Sized

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

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

impl<S> Codec for S where
    S: Encode + Decode
[src]

impl<T> DecodeAll for T where
    T: Decode
[src]

impl<T> DecodeLimit for T where
    T: Decode
[src]

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

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

impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
    T: Encode
[src]

impl<'_, T> EncodeLike<&'_ T> for T where
    T: Encode
[src]

impl<'_, T> EncodeLike<&'_ mut T> for T where
    T: Encode
[src]

impl<T> EncodeLike<Arc<T>> for T where
    T: Encode
[src]

impl<T> EncodeLike<Box<T, Global>> for T where
    T: Encode
[src]

impl<'a, T> EncodeLike<Cow<'a, T>> for T where
    T: Encode + ToOwned
[src]

impl<T> EncodeLike<Rc<T>> for T where
    T: Encode
[src]

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

impl<S> FullCodec for S where
    S: Decode + FullEncode
[src]

impl<S> FullEncode for S where
    S: Encode + EncodeLike<S>, 
[src]

impl<T> Instrument for T[src]

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

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 
[src]

pub fn from_ref(&Outer) -> &T[src]

Get a reference to the inner from the outer.

pub fn from_mut(&mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> KeyedVec for T where
    T: Codec
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToHex for T where
    T: AsRef<[u8]>, 
[src]

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.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,