Trait common::prelude::FromGenericPair
source · pub trait FromGenericPair {
// Required method
fn from_generic_pair(tag: Vec<u8>, data: Vec<u8>) -> 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.