Trait frame_support::pallet_prelude::TypeInfo
source · [−]Expand description
Implementors return their meta type information.
Associated Types
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
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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
.