Derive Macro near_contract_tools::Owner
source · #[derive(Owner)]
{
// Attributes available to this derive:
#[owner]
}
Expand description
Creates a managed, lazily-loaded Owner
implementation for the targeted
#[near_bindgen]
struct.
The storage key prefix for the fields can be optionally specified (default:
"~o"
) using #[owner(storage_key = "<expression>")]
.