Trait frame_support::pallet_prelude::TypeInfo

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

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

Implementors return their meta type information.

Required Associated Types§

source

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§

source

fn type_info() -> Type

Returns the static type identifier for Self.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TypeInfo for ArithmeticError

source§

impl TypeInfo for Void

source§

impl TypeInfo for ExtrinsicInclusionMode

source§

impl TypeInfo for MultiSignature

source§

impl TypeInfo for MultiSigner

source§

impl TypeInfo for TokenError

source§

impl TypeInfo for TransactionalError

source§

impl TypeInfo for DigestItem

source§

impl TypeInfo for Era

source§

impl TypeInfo for DispatchError

source§

impl TypeInfo for RuntimeString

source§

impl TypeInfo for Error

source§

impl TypeInfo for StorageProofError

source§

impl TypeInfo for bool

source§

impl TypeInfo for char

source§

impl TypeInfo for i8

source§

impl TypeInfo for i16

source§

impl TypeInfo for i32

source§

impl TypeInfo for i64

source§

impl TypeInfo for i128

source§

impl TypeInfo for str

source§

impl TypeInfo for u8

source§

impl TypeInfo for u16

source§

impl TypeInfo for u32

source§

impl TypeInfo for u64

source§

impl TypeInfo for u128

source§

impl TypeInfo for ()

source§

impl TypeInfo for Lsb0

source§

impl TypeInfo for Msb0

source§

impl TypeInfo for H128

source§

impl TypeInfo for H160

source§

impl TypeInfo for H256

source§

impl TypeInfo for H384

source§

impl TypeInfo for H512

source§

impl TypeInfo for H768

source§

impl TypeInfo for U128

source§

impl TypeInfo for U256

source§

impl TypeInfo for U512

source§

impl TypeInfo for Public

source§

impl TypeInfo for Signature

source§

impl TypeInfo for Public

source§

impl TypeInfo for Signature

source§

impl TypeInfo for Public

source§

impl TypeInfo for Signature

source§

impl TypeInfo for FixedI64

source§

impl TypeInfo for FixedI128

source§

impl TypeInfo for FixedU64

source§

impl TypeInfo for FixedU128

source§

impl TypeInfo for PerU16

source§

impl TypeInfo for Perbill

source§

impl TypeInfo for Percent

source§

impl TypeInfo for Permill

source§

impl TypeInfo for Perquintill

source§

impl TypeInfo for AccountId32

source§

impl TypeInfo for KeyTypeId

source§

impl TypeInfo for OpaqueMultiaddr

source§

impl TypeInfo for OpaqueNetworkState

source§

impl TypeInfo for VrfPreOutput

source§

impl TypeInfo for VrfProof

source§

impl TypeInfo for VrfSignature

source§

impl TypeInfo for OpaqueMetadata

source§

impl TypeInfo for OpaquePeerId

source§

impl TypeInfo for Digest

source§

impl TypeInfo for ModuleError

source§

impl TypeInfo for AnySignature

source§

impl TypeInfo for ModuleError

source§

impl TypeInfo for OpaqueExtrinsic

source§

impl TypeInfo for OpaqueValue

source§

impl TypeInfo for TestSignature

source§

impl TypeInfo for UintAuthorityId

source§

impl TypeInfo for BlakeTwo256

source§

impl TypeInfo for Keccak256

source§

impl TypeInfo for CompactProof

source§

impl TypeInfo for StorageProof

source§

impl TypeInfo for RuntimeVersion

source§

impl TypeInfo for String

source§

impl TypeInfo for NonZero<i8>

source§

impl TypeInfo for NonZero<i16>

source§

impl TypeInfo for NonZero<i32>

source§

impl TypeInfo for NonZero<i64>

source§

impl TypeInfo for NonZero<i128>

source§

impl TypeInfo for NonZero<u8>

source§

impl TypeInfo for NonZero<u16>

source§

impl TypeInfo for NonZero<u32>

source§

impl TypeInfo for NonZero<u64>

source§

impl TypeInfo for NonZero<u128>

source§

impl TypeInfo for Duration

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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,

source§

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,

source§

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,

source§

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,

source§

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,

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: 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,

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: 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,

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: 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,

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: 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,

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: 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,

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: 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,

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: 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,

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: 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,

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: 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,

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: 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,

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: 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,

source§

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

source§

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

§

type Identity = MultiAddress<AccountId, AccountIndex>

source§

fn type_info() -> Type

source§

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>

source§

fn type_info() -> Type

source§

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>

source§

fn type_info() -> Type

source§

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

§

type Identity = IndividualExposure<AccountId, Balance>

source§

fn type_info() -> Type

source§

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.

§

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

source§

fn type_info() -> Type

source§

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

source§

impl<Call, Extra> TypeInfo for TestXt<Call, Extra>
where Option<(u64, Extra)>: TypeInfo + 'static, Call: TypeInfo + 'static, Extra: TypeInfo + 'static,

§

type Identity = TestXt<Call, Extra>

source§

fn type_info() -> Type

source§

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

§

type Identity = Block<Header, Extrinsic>

source§

fn type_info() -> Type

source§

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

source§

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

source§

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

source§

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

source§

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>

source§

fn type_info() -> Type

source§

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

§

type Identity = OffenceDetails<Reporter, Offender>

source§

fn type_info() -> Type

source§

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

§

type Identity = Cow<'static, T>

source§

fn type_info() -> Type

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

Implementors§

source§

impl TypeInfo for DispatchClass

source§

impl TypeInfo for Pays

source§

impl TypeInfo for Never

source§

impl TypeInfo for SteppedMigrationError

source§

impl TypeInfo for ProcessMessageError

source§

impl TypeInfo for TrieError

source§

impl TypeInfo for Select

source§

impl TypeInfo for UpgradeCheckSelect

source§

impl TypeInfo for LookupError

source§

impl TypeInfo for BalanceStatus

source§

impl TypeInfo for PaymentStatus

source§

impl TypeInfo for frame_support::pallet_prelude::DispatchError

source§

impl TypeInfo for InvalidTransaction

source§

impl TypeInfo for TransactionSource

source§

impl TypeInfo for TransactionValidityError

source§

impl TypeInfo for UnknownTransaction

source§

impl TypeInfo for DispatchInfo

source§

impl TypeInfo for PostDispatchInfo

source§

impl TypeInfo for CheckInherentsResult

source§

impl TypeInfo for PalletId

source§

impl TypeInfo for StorageInfo

source§

impl TypeInfo for RuntimeDbWeight

source§

impl TypeInfo for InherentData

source§

impl TypeInfo for ValidTransaction

source§

impl TypeInfo for Weight

source§

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>

source§

impl<A, F, R, D, Fp> TypeInfo for FreezeConsideration<A, F, R, D, Fp>
where F: MutateFreeze<A> + 'static, F::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>

source§

impl<A, F, R, D, Fp> TypeInfo for HoldConsideration<A, F, R, D, Fp>
where F: MutateHold<A> + 'static, F::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>

source§

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>

source§

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>

source§

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

§

type Identity = RawOrigin<AccountId>

source§

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

§

type Identity = NativeOrWithId<AssetId>

source§

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

source§

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

§

type Identity = DispatchTime<BlockNumber>

source§

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

§

type Identity = IdAmount<Id, Balance>

source§

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>

source§

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

source§

impl<T> TypeInfo for PhantomData<T>

source§

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

§

type Identity = Bounded<T, H>

source§

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

§

type Identity = MaybeHashed<T, Hash>

source§

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

source§

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>

source§

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

source§

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

source§

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