referrerpolicy=no-referrer-when-downgrade

Trait TypeInfo

pub trait TypeInfo {
    type Identity: 'static + ?Sized;

    // Required method
    fn type_info() -> Type;
}
Expand description

Implementors return their meta type information.

Required Associated Types§

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§

fn type_info() -> Type

Returns the static type identifier for Self.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl TypeInfo for bool

§

type Identity = bool

§

fn type_info() -> Type

§

impl TypeInfo for char

§

type Identity = char

§

fn type_info() -> Type

§

impl TypeInfo for i8

§

type Identity = i8

§

fn type_info() -> Type

§

impl TypeInfo for i16

§

type Identity = i16

§

fn type_info() -> Type

§

impl TypeInfo for i32

§

type Identity = i32

§

fn type_info() -> Type

§

impl TypeInfo for i64

§

type Identity = i64

§

fn type_info() -> Type

§

impl TypeInfo for i128

§

type Identity = i128

§

fn type_info() -> Type

§

impl TypeInfo for str

§

type Identity = str

§

fn type_info() -> Type

§

impl TypeInfo for u8

§

type Identity = u8

§

fn type_info() -> Type

§

impl TypeInfo for u16

§

type Identity = u16

§

fn type_info() -> Type

§

impl TypeInfo for u32

§

type Identity = u32

§

fn type_info() -> Type

§

impl TypeInfo for u64

§

type Identity = u64

§

fn type_info() -> Type

§

impl TypeInfo for u128

§

type Identity = u128

§

fn type_info() -> Type

§

impl TypeInfo for ()

§

type Identity = ()

§

fn type_info() -> Type

§

impl TypeInfo for String

§

type Identity = str

§

fn type_info() -> Type

§

impl TypeInfo for NonZero<i8>

§

type Identity = NonZero<i8>

§

fn type_info() -> Type

§

impl TypeInfo for NonZero<i16>

§

type Identity = NonZero<i16>

§

fn type_info() -> Type

§

impl TypeInfo for NonZero<i32>

§

type Identity = NonZero<i32>

§

fn type_info() -> Type

§

impl TypeInfo for NonZero<i64>

§

type Identity = NonZero<i64>

§

fn type_info() -> Type

§

impl TypeInfo for NonZero<i128>

§

type Identity = NonZero<i128>

§

fn type_info() -> Type

§

impl TypeInfo for NonZero<u8>

§

type Identity = NonZero<u8>

§

fn type_info() -> Type

§

impl TypeInfo for NonZero<u16>

§

type Identity = NonZero<u16>

§

fn type_info() -> Type

§

impl TypeInfo for NonZero<u32>

§

type Identity = NonZero<u32>

§

fn type_info() -> Type

§

impl TypeInfo for NonZero<u64>

§

type Identity = NonZero<u64>

§

fn type_info() -> Type

§

impl TypeInfo for NonZero<u128>

§

type Identity = NonZero<u128>

§

fn type_info() -> Type

§

impl TypeInfo for Duration

§

type Identity = Duration

§

fn type_info() -> Type

§

impl TypeInfo for AccountId32

§

type Identity = AccountId32

§

fn type_info() -> Type

§

impl TypeInfo for AnySignature

§

type Identity = AnySignature

§

fn type_info() -> Type

§

impl TypeInfo for CompactProof

§

type Identity = CompactProof

§

fn type_info() -> Type

§

impl TypeInfo for Digest

§

type Identity = Digest

§

fn type_info() -> Type

§

impl TypeInfo for DigestItem

§

type Identity = DigestItem

§

fn type_info() -> Type

§

impl TypeInfo for DispatchClass

§

type Identity = DispatchClass

§

fn type_info() -> Type

§

impl TypeInfo for DispatchError

§

type Identity = DispatchError

§

fn type_info() -> Type

§

impl TypeInfo for DispatchInfo

§

type Identity = DispatchInfo

§

fn type_info() -> Type

§

impl TypeInfo for Era

§

type Identity = Era

§

fn type_info() -> Type

§

impl TypeInfo for Error

§

type Identity = Error

§

fn type_info() -> Type

§

impl TypeInfo for H128

§

type Identity = H128

§

fn type_info() -> Type

§

impl TypeInfo for H384

§

type Identity = H384

§

fn type_info() -> Type

§

impl TypeInfo for H768

§

type Identity = H768

§

fn type_info() -> Type

§

impl TypeInfo for Lsb0

§

type Identity = Lsb0

§

fn type_info() -> Type

§

impl TypeInfo for MembershipProof

§

type Identity = MembershipProof

§

fn type_info() -> Type

§

impl TypeInfo for MockCallU64

§

type Identity = MockCallU64

§

fn type_info() -> Type

§

impl TypeInfo for ModuleError

§

type Identity = ModuleError

§

fn type_info() -> Type

§

impl TypeInfo for ModuleError

§

type Identity = ModuleError

§

fn type_info() -> Type

§

impl TypeInfo for Msb0

§

type Identity = Msb0

§

fn type_info() -> Type

§

impl TypeInfo for MultiSignature

§

type Identity = MultiSignature

§

fn type_info() -> Type

§

impl TypeInfo for MultiSigner

§

type Identity = MultiSigner

§

fn type_info() -> Type

§

impl TypeInfo for Never

§

type Identity = Never

§

fn type_info() -> Type

§

impl TypeInfo for OffenceSeverity

§

type Identity = OffenceSeverity

§

fn type_info() -> Type

§

impl TypeInfo for OpaqueExtrinsic

§

type Identity = OpaqueExtrinsic

§

fn type_info() -> Type

§

impl TypeInfo for OpaqueMultiaddr

§

type Identity = OpaqueMultiaddr

§

fn type_info() -> Type

§

impl TypeInfo for OpaqueNetworkState

§

type Identity = OpaqueNetworkState

§

fn type_info() -> Type

§

impl TypeInfo for OpaquePeerId

§

type Identity = OpaquePeerId

§

fn type_info() -> Type

§

impl TypeInfo for OpaqueValue

§

type Identity = OpaqueValue

§

fn type_info() -> Type

§

impl TypeInfo for Pays

§

type Identity = Pays

§

fn type_info() -> Type

§

impl TypeInfo for PostDispatchInfo

§

type Identity = PostDispatchInfo

§

fn type_info() -> Type

§

impl TypeInfo for ProofOfPossession

§

type Identity = ProofOfPossession

§

fn type_info() -> Type

§

impl TypeInfo for ProofOfPossession

§

type Identity = ProofOfPossession

§

fn type_info() -> Type

§

impl TypeInfo for ProofOfPossession

§

type Identity = ProofOfPossession

§

fn type_info() -> Type

§

impl TypeInfo for ProofOfPossession

§

type Identity = ProofOfPossession

§

fn type_info() -> Type

§

impl TypeInfo for ProofOfPossession

§

type Identity = ProofOfPossession

§

fn type_info() -> Type

§

impl TypeInfo for ProofOfPossession

§

type Identity = ProofOfPossession

§

fn type_info() -> Type

§

impl TypeInfo for Public

§

type Identity = Public

§

fn type_info() -> Type

§

impl TypeInfo for Public

§

type Identity = Public

§

fn type_info() -> Type

§

impl TypeInfo for Public

§

type Identity = Public

§

fn type_info() -> Type

§

impl TypeInfo for Public

§

type Identity = Public

§

fn type_info() -> Type

§

impl TypeInfo for Public

§

type Identity = Public

§

fn type_info() -> Type

§

impl TypeInfo for Public

§

type Identity = Public

§

fn type_info() -> Type

§

impl TypeInfo for RingVerifierKey

§

type Identity = [u8; 384]

§

fn type_info() -> Type

§

impl TypeInfo for RingVrfSignature

§

type Identity = RingVrfSignature

§

fn type_info() -> Type

§

impl TypeInfo for Signature

§

type Identity = Signature

§

fn type_info() -> Type

§

impl TypeInfo for Signature

§

type Identity = Signature

§

fn type_info() -> Type

§

impl TypeInfo for Signature

§

type Identity = Signature

§

fn type_info() -> Type

§

impl TypeInfo for Signature

§

type Identity = Signature

§

fn type_info() -> Type

§

impl TypeInfo for Signature

§

type Identity = Signature

§

fn type_info() -> Type

§

impl TypeInfo for Signature

§

type Identity = Signature

§

fn type_info() -> Type

§

impl TypeInfo for SteppedMigrationError

§

type Identity = SteppedMigrationError

§

fn type_info() -> Type

§

impl TypeInfo for StorageProofError

§

type Identity = StorageProofError

§

fn type_info() -> Type

§

impl TypeInfo for TestSignature

§

type Identity = TestSignature

§

fn type_info() -> Type

§

impl TypeInfo for TokenError

§

type Identity = TokenError

§

fn type_info() -> Type

§

impl TypeInfo for TransactionSource

§

type Identity = TransactionSource

§

fn type_info() -> Type

§

impl TypeInfo for TransactionValidityError

§

type Identity = TransactionValidityError

§

fn type_info() -> Type

§

impl TypeInfo for TransactionalError

§

type Identity = TransactionalError

§

fn type_info() -> Type

§

impl TypeInfo for U128

§

type Identity = U128

§

fn type_info() -> Type

§

impl TypeInfo for UintAuthorityId

§

type Identity = UintAuthorityId

§

fn type_info() -> Type

§

impl TypeInfo for UnknownTransaction

§

type Identity = UnknownTransaction

§

fn type_info() -> Type

§

impl TypeInfo for ViewFunctionDispatchError

§

type Identity = ViewFunctionDispatchError

§

fn type_info() -> Type

§

impl TypeInfo for ViewFunctionId

§

type Identity = ViewFunctionId

§

fn type_info() -> Type

§

impl TypeInfo for Void

§

type Identity = Void

§

fn type_info() -> Type

§

impl TypeInfo for VrfPreOutput

§

type Identity = [u8; 32]

§

fn type_info() -> Type

§

impl TypeInfo for VrfPreOutput

§

type Identity = [u8; 32]

§

fn type_info() -> Type

§

impl TypeInfo for VrfProof

§

type Identity = [u8; 64]

§

fn type_info() -> Type

§

impl TypeInfo for VrfSignature

§

type Identity = VrfSignature

§

fn type_info() -> Type

§

impl TypeInfo for VrfSignature

§

type Identity = VrfSignature

§

fn type_info() -> Type

§

impl<'a> TypeInfo for PiecewiseLinear<'a>
where 'a: 'static,

§

type Identity = PiecewiseLinear<'a>

§

fn type_info() -> Type

§

impl<A> TypeInfo for (A,)
where A: TypeInfo + 'static,

§

type Identity = (A,)

§

fn type_info() -> Type

§

impl<A, B> TypeInfo for (A, B)
where A: TypeInfo + 'static, B: TypeInfo + 'static,

§

type Identity = (A, B)

§

fn type_info() -> Type

§

impl<A, B, C> TypeInfo for (A, B, C)
where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static,

§

type Identity = (A, B, C)

§

fn type_info() -> Type

§

impl<A, B, C, D> TypeInfo for (A, B, C, D)
where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static,

§

impl<A, B, C, D, E> TypeInfo for (A, B, C, D, E)
where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static,

§

impl<A, B, C, D, E, F> TypeInfo for (A, B, C, D, E, F)
where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G> TypeInfo for (A, B, C, D, E, F, G)
where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H> TypeInfo for (A, B, C, D, E, F, G, H)
where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static,

§

impl<A, B, C, D, E, F, G, H, I> TypeInfo for (A, B, C, D, E, F, G, H, I)
where A: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static, L: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static, L: TypeInfo + 'static, M: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static, L: TypeInfo + 'static, M: TypeInfo + 'static, N: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static, L: TypeInfo + 'static, M: TypeInfo + 'static, N: TypeInfo + 'static, O: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static, L: TypeInfo + 'static, M: TypeInfo + 'static, N: TypeInfo + 'static, O: TypeInfo + 'static, P: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static, L: TypeInfo + 'static, M: TypeInfo + 'static, N: TypeInfo + 'static, O: TypeInfo + 'static, P: TypeInfo + 'static, Q: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static, L: TypeInfo + 'static, M: TypeInfo + 'static, N: TypeInfo + 'static, O: TypeInfo + 'static, P: TypeInfo + 'static, Q: TypeInfo + 'static, R: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static, L: TypeInfo + 'static, M: TypeInfo + 'static, N: TypeInfo + 'static, O: TypeInfo + 'static, P: TypeInfo + 'static, Q: TypeInfo + 'static, R: TypeInfo + 'static, S: TypeInfo + 'static,

§

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: TypeInfo + 'static, B: TypeInfo + 'static, C: TypeInfo + 'static, D: TypeInfo + 'static, E: TypeInfo + 'static, F: TypeInfo + 'static, G: TypeInfo + 'static, H: TypeInfo + 'static, I: TypeInfo + 'static, J: TypeInfo + 'static, K: TypeInfo + 'static, L: TypeInfo + 'static, M: TypeInfo + 'static, N: TypeInfo + 'static, O: TypeInfo + 'static, P: TypeInfo + 'static, Q: TypeInfo + 'static, R: TypeInfo + 'static, S: TypeInfo + 'static, T: TypeInfo + 'static,

§

impl<AccountId> TypeInfo for StakerStatus<AccountId>
where Vec<AccountId>: TypeInfo + 'static, AccountId: TypeInfo + 'static,

§

type Identity = StakerStatus<AccountId>

§

fn type_info() -> Type

§

impl<AccountId, AccountIndex> TypeInfo for MultiAddress<AccountId, AccountIndex>
where AccountId: TypeInfo + 'static, AccountIndex: HasCompact + TypeInfo + 'static,

§

type Identity = MultiAddress<AccountId, AccountIndex>

§

fn type_info() -> Type

§

impl<AccountId, Balance> TypeInfo for Exposure<AccountId, Balance>
where Balance: HasCompact + TypeInfo + 'static, Vec<IndividualExposure<AccountId, Balance>>: TypeInfo + 'static, AccountId: TypeInfo + 'static,

§

type Identity = Exposure<AccountId, Balance>

§

fn type_info() -> Type

§

impl<AccountId, Balance> TypeInfo for ExposurePage<AccountId, Balance>
where Balance: HasCompact + TypeInfo + 'static, Vec<IndividualExposure<AccountId, Balance>>: TypeInfo + 'static, AccountId: TypeInfo + 'static,

§

type Identity = ExposurePage<AccountId, Balance>

§

fn type_info() -> Type

§

impl<AccountId, Balance> TypeInfo for IndividualExposure<AccountId, Balance>
where Balance: HasCompact + TypeInfo + 'static, AccountId: TypeInfo + 'static,

§

type Identity = IndividualExposure<AccountId, Balance>

§

fn type_info() -> Type

§

impl<Address, Call, Signature, Extension> TypeInfo for UncheckedExtrinsic<Address, Call, Signature, Extension>
where Address: StaticTypeInfo, Call: StaticTypeInfo, Signature: StaticTypeInfo, Extension: 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].

§

type Identity = UncheckedExtrinsic<Address, Call, Signature, Extension>

§

fn type_info() -> Type

§

impl<Balance> TypeInfo for PagedExposureMetadata<Balance>
where Balance: HasCompact + MaxEncodedLen + TypeInfo + 'static,

§

type Identity = PagedExposureMetadata<Balance>

§

fn type_info() -> Type

§

impl<H, N> TypeInfo for Message<H, N>
where Prevote<H, N>: TypeInfo + 'static, Precommit<H, N>: TypeInfo + 'static, PrimaryPropose<H, N>: TypeInfo + 'static, H: TypeInfo + 'static, N: TypeInfo + 'static,

§

type Identity = Message<H, N>

§

fn type_info() -> Type

§

impl<H, N> TypeInfo for Precommit<H, N>
where H: TypeInfo + 'static, N: TypeInfo + 'static,

§

type Identity = Precommit<H, N>

§

fn type_info() -> Type

§

impl<H, N> TypeInfo for Prevote<H, N>
where H: TypeInfo + 'static, N: TypeInfo + 'static,

§

type Identity = Prevote<H, N>

§

fn type_info() -> Type

§

impl<H, N> TypeInfo for PrimaryPropose<H, N>
where H: TypeInfo + 'static, N: TypeInfo + 'static,

§

type Identity = PrimaryPropose<H, N>

§

fn type_info() -> Type

§

impl<H, N> TypeInfo for State<H, N>
where Option<(H, N)>: TypeInfo + 'static, H: TypeInfo + 'static, N: TypeInfo + 'static,

§

type Identity = State<H, N>

§

fn type_info() -> Type

§

impl<H, N, S, Id> TypeInfo for CatchUp<H, N, S, Id>
where Vec<SignedPrevote<H, N, S, Id>>: TypeInfo + 'static, Vec<SignedPrecommit<H, N, S, Id>>: TypeInfo + 'static, H: TypeInfo + 'static, N: TypeInfo + 'static, S: TypeInfo + 'static, Id: TypeInfo + 'static,

§

type Identity = CatchUp<H, N, S, Id>

§

fn type_info() -> Type

§

impl<H, N, S, Id> TypeInfo for Commit<H, N, S, Id>
where H: TypeInfo + 'static, N: TypeInfo + 'static, Vec<SignedPrecommit<H, N, S, Id>>: TypeInfo + 'static, S: TypeInfo + 'static, Id: TypeInfo + 'static,

§

type Identity = Commit<H, N, S, Id>

§

fn type_info() -> Type

§

impl<H, N, S, Id> TypeInfo for CompactCommit<H, N, S, Id>
where H: TypeInfo + 'static, N: TypeInfo + 'static, Vec<Precommit<H, N>>: TypeInfo + 'static, Vec<(S, Id)>: TypeInfo + 'static, S: TypeInfo + 'static, Id: TypeInfo + 'static,

§

type Identity = CompactCommit<H, N, S, Id>

§

fn type_info() -> Type

§

impl<H, N, S, Id> TypeInfo for HistoricalVotes<H, N, S, Id>
where Vec<SignedMessage<H, N, S, Id>>: TypeInfo + 'static, H: TypeInfo + 'static, N: TypeInfo + 'static, S: TypeInfo + 'static, Id: TypeInfo + 'static,

§

type Identity = HistoricalVotes<H, N, S, Id>

§

fn type_info() -> Type

§

impl<H, N, S, Id> TypeInfo for SignedMessage<H, N, S, Id>
where Message<H, N>: TypeInfo + 'static, S: TypeInfo + 'static, Id: TypeInfo + 'static, H: TypeInfo + 'static, N: TypeInfo + 'static,

§

type Identity = SignedMessage<H, N, S, Id>

§

fn type_info() -> Type

§

impl<H, N, S, Id> TypeInfo for SignedPrecommit<H, N, S, Id>
where Precommit<H, N>: TypeInfo + 'static, S: TypeInfo + 'static, Id: TypeInfo + 'static, H: TypeInfo + 'static, N: TypeInfo + 'static,

§

type Identity = SignedPrecommit<H, N, S, Id>

§

fn type_info() -> Type

§

impl<H, N, S, Id> TypeInfo for SignedPrevote<H, N, S, Id>
where Prevote<H, N>: TypeInfo + 'static, S: TypeInfo + 'static, Id: TypeInfo + 'static, H: TypeInfo + 'static, N: TypeInfo + 'static,

§

type Identity = SignedPrevote<H, N, S, Id>

§

fn type_info() -> Type

§

impl<Header, Extrinsic> TypeInfo for Block<Header, Extrinsic>
where Header: TypeInfo + 'static, Vec<Extrinsic>: TypeInfo + 'static, Extrinsic: TypeInfo + 'static,

§

type Identity = Block<Header, Extrinsic>

§

fn type_info() -> Type

§

impl<Header, Id> TypeInfo for EquivocationProof<Header, Id>
where Id: TypeInfo + 'static, Header: TypeInfo + 'static,

§

type Identity = EquivocationProof<Header, Id>

§

fn type_info() -> Type

§

impl<Id, V, S> TypeInfo for Equivocation<Id, V, S>
where Id: TypeInfo + 'static, (V, S): TypeInfo + 'static, V: TypeInfo + 'static, S: TypeInfo + 'static,

§

type Identity = Equivocation<Id, V, S>

§

fn type_info() -> Type

§

impl<Idx> TypeInfo for Range<Idx>
where Idx: TypeInfo + 'static + PartialOrd + Debug,

§

type Identity = Range<Idx>

§

fn type_info() -> Type

§

impl<Idx> TypeInfo for RangeInclusive<Idx>
where Idx: TypeInfo + 'static + PartialOrd + Debug,

§

type Identity = RangeInclusive<Idx>

§

fn type_info() -> Type

§

impl<Info> TypeInfo for DispatchErrorWithPostInfo<Info>
where Info: Eq + PartialEq + Clone + Copy + Encode + Decode + Printable + TypeInfo + 'static,

§

type Identity = DispatchErrorWithPostInfo<Info>

§

fn type_info() -> Type

§

impl<K, V> TypeInfo for BTreeMap<K, V>
where K: TypeInfo + 'static, V: TypeInfo + 'static,

§

type Identity = BTreeMap<K, V>

§

fn type_info() -> Type

§

impl<K, V, S> TypeInfo for BoundedBTreeMap<K, V, S>
where BTreeMap<K, V>: TypeInfo + 'static, PhantomData<S>: TypeInfo + 'static, K: TypeInfo + 'static, V: TypeInfo + 'static, S: 'static,

§

type Identity = BoundedBTreeMap<K, V, S>

§

fn type_info() -> Type

§

impl<Number, Hash> TypeInfo for Header<Number, Hash>
where Number: Copy + Into<U256> + TryFrom<U256> + HasCompact + TypeInfo + 'static, Hash: Hash + 'static, <Hash as Hash>::Output: TypeInfo + 'static,

§

type Identity = Header<Number, Hash>

§

fn type_info() -> Type

§

impl<Reporter, Offender> TypeInfo for OffenceDetails<Reporter, Offender>
where Offender: TypeInfo + 'static, Vec<Reporter>: TypeInfo + 'static, Reporter: TypeInfo + 'static,

§

type Identity = OffenceDetails<Reporter, Offender>

§

fn type_info() -> Type

§

impl<T> TypeInfo for Cow<'static, T>
where T: ToOwned + TypeInfo + 'static + ?Sized,

§

type Identity = Cow<'static, T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for Option<T>
where T: TypeInfo + 'static,

§

type Identity = Option<T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for &T
where T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for &mut T
where T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for [T]
where T: TypeInfo + 'static,

§

type Identity = [T]

§

fn type_info() -> Type

§

impl<T> TypeInfo for Box<T>
where T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for BinaryHeap<T>
where T: TypeInfo + 'static,

§

type Identity = BinaryHeap<T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for BTreeSet<T>
where T: TypeInfo + 'static,

§

type Identity = BTreeSet<T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for VecDeque<T>
where T: TypeInfo + 'static,

§

type Identity = [T]

§

fn type_info() -> Type

§

impl<T> TypeInfo for Rc<T>
where T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for Arc<T>
where T: TypeInfo + 'static + ?Sized,

§

type Identity = T

§

fn type_info() -> Type

§

impl<T> TypeInfo for Vec<T>
where T: TypeInfo + 'static,

§

type Identity = [T]

§

fn type_info() -> Type

§

impl<T> TypeInfo for Compact<T>
where T: TypeInfo + 'static,

§

type Identity = Compact<T>

§

fn type_info() -> Type

§

impl<T> TypeInfo for PerDispatchClass<T>
where T: TypeInfo + 'static,

§

type Identity = PerDispatchClass<T>

§

fn type_info() -> Type

§

impl<T, D> TypeInfo for TypeWithDefault<T, D>
where T: StaticTypeInfo, D: Get<T> + 'static,

§

type Identity = TypeWithDefault<T, D>

§

fn type_info() -> Type

§

impl<T, E> TypeInfo for Result<T, E>
where T: TypeInfo + 'static, E: TypeInfo + 'static,

§

type Identity = Result<T, E>

§

fn type_info() -> Type

§

impl<T, H> TypeInfo for Bounded<T, H>
where H: Hash + TypeInfo + 'static, <H as Hash>::Output: TypeInfo + 'static, PhantomData<T>: TypeInfo + 'static, T: TypeInfo + 'static,

§

type Identity = Bounded<T, H>

§

fn type_info() -> Type

§

impl<T, O> TypeInfo for BitVec<T, O>
where T: BitStore + TypeInfo + 'static, O: BitOrder + TypeInfo + 'static,

§

type Identity = BitVec<T, O>

§

fn type_info() -> Type

§

impl<T, S> TypeInfo for BoundedBTreeSet<T, S>
where BTreeSet<T>: TypeInfo + 'static, PhantomData<S>: TypeInfo + 'static, T: TypeInfo + 'static, S: 'static,

§

type Identity = BoundedBTreeSet<T, S>

§

fn type_info() -> Type

§

impl<T, S> TypeInfo for WeakBoundedVec<T, S>
where Vec<T>: TypeInfo + 'static, PhantomData<S>: TypeInfo + 'static, T: TypeInfo + 'static, S: 'static,

§

type Identity = WeakBoundedVec<T, S>

§

fn type_info() -> Type

§

impl<T, const N: usize> TypeInfo for [T; N]
where T: TypeInfo + 'static,

§

type Identity = [T; N]

§

fn type_info() -> Type

§

impl<Xt> TypeInfo for Block<Xt>
where Vec<Xt>: TypeInfo + 'static, Xt: TypeInfo + 'static,

§

type Identity = Block<Xt>

§

fn type_info() -> Type

§

impl<const N: usize, T> TypeInfo for CryptoBytes<N, T>

§

type Identity = [u8; N]

§

fn type_info() -> Type

§

impl<const R: usize> TypeInfo for RingContext<R>

§

type Identity = RingContext<R>

§

fn type_info() -> Type

Implementors§

§

impl TypeInfo for ArithmeticError

§

impl TypeInfo for BenchmarkParameter

Source§

impl TypeInfo for Phase

§

impl TypeInfo for ExtrinsicInclusionMode

§

impl TypeInfo for polkadot_sdk_frame::runtime::testing_prelude::DispatchError

§

impl TypeInfo for BalanceStatus

§

impl TypeInfo for ProcessMessageError

§

impl TypeInfo for TrieError

§

impl TypeInfo for Select

§

impl TypeInfo for UpgradeCheckSelect

§

impl TypeInfo for Judgement

§

impl TypeInfo for Statement

§

impl TypeInfo for Truth

§

impl TypeInfo for Social

§

impl TypeInfo for LookupError

§

impl TypeInfo for PaymentStatus

§

impl TypeInfo for InvalidTransaction

§

impl TypeInfo for FixedI64

§

impl TypeInfo for FixedI128

§

impl TypeInfo for FixedU64

§

impl TypeInfo for FixedU128

§

impl TypeInfo for PerU16

§

impl TypeInfo for Perbill

§

impl TypeInfo for Percent

§

impl TypeInfo for Permill

§

impl TypeInfo for Perquintill

§

impl TypeInfo for BenchmarkBatch

§

impl TypeInfo for BenchmarkConfig

§

impl TypeInfo for BenchmarkList

§

impl TypeInfo for BenchmarkMetadata

§

impl TypeInfo for BenchmarkResult

§

impl TypeInfo for H160

§

impl TypeInfo for H256

§

impl TypeInfo for H512

§

impl TypeInfo for U256

§

impl TypeInfo for U512

Source§

impl TypeInfo for BlockLength

Source§

impl TypeInfo for BlockWeights

Source§

impl TypeInfo for WeightsPerClass

Source§

impl TypeInfo for DispatchEventInfo

Source§

impl TypeInfo for LastRuntimeUpgradeInfo

§

impl TypeInfo for PalletId

§

impl TypeInfo for KeyTypeId

§

impl TypeInfo for Slot

§

impl TypeInfo for SlotDuration

§

impl TypeInfo for StorageProof

§

impl TypeInfo for CheckInherentsResult

§

impl TypeInfo for InherentData

§

impl TypeInfo for OpaqueMetadata

§

impl TypeInfo for RuntimeVersion

§

impl TypeInfo for RuntimeDbWeight

§

impl TypeInfo for ContextualAlias

§

impl TypeInfo for BlakeTwo256

§

impl TypeInfo for Disabled

§

impl TypeInfo for Keccak256

§

impl TypeInfo for StorageInfo

§

impl TypeInfo for ValidTransaction

§

impl TypeInfo for Weight

§

impl<'a, T, S> TypeInfo for BoundedSlice<'a, T, S>
where 'a: 'static, &'a [T]: TypeInfo + 'static, PhantomData<S>: TypeInfo + 'static, T: TypeInfo + 'static, S: TypeInfo + 'static,

§

type Identity = BoundedSlice<'a, T, S>

§

impl<A, F, R, D, Fp> TypeInfo for FreezeConsideration<A, F, R, D, Fp>
where F: Mutate<A> + 'static, <F as Inspect<A>>::Balance: TypeInfo + 'static, PhantomData<fn() -> (A, R, D, Fp)>: TypeInfo + 'static, A: 'static, R: 'static, D: 'static, Fp: 'static,

§

type Identity = FreezeConsideration<A, F, R, D, Fp>

§

impl<A, F, R, D, Fp> TypeInfo for HoldConsideration<A, F, R, D, Fp>
where F: Mutate<A> + 'static, <F as Inspect<A>>::Balance: TypeInfo + 'static, PhantomData<fn() -> (A, R, D, Fp)>: TypeInfo + 'static, A: 'static, R: 'static, D: 'static, Fp: 'static,

§

type Identity = HoldConsideration<A, F, R, D, Fp>

§

impl<A, Fx, Rx, D, Fp> TypeInfo for LoneFreezeConsideration<A, Fx, Rx, D, Fp>
where PhantomData<fn() -> (A, Fx, Rx, D, Fp)>: TypeInfo + 'static, A: 'static, Fx: 'static, Rx: 'static, D: 'static, Fp: 'static,

§

type Identity = LoneFreezeConsideration<A, Fx, Rx, D, Fp>

§

impl<A, Fx, Rx, D, Fp> TypeInfo for LoneHoldConsideration<A, Fx, Rx, D, Fp>
where PhantomData<fn() -> (A, Fx, Rx, D, Fp)>: TypeInfo + 'static, A: 'static, Fx: 'static, Rx: 'static, D: 'static, Fp: 'static,

§

type Identity = LoneHoldConsideration<A, Fx, Rx, D, Fp>

§

impl<AccountId> TypeInfo for RawOrigin<AccountId>
where AccountId: TypeInfo + 'static,

§

type Identity = RawOrigin<AccountId>

§

impl<AccountId> TypeInfo for Admin<AccountId>
where PhantomData<AccountId>: TypeInfo + 'static, AccountId: TypeInfo + 'static,

§

type Identity = Admin<AccountId>

§

impl<AccountId> TypeInfo for Owner<AccountId>
where PhantomData<AccountId>: TypeInfo + 'static, AccountId: TypeInfo + 'static,

§

type Identity = Owner<AccountId>

§

impl<AssetId> TypeInfo for NativeOrWithId<AssetId>
where AssetId: Ord + TypeInfo + 'static,

§

type Identity = NativeOrWithId<AssetId>

§

impl<Balance> TypeInfo for WeightToFeeCoefficient<Balance>
where Balance: TypeInfo + 'static,

§

impl<BlockNumber> TypeInfo for DispatchTime<BlockNumber>
where BlockNumber: TypeInfo + 'static,

§

type Identity = DispatchTime<BlockNumber>

§

impl<ConfigValue, Extra> TypeInfo for WithConfig<ConfigValue, Extra>
where ConfigValue: ConfigValueMarker + TypeInfo + 'static, Extra: TypeInfo + 'static,

§

type Identity = WithConfig<ConfigValue, Extra>

Source§

impl<E, T> TypeInfo for EventRecord<E, T>
where E: Parameter + Member + TypeInfo + 'static, Vec<T>: TypeInfo + 'static, T: TypeInfo + 'static,

§

impl<H, N> TypeInfo for polkadot_sdk_frame::runtime::apis::Equivocation<H, N>
where Equivocation<Public, Prevote<H, N>, Signature>: TypeInfo + 'static, Equivocation<Public, Precommit<H, N>, Signature>: TypeInfo + 'static, H: TypeInfo + 'static, N: TypeInfo + 'static,

§

impl<H, N> TypeInfo for polkadot_sdk_frame::runtime::apis::EquivocationProof<H, N>
where Equivocation<H, N>: TypeInfo + 'static, H: TypeInfo + 'static, N: TypeInfo + 'static,

§

impl<Header> TypeInfo for GrandpaJustification<Header>
where Header: Header + TypeInfo + 'static, Commit<<Header as Header>::Hash, <Header as Header>::Number, Signature, Public>: TypeInfo + 'static, Vec<Header>: TypeInfo + 'static,

§

impl<Id, Balance> TypeInfo for IdAmount<Id, Balance>
where Id: TypeInfo + 'static, Balance: TypeInfo + 'static,

§

type Identity = IdAmount<Id, Balance>

§

impl<Inner> TypeInfo for FakeDispatchable<Inner>
where Inner: TypeInfo + 'static,

§

impl<Inspect> TypeInfo for ConfigValue<Inspect>
where Inspect: InspectStrategy + TypeInfo + 'static, <Inspect as InspectStrategy>::Value: TypeInfo + 'static,

§

type Identity = ConfigValue<Inspect>

§

impl<N> TypeInfo for ScheduledChange<N>
where N: TypeInfo + 'static,

Source§

impl<Nonce, AccountData> TypeInfo for AccountInfo<Nonce, AccountData>
where Nonce: TypeInfo + 'static, AccountData: TypeInfo + 'static,

Source§

type Identity = AccountInfo<Nonce, AccountData>

§

impl<Params, ReportedId> TypeInfo for DeriveAndReportId<Params, ReportedId>
where Params: TypeInfo + 'static, PhantomData<ReportedId>: TypeInfo + 'static, ReportedId: TypeInfo + 'static,

§

type Identity = DeriveAndReportId<Params, ReportedId>

§

impl<Params, RuntimeCall> TypeInfo for Callback<Params, RuntimeCall>
where PhantomData<(Params, RuntimeCall)>: TypeInfo + 'static, Params: 'static, RuntimeCall: 'static,

§

type Identity = Callback<Params, RuntimeCall>

§

impl<SE> TypeInfo for AsTransactionExtension<SE>
where SE: SignedExtension + TypeInfo + 'static,

Source§

impl<T> TypeInfo for Call<T>
where T: Config + 'static, PhantomData<(T,)>: TypeInfo + 'static, <T as Config>::RuntimeTask: TypeInfo + 'static, <T as Config>::Hash: TypeInfo + 'static,

Source§

impl<T> TypeInfo for polkadot_sdk_frame::prelude::frame_system::Error<T>
where PhantomData<T>: TypeInfo + 'static, T: 'static,

Source§

impl<T> TypeInfo for Event<T>
where T: Config + 'static, <T as Config>::AccountId: TypeInfo + 'static, <T as Config>::Hash: TypeInfo + 'static, <T as Config>::RuntimeTask: TypeInfo + 'static, PhantomData<T>: TypeInfo + 'static,

Source§

impl<T> TypeInfo for AuthorizeCall<T>
where PhantomData<T>: TypeInfo + 'static, T: 'static,

Source§

impl<T> TypeInfo for CheckGenesis<T>
where T: Config + Send + Sync + 'static, PhantomData<T>: TypeInfo + 'static,

Source§

impl<T> TypeInfo for CheckMortality<T>
where T: Config + Send + Sync + 'static, PhantomData<T>: TypeInfo + 'static,

Source§

impl<T> TypeInfo for CheckNonZeroSender<T>
where PhantomData<T>: TypeInfo + 'static, T: 'static,

Source§

impl<T> TypeInfo for CheckNonce<T>
where T: Config + 'static, <T as Config>::Nonce: HasCompact,

Source§

impl<T> TypeInfo for CheckSpecVersion<T>
where T: Config + Send + Sync + 'static, PhantomData<T>: TypeInfo + 'static,

Source§

impl<T> TypeInfo for CheckTxVersion<T>
where T: Config + Send + Sync + 'static, PhantomData<T>: TypeInfo + 'static,

Source§

impl<T> TypeInfo for CheckWeight<T>
where T: Config + Send + Sync + 'static, PhantomData<T>: TypeInfo + 'static,

Source§

impl<T> TypeInfo for CodeUpgradeAuthorization<T>
where T: Config + 'static, <T as Config>::Hash: TypeInfo + 'static,

Source§

impl<T> TypeInfo for WeightReclaim<T>
where T: Config + Send + Sync + 'static, PhantomData<T>: TypeInfo + 'static,

§

impl<T> TypeInfo for WrapperKeepOpaque<T>
where T: TypeInfo + 'static,

§

impl<T> TypeInfo for WrapperOpaque<T>
where T: TypeInfo + 'static,

§

impl<T> TypeInfo for PhantomData<T>

§

impl<T, Hash> TypeInfo for MaybeHashed<T, Hash>
where T: TypeInfo + 'static, Hash: TypeInfo + 'static,

§

type Identity = MaybeHashed<T, Hash>

§

impl<T, S> TypeInfo for BoundedVec<T, S>
where Vec<T>: TypeInfo + 'static, PhantomData<S>: TypeInfo + 'static, T: TypeInfo + 'static, S: 'static,

§

type Identity = BoundedVec<T, S>

§

impl<WitnessData> TypeInfo for Witness<WitnessData>
where PhantomData<WitnessData>: TypeInfo + 'static, WitnessData: TypeInfo + 'static,

§

type Identity = Witness<WitnessData>