#[phantom]
. This is by design:
Map
is a compile-time type that only exists to provide type information for the compiler.
It represents a mapping in storage, but the actual storage operations are handled by the
StorageMapReadAccess
, StorageMapWriteAccess
, and StoragePathEntry
traits.
#[phantom]
pub struct Map {}