Trait frame_support::traits::PalletInfoAccess
source · [−]pub trait PalletInfoAccess {
fn index() -> usize;
fn name() -> &'static str;
fn module_name() -> &'static str;
fn crate_version() -> CrateVersion;
}
Expand description
Provides information about the pallet itself and its setup in the runtime.
Declare some information and access the information provided by PalletInfo
for a specific
pallet.
Required methods
fn module_name() -> &'static str
fn module_name() -> &'static str
Name of the Rust module containing the pallet.
fn crate_version() -> CrateVersion
fn crate_version() -> CrateVersion
Version of the crate containing the pallet.