Struct substrate_api_client::AccountInfoGen [−][src]
pub struct AccountInfoGen<Index, AccountData> { pub nonce: Index, pub consumers: RefCount, pub providers: RefCount, pub data: AccountData, }
Expand description
Redefinition from frame-system
. Again see: https://github.com/paritytech/substrate/issues/8891
Fields
nonce: Index
The number of transactions this account has sent.
consumers: RefCount
The number of other modules that currently depend on this account’s existence. The account cannot be reaped until this is zero.
providers: RefCount
The number of other modules that allow this account to exist. The account may not be reaped
until this and sufficients
are both zero.
data: AccountData
The additional data that belongs to this account. Used to store the balance(s) in a lot of chains.
Trait Implementations
Returns the “default value” for a type. Read more
impl<Index: PartialEq, AccountData: PartialEq> PartialEq<AccountInfoGen<Index, AccountData>> for AccountInfoGen<Index, AccountData>
impl<Index: PartialEq, AccountData: PartialEq> PartialEq<AccountInfoGen<Index, AccountData>> for AccountInfoGen<Index, AccountData>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<Index, AccountData> EncodeLike<AccountInfoGen<Index, AccountData>> for AccountInfoGen<Index, AccountData> where
Index: Encode,
Index: Encode,
AccountData: Encode,
AccountData: Encode,
Auto Trait Implementations
impl<Index, AccountData> RefUnwindSafe for AccountInfoGen<Index, AccountData> where
AccountData: RefUnwindSafe,
Index: RefUnwindSafe,
impl<Index, AccountData> Send for AccountInfoGen<Index, AccountData> where
AccountData: Send,
Index: Send,
impl<Index, AccountData> Sync for AccountInfoGen<Index, AccountData> where
AccountData: Sync,
Index: Sync,
impl<Index, AccountData> Unpin for AccountInfoGen<Index, AccountData> where
AccountData: Unpin,
Index: Unpin,
impl<Index, AccountData> UnwindSafe for AccountInfoGen<Index, AccountData> where
AccountData: UnwindSafe,
Index: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
Convert from a value of T
into an equivalent instance of Self
. Read more
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of T
. Read more
The counterpart to unchecked_from
.
pub fn unique_saturated_into(self) -> T
pub fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of T
.
pub fn vzip(self) -> V
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,