Derive Macro near_sdk::BorshStorageKey[][src]

#[derive(BorshStorageKey)]

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.