[][src]Trait frame_support::traits::GetCallMetadata

pub trait GetCallMetadata {
    pub fn get_module_names() -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
pub fn get_call_names(module: &str) -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
pub fn get_call_metadata(&self) -> CallMetadata; }

Gets the metadata for the Call - function name and pallet name.

Required methods

pub fn get_module_names() -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Return all module names.

pub fn get_call_names(module: &str) -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Return all function names for the given module.

pub fn get_call_metadata(&self) -> CallMetadata[src]

Return a CallMetadata, containing function and pallet name of the Call.

Loading content...

Implementors

Loading content...