Trait frame_support::traits::GetCallMetadata [−][src]
pub trait GetCallMetadata {
fn get_module_names() -> &'static [&'static str]ⓘ;
fn get_call_names(module: &str) -> &'static [&'static str]ⓘ;
fn get_call_metadata(&self) -> CallMetadata;
}Gets the metadata for the Call - function name and pallet name.
Required methods
fn get_module_names() -> &'static [&'static str]ⓘ[src]
Return all module names.
fn get_call_names(module: &str) -> &'static [&'static str]ⓘ[src]
Return all function names for the given module.
fn get_call_metadata(&self) -> CallMetadata[src]
Return a CallMetadata, containing function and pallet name of the Call.