Struct distance_oracle::runtime::system::storage::StorageApi
source · pub struct StorageApi;
Implementations§
source§impl StorageApi
impl StorageApi
pub fn account_iter(&self) -> Address<(), Account, (), Yes, Yes>
pub fn account( &self, _0: impl Borrow<Param0> ) -> Address<StaticStorageKey<Param0>, Account, Yes, Yes, ()>
pub fn extrinsic_count(&self) -> Address<(), ExtrinsicCount, Yes, (), ()>
pub fn inherents_applied(&self) -> Address<(), InherentsApplied, Yes, Yes, ()>
pub fn block_weight(&self) -> Address<(), BlockWeight, Yes, Yes, ()>
pub fn all_extrinsics_len(&self) -> Address<(), AllExtrinsicsLen, Yes, (), ()>
pub fn block_hash_iter(&self) -> Address<(), BlockHash, (), Yes, Yes>
pub fn block_hash( &self, _0: impl Borrow<Param0> ) -> Address<StaticStorageKey<Param0>, BlockHash, Yes, Yes, ()>
pub fn extrinsic_data_iter(&self) -> Address<(), ExtrinsicData, (), Yes, Yes>
pub fn extrinsic_data( &self, _0: impl Borrow<Param0> ) -> Address<StaticStorageKey<Param0>, ExtrinsicData, Yes, Yes, ()>
pub fn number(&self) -> Address<(), Number, Yes, Yes, ()>
pub fn parent_hash(&self) -> Address<(), ParentHash, Yes, Yes, ()>
pub fn digest(&self) -> Address<(), Digest, Yes, Yes, ()>
pub fn events(&self) -> Address<(), Events, Yes, Yes, ()>
pub fn event_count(&self) -> Address<(), EventCount, Yes, Yes, ()>
pub fn event_topics_iter(&self) -> Address<(), EventTopics, (), Yes, Yes>
pub fn event_topics( &self, _0: impl Borrow<Param0> ) -> Address<StaticStorageKey<Param0>, EventTopics, Yes, Yes, ()>
pub fn last_runtime_upgrade( &self ) -> Address<(), LastRuntimeUpgrade, Yes, (), ()>
pub fn upgraded_to_u32_ref_count( &self ) -> Address<(), UpgradedToU32RefCount, Yes, Yes, ()>
pub fn upgraded_to_triple_ref_count( &self ) -> Address<(), UpgradedToTripleRefCount, Yes, Yes, ()>
pub fn execution_phase(&self) -> Address<(), ExecutionPhase, 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
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§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 more§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.