Trait frame_support::dispatch::TypeInfo
source · Expand description
Implementors return their meta type information.
Required Associated Types§
sourcetype Identity: 'static + ?Sized
type Identity: 'static + ?Sized
The type identifying for which type info is provided.
Note
This is used to uniquely identify a type via core::any::TypeId::of
. In most cases it
will just be Self
, but can be used to unify different types which have the same encoded
representation e.g. reference types Box<T>
, &T
and &mut T
.
Required Methods§
Implementations on Foreign Types§
source§impl TypeInfo for NonZeroI16
impl TypeInfo for NonZeroI16
source§impl<A, B, C> TypeInfo for (A, B, C)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
impl<A, B, C> TypeInfo for (A, B, C)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
source§impl TypeInfo for NonZeroI128
impl TypeInfo for NonZeroI128
source§impl TypeInfo for NonZeroU16
impl TypeInfo for NonZeroU16
source§impl<T, O> TypeInfo for BitVec<T, O>where
T: 'static + BitStore + TypeInfo,
O: 'static + BitOrder + TypeInfo,
impl<T, O> TypeInfo for BitVec<T, O>where
T: 'static + BitStore + TypeInfo,
O: 'static + BitOrder + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
P: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
P: 'static + TypeInfo,
source§impl<A, B, C, D> TypeInfo for (A, B, C, D)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
impl<A, B, C, D> TypeInfo for (A, B, C, D)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I> TypeInfo for (A, B, C, D, E, F, G, H, I)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I> TypeInfo for (A, B, C, D, E, F, G, H, I)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
source§impl TypeInfo for NonZeroI64
impl TypeInfo for NonZeroI64
source§impl<Idx> TypeInfo for RangeInclusive<Idx>where
Idx: 'static + TypeInfo + PartialOrd<Idx> + Debug,
impl<Idx> TypeInfo for RangeInclusive<Idx>where
Idx: 'static + TypeInfo + PartialOrd<Idx> + Debug,
source§impl TypeInfo for NonZeroU64
impl TypeInfo for NonZeroU64
source§impl<A, B, C, D, E> TypeInfo for (A, B, C, D, E)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
impl<A, B, C, D, E> TypeInfo for (A, B, C, D, E)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H> TypeInfo for (A, B, C, D, E, F, G, H)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H> TypeInfo for (A, B, C, D, E, F, G, H)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G> TypeInfo for (A, B, C, D, E, F, G)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
impl<A, B, C, D, E, F, G> TypeInfo for (A, B, C, D, E, F, G)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
P: 'static + TypeInfo,
Q: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
P: 'static + TypeInfo,
Q: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
P: 'static + TypeInfo,
Q: 'static + TypeInfo,
R: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
P: 'static + TypeInfo,
Q: 'static + TypeInfo,
R: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
P: 'static + TypeInfo,
Q: 'static + TypeInfo,
R: 'static + TypeInfo,
S: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
P: 'static + TypeInfo,
Q: 'static + TypeInfo,
R: 'static + TypeInfo,
S: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I, J, K> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J, K> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
P: 'static + TypeInfo,
Q: 'static + TypeInfo,
R: 'static + TypeInfo,
S: 'static + TypeInfo,
T: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
N: 'static + TypeInfo,
O: 'static + TypeInfo,
P: 'static + TypeInfo,
Q: 'static + TypeInfo,
R: 'static + TypeInfo,
S: 'static + TypeInfo,
T: 'static + TypeInfo,
source§impl<A, B, C, D, E, F> TypeInfo for (A, B, C, D, E, F)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
impl<A, B, C, D, E, F> TypeInfo for (A, B, C, D, E, F)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
source§impl TypeInfo for NonZeroU128
impl TypeInfo for NonZeroU128
source§impl TypeInfo for NonZeroU32
impl TypeInfo for NonZeroU32
source§impl<K, V> TypeInfo for BTreeMap<K, V, Global>where
K: 'static + TypeInfo,
V: 'static + TypeInfo,
impl<K, V> TypeInfo for BTreeMap<K, V, Global>where
K: 'static + TypeInfo,
V: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I, J, K, L> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J, K, L> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
source§impl TypeInfo for NonZeroI32
impl TypeInfo for NonZeroI32
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> TypeInfo for (A, B, C, D, E, F, G, H, I, J, K, L, M)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
K: 'static + TypeInfo,
L: 'static + TypeInfo,
M: 'static + TypeInfo,
source§impl<A, B, C, D, E, F, G, H, I, J> TypeInfo for (A, B, C, D, E, F, G, H, I, J)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
impl<A, B, C, D, E, F, G, H, I, J> TypeInfo for (A, B, C, D, E, F, G, H, I, J)where
A: 'static + TypeInfo,
B: 'static + TypeInfo,
C: 'static + TypeInfo,
D: 'static + TypeInfo,
E: 'static + TypeInfo,
F: 'static + TypeInfo,
G: 'static + TypeInfo,
H: 'static + TypeInfo,
I: 'static + TypeInfo,
J: 'static + TypeInfo,
source§impl TypeInfo for OpaqueMultiaddr
impl TypeInfo for OpaqueMultiaddr
source§impl TypeInfo for OpaqueMetadata
impl TypeInfo for OpaqueMetadata
source§impl TypeInfo for OpaquePeerId
impl TypeInfo for OpaquePeerId
source§impl TypeInfo for OpaqueNetworkState
impl TypeInfo for OpaqueNetworkState
source§impl TypeInfo for AccountId32
impl TypeInfo for AccountId32
source§impl TypeInfo for StorageProof
impl TypeInfo for StorageProof
source§impl TypeInfo for CompactProof
impl TypeInfo for CompactProof
source§impl TypeInfo for ModuleError
impl TypeInfo for ModuleError
source§impl TypeInfo for TransactionalError
impl TypeInfo for TransactionalError
source§impl TypeInfo for TestSignature
impl TypeInfo for TestSignature
source§impl TypeInfo for PiecewiseLinear<'static>
impl TypeInfo for PiecewiseLinear<'static>
source§impl<AccountId, AccountIndex> TypeInfo for MultiAddress<AccountId, AccountIndex>where
AccountId: 'static + TypeInfo,
AccountIndex: HasCompact + 'static + TypeInfo,
impl<AccountId, AccountIndex> TypeInfo for MultiAddress<AccountId, AccountIndex>where
AccountId: 'static + TypeInfo,
AccountIndex: HasCompact + 'static + TypeInfo,
source§impl TypeInfo for DispatchError
impl TypeInfo for DispatchError
source§impl TypeInfo for DigestItem
impl TypeInfo for DigestItem
source§impl<Header, Extrinsic> TypeInfo for Block<Header, Extrinsic>where
Extrinsic: MaybeSerialize + 'static + TypeInfo,
Header: 'static + TypeInfo,
Vec<Extrinsic, Global>: 'static + TypeInfo,
impl<Header, Extrinsic> TypeInfo for Block<Header, Extrinsic>where
Extrinsic: MaybeSerialize + 'static + TypeInfo,
Header: 'static + TypeInfo,
Vec<Extrinsic, Global>: 'static + TypeInfo,
source§impl<Address, Call, Signature, Extra> TypeInfo for UncheckedExtrinsic<Address, Call, Signature, Extra>where
Address: StaticTypeInfo,
Call: StaticTypeInfo,
Signature: StaticTypeInfo,
Extra: SignedExtension + StaticTypeInfo,
impl<Address, Call, Signature, Extra> TypeInfo for UncheckedExtrinsic<Address, Call, Signature, Extra>where
Address: StaticTypeInfo,
Call: StaticTypeInfo,
Signature: StaticTypeInfo,
Extra: SignedExtension + StaticTypeInfo,
Manual TypeInfo
implementation because of custom encoding. The data is a valid encoded
Vec<u8>
, but requires some logic to extract the signature and payload.
See UncheckedExtrinsic::encode
and UncheckedExtrinsic::decode
.