Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.starknet.io/llms.txt

Use this file to discover all available pages before exploring further.

A persistent key-value store in contract storage. This type cannot be instantiated as it is marked with #[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.

Signature


#[phantom]
pub struct Map {}