multiversx_sc_scenario::imports

Trait StorageMapper

Source
pub trait StorageMapper<SA>: 'static
where SA: StorageMapperApi,
{ // Required method fn new(base_key: StorageKey<SA>) -> Self; }

Required Methods§

Source

fn new(base_key: StorageKey<SA>) -> Self

Will be called automatically by the #[storage_mapper] annotation generated code.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<SA> StorageMapper<SA> for AddressToIdMapper<SA>
where SA: StorageMapperApi,

Source§

impl<SA> StorageMapper<SA> for FungibleTokenMapper<SA>

Source§

impl<SA> StorageMapper<SA> for NonFungibleTokenMapper<SA>

Source§

impl<SA> StorageMapper<SA> for TokenAttributesMapper<SA>
where SA: StorageMapperApi,

Source§

impl<SA> StorageMapper<SA> for UniqueIdMapper<SA>
where SA: StorageMapperApi,

Source§

impl<SA> StorageMapper<SA> for UserMapper<SA>
where SA: StorageMapperApi,

Source§

impl<SA, K, V> StorageMapper<SA> for BiDiMapper<SA, K, V>

Source§

impl<SA, K, V> StorageMapper<SA> for MapMapper<SA, K, V>

Source§

impl<SA, K, V> StorageMapper<SA> for MapStorageMapper<SA, K, V>

Source§

impl<SA, T> StorageMapper<SA> for LinkedListMapper<SA, T>

Source§

impl<SA, T> StorageMapper<SA> for OrderedBinaryTreeMapper<SA, T>

Source§

impl<SA, T> StorageMapper<SA> for QueueMapper<SA, T>

Source§

impl<SA, T> StorageMapper<SA> for SetMapper<SA, T>

Source§

impl<SA, T> StorageMapper<SA> for SingleValueMapper<SA, T>

Source§

impl<SA, T> StorageMapper<SA> for UnorderedSetMapper<SA, T>

Source§

impl<SA, T> StorageMapper<SA> for VecMapper<SA, T>

Source§

impl<SA, T> StorageMapper<SA> for WhitelistMapper<SA, T>
where SA: StorageMapperApi, T: NestedEncode + 'static,