Struct sp_runtime::AccountId32 [−][src]
Re-export this since it’s part of the API of this crate. An opaque 32-byte cryptographic identifier.
Implementations
impl AccountId32
[src][−]
Re-export this since it’s part of the API of this crate.
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][+]
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][+]
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][+]
T: 'static + ?Sized,
impl<T, U> AsByteSlice<T> for U where
T: ToByteSlice,
U: AsRef<[T]> + ?Sized,
[src][+]
T: ToByteSlice,
U: AsRef<[T]> + ?Sized,
impl<T, U> AsMutByteSlice<T> for U where
T: ToMutByteSlice,
U: AsMut<[T]> + ?Sized,
[src][+]
T: ToMutByteSlice,
U: AsMut<[T]> + ?Sized,
impl<U> AsMutSliceOf for U where
U: AsMut<[u8]> + ?Sized,
[src][+]
U: AsMut<[u8]> + ?Sized,
impl<U> AsSliceOf for U where
U: AsRef<[u8]> + ?Sized,
[src][+]
U: AsRef<[u8]> + ?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,
impl<T> CallHasher for T where
T: Hash,
[src][+]
T: Hash,
impl<T> CheckedConversion for T
[src][+]
impl<T> Clear for T where
T: Default + Eq + PartialEq<T>,
[src][+]
T: Default + Eq + PartialEq<T>,
impl<S> Codec for S where
S: Decode + Encode,
[src]
S: Decode + Encode,
impl<T> DecodeAll for T where
T: Decode,
[src][+]
T: Decode,
impl<T> DecodeLimit for T where
T: Decode,
[src][+]
T: Decode,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src][+]
T: Clone,
impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ mut T> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Arc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Box<T, Global>> for T where
T: Encode,
[src]
T: Encode,
impl<'a, T> EncodeLike<Cow<'a, T>> for T where
T: ToOwned + Encode,
[src]
T: ToOwned + Encode,
impl<T> EncodeLike<Rc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> Error for T where
T: 'static + Debug + Display + Send + Sync,
[src]
T: 'static + Debug + Display + Send + Sync,
impl<T> From<T> for T
[src][+]
impl<S> FullCodec for S where
S: Decode + FullEncode,
[src]
S: Decode + FullEncode,
impl<S> FullEncode for S where
S: Encode + EncodeLike<S>,
[src]
S: Encode + EncodeLike<S>,
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src][+]
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
impl<T> KeyedVec for T where
T: Codec,
[src][+]
T: Codec,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeDisplay for T where
T: Display,
[src]
T: Display,
impl<T> MaybeFromStr for T where
T: FromStr,
[src]
T: FromStr,
impl<T> MaybeHash for T where
T: Hash,
[src]
T: Hash,
impl<T> MaybeHash for T where
T: Hash,
[src]
T: Hash,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> MaybeSerialize for T where
T: Serialize,
[src]
T: Serialize,
impl<T> MaybeSerializeDeserialize for T where
T: DeserializeOwned + Serialize,
[src]
T: DeserializeOwned + Serialize,
impl<T> Member for T where
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,
[src]
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
[src][+]
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src][+]
T: AsRef<[u8]>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src][+]
T: UncheckedFrom<S>,
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src][+]
T: Bounded,
S: TryInto<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,