usescale_decode::DecodeAsFields;/// This trait can be implemented for any type which implements [`DecodeAsFields`].
/// This adds information to the type about which extrinsic it is, which enforces that
/// only the correct extrinsic can be decoded into it.
pubtraitDecodeAsExtrinsic: DecodeAsFields {/// Returns true if the given pallet and call names match this extrinsic.
fnis_extrinsic(pallet:&str, call:&str)->bool;}