Derive Macro near_sdk::BorshStorageKey
source · [−]#[derive(BorshStorageKey)]
Expand description
BorshStorageKey
generates implementation for BorshIntoStorageKey
trait.
It allows the type to be passed as a unique prefix for persistent collections.
The type should also implement or derive BorshSerialize
trait.