pub trait MetadataLocation {
    fn pallet(&self) -> &str;
    fn item(&self) -> &str;
}
Expand description

Locate an item of a known type in the metadata. We should already know that the item we’re looking for is a call or event for instance, and then with this, we can dig up details for that item in the metadata.

Required Methods§

The pallet in which the item lives.

The name of the item.

Implementors§