[][src]Struct sp_runtime::AccountId32

pub struct AccountId32(_);

Re-export this since it's part of the API of this crate. An opaque 32-byte cryptographic identifier.

Implementations

impl AccountId32[src]

pub const fn new(inner: [u8; 32]) -> AccountId32[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

impl RefUnwindSafe for AccountId32

impl Send for AccountId32

impl Sync for AccountId32

impl Unpin for AccountId32

impl UnwindSafe for AccountId32

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<T> CheckedConversion for T[src]

impl<T> Clear for T where
    T: PartialEq<T> + Eq + Default
[src]

impl<S> Codec for S where
    S: Encode + Decode, 

impl<T> DecodeAll for T where
    T: Decode, 

impl<T> DecodeLimit for T where
    T: Decode, 

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, 

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

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

impl<T> EncodeLike<Arc<T>> for T where
    T: Encode, 

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

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

impl<T> EncodeLike<Rc<T>> for T where
    T: Encode, 

impl<T> Error for T where
    T: 'static + Send + Sync + Debug + Display
[src]

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

impl<S> FullCodec for S where
    S: Decode + FullEncode, 

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

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
    Outer: AsRef<T> + AsMut<T> + From<T>,
    T: From<Outer>, 
[src]

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

Get a reference to the inner from the outer.

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

Get a mutable reference to the inner from the outer.

impl<T> KeyedVec for T where
    T: Codec, 

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDisplay for T where
    T: Display
[src]

impl<T> MaybeFromStr for T where
    T: FromStr
[src]

impl<T> MaybeHash for T where
    T: Hash
[src]

impl<T> MaybeHash for T where
    T: Hash
[src]

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe
[src]

impl<T> MaybeSerialize for T where
    T: Serialize
[src]

impl<T> MaybeSerializeDeserialize for T where
    T: DeserializeOwned + Serialize
[src]

impl<T> Member for T where
    T: 'static + Clone + PartialEq<T> + Eq + Send + Sync + Debug
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

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<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded
[src]

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