Struct entropy_testing_utils::chain_api::entropy::system::storage::StorageApi
source · pub struct StorageApi;Implementations§
source§impl StorageApi
impl StorageApi
pub fn account_iter( &self, ) -> Address<(), AccountInfo<u32, AccountData<u128>>, (), Yes, Yes>
pub fn account( &self, _0: impl Borrow<AccountId32>, ) -> Address<StaticStorageKey<AccountId32>, AccountInfo<u32, AccountData<u128>>, Yes, Yes, ()>
pub fn extrinsic_count(&self) -> Address<(), u32, Yes, (), ()>
pub fn block_weight( &self, ) -> Address<(), PerDispatchClass<Weight>, Yes, Yes, ()>
pub fn all_extrinsics_len(&self) -> Address<(), u32, Yes, (), ()>
pub fn block_hash_iter(&self) -> Address<(), H256, (), Yes, Yes>
pub fn block_hash( &self, _0: impl Borrow<u32>, ) -> Address<StaticStorageKey<u32>, H256, Yes, Yes, ()>
pub fn extrinsic_data_iter(&self) -> Address<(), Vec<u8>, (), Yes, Yes>
pub fn extrinsic_data( &self, _0: impl Borrow<u32>, ) -> Address<StaticStorageKey<u32>, Vec<u8>, Yes, Yes, ()>
pub fn number(&self) -> Address<(), u32, Yes, Yes, ()>
pub fn parent_hash(&self) -> Address<(), H256, Yes, Yes, ()>
pub fn digest(&self) -> Address<(), Digest, Yes, Yes, ()>
pub fn events( &self, ) -> Address<(), Vec<EventRecord<RuntimeEvent, H256>>, Yes, Yes, ()>
pub fn event_count(&self) -> Address<(), u32, Yes, Yes, ()>
pub fn event_topics_iter(&self) -> Address<(), Vec<(u32, u32)>, (), Yes, Yes>
pub fn event_topics( &self, _0: impl Borrow<H256>, ) -> Address<StaticStorageKey<H256>, Vec<(u32, u32)>, Yes, Yes, ()>
pub fn last_runtime_upgrade( &self, ) -> Address<(), LastRuntimeUpgradeInfo, Yes, (), ()>
pub fn upgraded_to_u32_ref_count(&self) -> Address<(), bool, Yes, Yes, ()>
pub fn upgraded_to_triple_ref_count(&self) -> Address<(), bool, Yes, Yes, ()>
pub fn execution_phase(&self) -> Address<(), Phase, Yes, (), ()>
Auto Trait Implementations§
impl Freeze for StorageApi
impl RefUnwindSafe for StorageApi
impl Send for StorageApi
impl Sync for StorageApi
impl Unpin for StorageApi
impl UnwindSafe for StorageApi
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T. Read moresource§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T. Read moresource§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from.source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T.source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T.