Trait framenode_runtime::FromGenericPair
source · pub trait FromGenericPair {
// Required method
fn from_generic_pair(tag: Vec<u8, Global>, data: Vec<u8, Global>) -> Self;
}
Expand description
Abstract trait to get data type from generic pair name and data.
Required Methods§
Implementors§
impl<AccountId, AssetId, DEXId> FromGenericPair for TechAccountId<AccountId, AssetId, DEXId>
Implementation of FromGenericPair
for cases when trait method is better than data type
constructor.