Attribute Macro frame_support_procedural::getter
source · #[getter]
Expand description
The optional attribute #[pallet::getter(fn $my_getter_fn_name)]
allows you to define a
getter function on Pallet
.
Also see pallet::storage
#[getter]
The optional attribute #[pallet::getter(fn $my_getter_fn_name)]
allows you to define a
getter function on Pallet
.
Also see pallet::storage