Trait subxt::metadata::MetadataLocation
source · pub trait MetadataLocation {
// Required methods
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.