storage

Attribute Macro storage 

Source
#[storage]
Expand description

Generate storage attribute for struct

ยงExample

use fvm_macros::storage;
use fvm_std::collections::hyper_map::HyperMap;

#[storage]
pub struct SetHash {
    map: HyperMap<String, String>,
}

The attributes of the marked struct by #[storage] will be automatically mapped to the ledger