pub trait EncodeLike<T = Self>: Sized + Encode
where T: Encode,
{ }
Expand description

A marker trait that tells the compiler that a type encode to the same representation as another type.

E.g. Vec<u8> has the same encoded representation as &[u8].

§Example

fn encode_like<T: Encode, R: EncodeLike<T>>(data: &R) {
    data.encode(); // Valid `T` encoded value.
}

fn main() {
    // Just pass the a reference to the normal tuple.
    encode_like::<(u32, u32), _>(&(1u32, 2u32));
    // Pass a tuple of references
    encode_like::<(u32, u32), _>(&(&1u32, &2u32));
    // Pass a tuple of a reference and a value.
    encode_like::<(u32, u32), _>(&(&1u32, 2u32));
}

§Warning

The relation is not symetric, T implements EncodeLike<U> does not mean U has same representation as T. For instance we could imaging a non zero integer to be encoded to the same representation as the said integer but not the other way around.

§Limitation

Not all possible implementations of EncodeLike are implemented (for instance Box<Box<u32>> does not implement EncodeLike<u32>). To bypass this issue either open a PR to add the new combination or use Ref reference wrapper or define your own wrapper and implement EncodeLike on it as such:

fn encode_like<T: Encode, R: EncodeLike<T>>(data: &R) {
    data.encode(); // Valid `T` encoded value.
}

struct MyWrapper<'a>(&'a (Box<Box<u32>>, u32));
impl<'a> core::ops::Deref for MyWrapper<'a> { // Or use derive_deref crate
    type Target = (Box<Box<u32>>, u32);
    fn deref(&self) -> &Self::Target { &self.0 }
}

impl<'a> parity_scale_codec::WrapperTypeEncode for MyWrapper<'a> {}
impl<'a> parity_scale_codec::EncodeLike<(u32, u32)> for MyWrapper<'a> {}

fn main() {
    let v = (Box::new(Box::new(0)), 0);
    encode_like::<(u32, u32), _>(&MyWrapper(&v));
}

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl EncodeLike for CounterType

source§

impl EncodeLike for MessageDetails

source§

impl EncodeLike for DispatchKind

source§

impl EncodeLike for MessageWaitedType

source§

impl EncodeLike for ErrorReplyReason

source§

impl EncodeLike for ReplyCode

source§

impl EncodeLike for SignalCode

source§

impl EncodeLike for SimpleExecutionError

source§

impl EncodeLike for SimpleProgramCreationError

source§

impl EncodeLike for SuccessReplyReason

§

impl EncodeLike for bool

§

impl EncodeLike for f32

§

impl EncodeLike for f64

§

impl EncodeLike for i8

§

impl EncodeLike for i16

§

impl EncodeLike for i32

§

impl EncodeLike for i64

§

impl EncodeLike for i128

§

impl EncodeLike for u8

§

impl EncodeLike for u16

§

impl EncodeLike for u32

§

impl EncodeLike for u64

§

impl EncodeLike for u128

§

impl EncodeLike for ()

source§

impl EncodeLike for RuntimeBufferSizeError

source§

impl EncodeLike for InstrumentedCode

source§

impl EncodeLike for GasInfo

source§

impl EncodeLike for GasLeft

source§

impl EncodeLike for CodeId

source§

impl EncodeLike for MessageId

source§

impl EncodeLike for ProgramId

source§

impl EncodeLike for ReservationId

source§

impl EncodeLike for MemoryInterval

source§

impl EncodeLike for PageBuf

source§

impl EncodeLike for Dispatch

source§

impl EncodeLike for Message

source§

impl EncodeLike for ReplyDetails

source§

impl EncodeLike for SignalDetails

source§

impl EncodeLike for ContextStore

source§

impl EncodeLike for HandleMessage

source§

impl EncodeLike for HandlePacket

source§

impl EncodeLike for IncomingDispatch

source§

impl EncodeLike for IncomingMessage

source§

impl EncodeLike for InitMessage

source§

impl EncodeLike for InitPacket

source§

impl EncodeLike for ReplyMessage

source§

impl EncodeLike for ReplyPacket

source§

impl EncodeLike for SignalMessage

source§

impl EncodeLike for StoredDelayedDispatch

source§

impl EncodeLike for StoredDispatch

source§

impl EncodeLike for StoredMessage

source§

impl EncodeLike for PayloadSizeError

source§

impl EncodeLike for ReplyInfo

source§

impl EncodeLike for UserMessage

source§

impl EncodeLike for UserStoredMessage

source§

impl EncodeLike for Percent

source§

impl EncodeLike for MemoryInfix

source§

impl EncodeLike for GasReservationSlot

source§

impl EncodeLike for ReservationNonce

§

impl EncodeLike for AccountId32

§

impl EncodeLike for BlakeTwo256

§

impl EncodeLike for Bytes

§

impl EncodeLike for CompactProof

§

impl EncodeLike for Digest

§

impl EncodeLike for EcdsaVerifyError

§

impl EncodeLike for H128

§

impl EncodeLike for H384

§

impl EncodeLike for H768

§

impl EncodeLike for KillStorageResult

§

impl EncodeLike for MultiRemovalResults

§

impl EncodeLike for MultiSignature

§

impl EncodeLike for OldWeight

§

impl EncodeLike for OpaqueMetadata

§

impl EncodeLike for Phase

§

impl EncodeLike for ReturnValue

§

impl EncodeLike for RuntimeDbWeight

§

impl EncodeLike for RuntimeMetadata

§

impl EncodeLike for RuntimeMetadataDeprecated

§

impl EncodeLike for RuntimeMetadataPrefixed

§

impl EncodeLike for RuntimeMetadataV14

§

impl EncodeLike for RuntimeMetadataV15

§

impl EncodeLike for StorageEntryModifier

§

impl EncodeLike for StorageHasher

§

impl EncodeLike for StorageProof

§

impl EncodeLike for U128

§

impl EncodeLike for Value

§

impl EncodeLike for WasmEntryAttributes

§

impl EncodeLike for WasmFieldName

§

impl EncodeLike for WasmFields

§

impl EncodeLike for WasmLevel

§

impl EncodeLike for WasmMetadata

§

impl EncodeLike for WasmValue

§

impl EncodeLike for WasmValuesSet

§

impl EncodeLike for Weight

§

impl EncodeLike<&[u8]> for Bytes

§

impl EncodeLike<String> for &str

§

impl EncodeLike<Vec<u8>> for Bytes

§

impl EncodeLike<Bytes> for &[u8]

source§

impl<'a> EncodeLike for LimitedStr<'a>

§

impl<A0, A1, B0, B1, C0, C1, D0, D1, E0, E1, F0, F1, G0, G1, H0, H1, I0, I1, J0, J1, K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(A1, B1, C1, D1, E1, F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (A0, B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
where A0: EncodeLike<A1>, A1: Encode, B0: EncodeLike<B1>, B1: Encode, C0: EncodeLike<C1>, C1: Encode, D0: EncodeLike<D1>, D1: Encode, E0: EncodeLike<E1>, E1: Encode, F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<AccountId, AccountIndex> EncodeLike for MultiAddress<AccountId, AccountIndex>
where AccountId: Encode, AccountIndex: HasCompact,

§

impl<Address, Call, Signature, Extra> EncodeLike for UncheckedExtrinsic<Address, Call, Signature, Extra>

§

impl<B0, B1, C0, C1, D0, D1, E0, E1, F0, F1, G0, G1, H0, H1, I0, I1, J0, J1, K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(B1, C1, D1, E1, F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (B0, C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
where B0: EncodeLike<B1>, B1: Encode, C0: EncodeLike<C1>, C1: Encode, D0: EncodeLike<D1>, D1: Encode, E0: EncodeLike<E1>, E1: Encode, F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<Balance> EncodeLike for WeightToFeeCoefficient<Balance>
where Balance: Encode,

§

impl<C0, C1, D0, D1, E0, E1, F0, F1, G0, G1, H0, H1, I0, I1, J0, J1, K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(C1, D1, E1, F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (C0, D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
where C0: EncodeLike<C1>, C1: Encode, D0: EncodeLike<D1>, D1: Encode, E0: EncodeLike<E1>, E1: Encode, F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<D0, D1, E0, E1, F0, F1, G0, G1, H0, H1, I0, I1, J0, J1, K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(D1, E1, F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (D0, E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
where D0: EncodeLike<D1>, D1: Encode, E0: EncodeLike<E1>, E1: Encode, F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<E0, E1, F0, F1, G0, G1, H0, H1, I0, I1, J0, J1, K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(E1, F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (E0, F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
where E0: EncodeLike<E1>, E1: Encode, F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<F0, F1, G0, G1, H0, H1, I0, I1, J0, J1, K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(F1, G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (F0, G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
where F0: EncodeLike<F1>, F1: Encode, G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<G0, G1, H0, H1, I0, I1, J0, J1, K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(G1, H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (G0, H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
where G0: EncodeLike<G1>, G1: Encode, H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<H0, H1, I0, I1, J0, J1, K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(H1, I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (H0, I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
where H0: EncodeLike<H1>, H1: Encode, I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<I0, I1, J0, J1, K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(I1, J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (I0, J0, K0, L0, M0, N0, O0, P0, Q0, R0)
where I0: EncodeLike<I1>, I1: Encode, J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<J0, J1, K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(J1, K1, L1, M1, N1, O1, P1, Q1, R1)> for (J0, K0, L0, M0, N0, O0, P0, Q0, R0)
where J0: EncodeLike<J1>, J1: Encode, K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<K0, K1, L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(K1, L1, M1, N1, O1, P1, Q1, R1)> for (K0, L0, M0, N0, O0, P0, Q0, R0)
where K0: EncodeLike<K1>, K1: Encode, L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<K, LikeK, V, LikeV> EncodeLike<BTreeMap<LikeK, LikeV>> for &[(K, V)]
where K: EncodeLike<LikeK>, LikeK: Encode, V: EncodeLike<LikeV>, LikeV: Encode,

§

impl<L0, L1, M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(L1, M1, N1, O1, P1, Q1, R1)> for (L0, M0, N0, O0, P0, Q0, R0)
where L0: EncodeLike<L1>, L1: Encode, M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<M0, M1, N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(M1, N1, O1, P1, Q1, R1)> for (M0, N0, O0, P0, Q0, R0)
where M0: EncodeLike<M1>, M1: Encode, N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<N0, N1, O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(N1, O1, P1, Q1, R1)> for (N0, O0, P0, Q0, R0)
where N0: EncodeLike<N1>, N1: Encode, O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<N, H> EncodeLike for SubstrateHeader<N, H>
where N: Copy + Into<U256> + TryFrom<U256> + HasCompact, H: Hasher, <H as Hasher>::Output: Encode,

§

impl<O0, O1, P0, P1, Q0, Q1, R0, R1> EncodeLike<(O1, P1, Q1, R1)> for (O0, P0, Q0, R0)
where O0: EncodeLike<O1>, O1: Encode, P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<P0, P1, Q0, Q1, R0, R1> EncodeLike<(P1, Q1, R1)> for (P0, Q0, R0)
where P0: EncodeLike<P1>, P1: Encode, Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<Q0, Q1, R0, R1> EncodeLike<(Q1, R1)> for (Q0, R0)
where Q0: EncodeLike<Q1>, Q1: Encode, R0: EncodeLike<R1>, R1: Encode,

§

impl<R0, R1> EncodeLike<(R1,)> for (R0,)
where R0: EncodeLike<R1>, R1: Encode,

§

impl<T> EncodeLike for &T
where T: Encode + ?Sized,

§

impl<T> EncodeLike for &mut T
where T: Encode + ?Sized,

§

impl<T> EncodeLike for Crossing<T>
where T: Encode + Decode,

§

impl<T> EncodeLike for CustomMetadata<T>
where T: Form, BTreeMap<<T as Form>::String, CustomValueMetadata<T>>: Encode,

§

impl<T> EncodeLike for CustomValueMetadata<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for ExtrinsicMetadata<T>
where T: Form, <T as Form>::Type: Encode, Vec<SignedExtensionMetadata<T>>: Encode,

§

impl<T> EncodeLike for ExtrinsicMetadata<T>
where T: Form, <T as Form>::Type: Encode, Vec<SignedExtensionMetadata<T>>: Encode,

§

impl<T> EncodeLike for IntervalsTree<T>
where BTreeMap<T, T>: Encode,

§

impl<T> EncodeLike for OuterEnums<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for PalletCallMetadata<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for PalletConstantMetadata<T>
where T: Form, <T as Form>::String: Encode, <T as Form>::Type: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> EncodeLike for PalletErrorMetadata<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for PalletEventMetadata<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for PalletMetadata<T>
where T: Form, <T as Form>::String: Encode, Option<PalletStorageMetadata<T>>: Encode, Option<PalletCallMetadata<T>>: Encode, Option<PalletEventMetadata<T>>: Encode, Vec<PalletConstantMetadata<T>>: Encode, Option<PalletErrorMetadata<T>>: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> EncodeLike for PalletMetadata<T>
where T: Form, <T as Form>::String: Encode, Option<PalletStorageMetadata<T>>: Encode, Option<PalletCallMetadata<T>>: Encode, Option<PalletEventMetadata<T>>: Encode, Vec<PalletConstantMetadata<T>>: Encode, Option<PalletErrorMetadata<T>>: Encode,

§

impl<T> EncodeLike for PalletStorageMetadata<T>
where T: Form, <T as Form>::String: Encode, Vec<StorageEntryMetadata<T>>: Encode,

§

impl<T> EncodeLike for RuntimeApiMetadata<T>
where T: Form, <T as Form>::String: Encode, Vec<RuntimeApiMethodMetadata<T>>: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> EncodeLike for RuntimeApiMethodMetadata<T>
where T: Form, <T as Form>::String: Encode, Vec<RuntimeApiMethodParamMetadata<T>>: Encode, <T as Form>::Type: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> EncodeLike for RuntimeApiMethodParamMetadata<T>
where T: Form, <T as Form>::String: Encode, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for SignedExtensionMetadata<T>
where T: Form, <T as Form>::String: Encode, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for SignedExtensionMetadata<T>
where T: Form, <T as Form>::String: Encode, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for Static<T>
where T: Encode,

§

impl<T> EncodeLike for StorageEntryMetadata<T>
where T: Form, <T as Form>::String: Encode, StorageEntryType<T>: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> EncodeLike for StorageEntryType<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for WrapperKeepOpaque<T>
where PhantomDataSendSync<T>: Encode,

§

impl<T> EncodeLike<T> for &&T
where T: Encode,

§

impl<T> EncodeLike<T> for &T
where T: Encode,

§

impl<T> EncodeLike<T> for &mut T
where T: Encode,

source§

impl<T, E, const N: usize> EncodeLike for LimitedVec<T, E, N>
where Vec<T>: Encode, PhantomData<E>: Encode,

§

impl<T, LikeT> EncodeLike<BTreeSet<LikeT>> for &[(T,)]
where T: EncodeLike<LikeT>, LikeT: Encode,

§

impl<T, LikeT> EncodeLike<BinaryHeap<LikeT>> for &[(T,)]
where T: EncodeLike<LikeT>, LikeT: Encode,

§

impl<T, LikeT> EncodeLike<LinkedList<LikeT>> for &[(T,)]
where T: EncodeLike<LikeT>, LikeT: Encode,

§

impl<T, U> EncodeLike<Option<U>> for Option<T>
where T: EncodeLike<U>, U: Encode,

§

impl<T, U> EncodeLike<VecDeque<U>> for &[T]
where T: EncodeLike<U>, U: Encode,

§

impl<T, U> EncodeLike<Vec<U>> for &[T]
where T: EncodeLike<U>, U: Encode,

§

impl<T, U, const N: usize> EncodeLike<[U; N]> for [T; N]
where T: EncodeLike<U>, U: Encode,

source§

impl<const SIZE: u32> EncodeLike for Page<SIZE>

source§

impl<const SIZE: u32> EncodeLike for PagesAmount<SIZE>

Implementors§

source§

impl EncodeLike for RuntimeEvent

source§

impl EncodeLike for gclient::GearEvent

source§

impl EncodeLike for gclient::errors::BagsList

source§

impl EncodeLike for gclient::errors::Balances

source§

impl EncodeLike for gclient::errors::ConvictionVoting

source§

impl EncodeLike for gclient::errors::Gear

source§

impl EncodeLike for gclient::errors::GearDebug

source§

impl EncodeLike for gclient::errors::GearStakingRewards

source§

impl EncodeLike for gclient::errors::Grandpa

source§

impl EncodeLike for gclient::errors::Identity

source§

impl EncodeLike for gclient::errors::ImOnline

source§

impl EncodeLike for gclient::errors::Preimage

source§

impl EncodeLike for gclient::errors::RanckedCollective

source§

impl EncodeLike for gclient::errors::Referenda

source§

impl EncodeLike for gclient::errors::Scheduler

source§

impl EncodeLike for gclient::errors::Session

source§

impl EncodeLike for gclient::errors::Staking

source§

impl EncodeLike for gclient::errors::Sudo

source§

impl EncodeLike for gclient::errors::System

source§

impl EncodeLike for gclient::errors::Treasury

source§

impl EncodeLike for gclient::errors::Utility

source§

impl EncodeLike for gclient::errors::Vesting

source§

impl EncodeLike for gclient::errors::Whitelist

source§

impl EncodeLike for gclient::metadata::bags_list::Event

source§

impl EncodeLike for gclient::metadata::balances::Event

source§

impl EncodeLike for gclient::metadata::bounties::Event

source§

impl EncodeLike for gclient::metadata::child_bounties::Event

source§

impl EncodeLike for gclient::metadata::conviction_voting::Event

source§

impl EncodeLike for gclient::metadata::election_provider_multi_phase::Event

source§

impl EncodeLike for gclient::metadata::DispatchError

source§

impl EncodeLike for gclient::metadata::fellowship_collective::Event

source§

impl EncodeLike for Event2

source§

impl EncodeLike for gclient::metadata::gear_debug::Event

source§

impl EncodeLike for gclient::metadata::gear_voucher::Event

source§

impl EncodeLike for gclient::metadata::grandpa::Event

source§

impl EncodeLike for gclient::metadata::identity::Event

source§

impl EncodeLike for gclient::metadata::im_online::Event

source§

impl EncodeLike for gclient::metadata::multisig::Event

source§

impl EncodeLike for gclient::metadata::nomination_pools::Event

source§

impl EncodeLike for gclient::metadata::offences::Event

source§

impl EncodeLike for gclient::metadata::preimage::Event

source§

impl EncodeLike for gclient::metadata::proxy::Event

source§

impl EncodeLike for gclient::metadata::referenda::Event

source§

impl EncodeLike for DispatchClass

source§

impl EncodeLike for Pays

source§

impl EncodeLike for BalanceStatus

source§

impl EncodeLike for gclient::metadata::runtime_types::frame_system::Phase

source§

impl EncodeLike for gclient::metadata::runtime_types::frame_system::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_common::ProgramState

source§

impl EncodeLike for DispatchStatus

source§

impl EncodeLike for MessageEntry

source§

impl EncodeLike for MessageWaitedRuntimeReason

source§

impl EncodeLike for MessageWaitedSystemReason

source§

impl EncodeLike for MessageWokenRuntimeReason

source§

impl EncodeLike for MessageWokenSystemReason

source§

impl EncodeLike for UserMessageReadRuntimeReason

source§

impl EncodeLike for UserMessageReadSystemReason

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::common::MessageDetails

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::DispatchKind

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core_errors::simple::ErrorReplyReason

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core_errors::simple::ReplyCode

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core_errors::simple::SignalCode

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core_errors::simple::SimpleExecutionError

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core_errors::simple::SimpleProgramCreationError

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core_errors::simple::SuccessReplyReason

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_babe::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_babe::pallet::Error

source§

impl EncodeLike for ListError

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_bags_list::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_balances::pallet::Call

source§

impl EncodeLike for Reasons

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_bounties::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_bounties::pallet::Error

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_child_bounties::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_child_bounties::pallet::Error

source§

impl EncodeLike for Conviction

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_conviction_voting::pallet::Call

source§

impl EncodeLike for ElectionCompute

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_election_provider_multi_phase::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_election_provider_multi_phase::pallet::Error

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear_bank::pallet::Error

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear_debug::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear_debug::pallet::ProgramState

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear_gas::pallet::Error

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear_messenger::pallet::Error

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear_program::pallet::Error

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear_scheduler::pallet::Error

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear_staking_rewards::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear_voucher::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_gear_voucher::pallet::Error

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_grandpa::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_identity::pallet::Call

source§

impl EncodeLike for Data

source§

impl EncodeLike for IdentityField

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_im_online::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_multisig::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_multisig::pallet::Error

source§

impl EncodeLike for ClaimPermission

source§

impl EncodeLike for PoolState

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_nomination_pools::pallet::Call

source§

impl EncodeLike for DefensiveError

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_nomination_pools::pallet::Error

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_preimage::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_proxy::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_proxy::pallet::Error

source§

impl EncodeLike for VoteRecord

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_ranked_collective::pallet::Call

source§

impl EncodeLike for Call2

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_referenda::pallet::Call

source§

impl EncodeLike for Error2

source§

impl EncodeLike for Curve

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_scheduler::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_session::pallet::Call

source§

impl EncodeLike for Forcing

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_staking::pallet::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_sudo::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_timestamp::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_transaction_payment::Releases

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_treasury::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_utility::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_vesting::Releases

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_vesting::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_whitelist::pallet::Call

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_arithmetic::ArithmeticError

source§

impl EncodeLike for NextConfigDescriptor

source§

impl EncodeLike for PreDigest

source§

impl EncodeLike for AllowedSlots

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_core::Void

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_runtime::MultiSignature

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_runtime::TokenError

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_runtime::TransactionalError

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_runtime::generic::digest::DigestItem

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_runtime::generic::era::Era

source§

impl EncodeLike for OriginCaller

source§

impl EncodeLike for ProxyType

source§

impl EncodeLike for RuntimeCall

source§

impl EncodeLike for RuntimeError

source§

impl EncodeLike for RuntimeHoldReason

source§

impl EncodeLike for Origin

source§

impl EncodeLike for gclient::metadata::scheduler::Event

source§

impl EncodeLike for gclient::metadata::session::Event

source§

impl EncodeLike for gclient::metadata::staking::Event

source§

impl EncodeLike for gclient::metadata::staking_rewards::Event

source§

impl EncodeLike for gclient::metadata::sudo::Event

source§

impl EncodeLike for gclient::metadata::system::Event

source§

impl EncodeLike for gclient::metadata::transaction_payment::Event

source§

impl EncodeLike for gclient::metadata::treasury::Event

source§

impl EncodeLike for gclient::metadata::utility::Event

source§

impl EncodeLike for gclient::metadata::vesting::Event

source§

impl EncodeLike for gclient::metadata::whitelist::Event

§

impl EncodeLike for LogLevel

§

impl EncodeLike for LogLevelFilter

§

impl EncodeLike for gclient::ext::sp_core::Void

§

impl EncodeLike for ChildInfo

§

impl EncodeLike for DeriveJunction

§

impl EncodeLike for gclient::ext::sp_runtime::ArithmeticError

§

impl EncodeLike for gclient::ext::sp_runtime::DigestItem

§

impl EncodeLike for gclient::ext::sp_runtime::DispatchError

§

impl EncodeLike for gclient::ext::sp_runtime::MultiSignature

§

impl EncodeLike for MultiSigner

§

impl EncodeLike for StateVersion

§

impl EncodeLike for gclient::ext::sp_runtime::TokenError

§

impl EncodeLike for gclient::ext::sp_runtime::TransactionalError

§

impl EncodeLike for gclient::ext::sp_runtime::generic::Era

§

impl EncodeLike for gclient::ext::sp_runtime::legacy::byte_sized_error::DispatchError

§

impl EncodeLike for HttpError

§

impl EncodeLike for HttpRequestStatus

§

impl EncodeLike for StorageKind

§

impl EncodeLike for TypeDefPrimitive

§

impl EncodeLike for InvalidTransaction

§

impl EncodeLike for TransactionSource

§

impl EncodeLike for TransactionValidityError

§

impl EncodeLike for UnknownTransaction

source§

impl EncodeLike for DispatchInfo

source§

impl EncodeLike for PostDispatchInfo

source§

impl EncodeLike for PalletId

source§

impl EncodeLike for CheckGenesis

source§

impl EncodeLike for CheckMortality

source§

impl EncodeLike for CheckNonZeroSender

source§

impl EncodeLike for CheckNonce

source§

impl EncodeLike for CheckSpecVersion

source§

impl EncodeLike for CheckTxVersion

source§

impl EncodeLike for CheckWeight

source§

impl EncodeLike for BlockLength

source§

impl EncodeLike for BlockWeights

source§

impl EncodeLike for WeightsPerClass

source§

impl EncodeLike for LastRuntimeUpgradeInfo

source§

impl EncodeLike for ChildrenRefs

source§

impl EncodeLike for CodeMetadata

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::code::instrumented::InstrumentedCode

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::ids::CodeId

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::ids::MessageId

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::ids::ProgramId

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::ids::ReservationId

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::memory::PageBuf

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::common::ReplyDetails

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::common::SignalDetails

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::context::ContextStore

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::stored::StoredDelayedDispatch

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::stored::StoredDispatch

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::stored::StoredMessage

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::PayloadSizeError

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::user::UserMessage

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::message::user::UserStoredMessage

source§

impl EncodeLike for Page2

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::pages::Page

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::pages::PagesAmount

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::percent::Percent

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::program::MemoryInfix

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::reservation::GasReservationSlot

source§

impl EncodeLike for gclient::metadata::runtime_types::gear_core::reservation::ReservationNonce

source§

impl EncodeLike for Bag

source§

impl EncodeLike for Node

source§

impl EncodeLike for ExtraFlags

source§

impl EncodeLike for Vote

source§

impl EncodeLike for ReadySolution

source§

impl EncodeLike for SolutionOrSnapshotSize

source§

impl EncodeLike for InstructionWeights

source§

impl EncodeLike for Limits

source§

impl EncodeLike for MemoryWeights

source§

impl EncodeLike for Schedule

source§

impl EncodeLike for SyscallWeights

source§

impl EncodeLike for DebugData

source§

impl EncodeLike for ProgramDetails

source§

impl EncodeLike for ProgramInfo

source§

impl EncodeLike for StakingBlackList

source§

impl EncodeLike for VoucherId

source§

impl EncodeLike for IdentityInfo

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_im_online::sr25519::app_sr25519::Public

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_im_online::sr25519::app_sr25519::Signature

source§

impl EncodeLike for BondedPoolInner

source§

impl EncodeLike for Commission

source§

impl EncodeLike for PoolMember

source§

impl EncodeLike for RewardPool

source§

impl EncodeLike for SubPools

source§

impl EncodeLike for UnbondPool

source§

impl EncodeLike for MemberRecord

source§

impl EncodeLike for gclient::metadata::runtime_types::pallet_ranked_collective::Tally

source§

impl EncodeLike for SlashingSpans

source§

impl EncodeLike for ActiveEraInfo

source§

impl EncodeLike for Nominations

source§

impl EncodeLike for StakingLedger

source§

impl EncodeLike for ValidatorPrefs

source§

impl EncodeLike for ChargeTransactionPayment

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_arithmetic::fixed_point::FixedI64

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_arithmetic::fixed_point::FixedU128

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_arithmetic::per_things::PerU16

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_arithmetic::per_things::Perbill

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_arithmetic::per_things::Percent

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_arithmetic::per_things::Permill

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_arithmetic::per_things::Perquintill

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_authority_discovery::app::Public

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_consensus_babe::app::Public

source§

impl EncodeLike for PrimaryPreDigest

source§

impl EncodeLike for SecondaryPlainPreDigest

source§

impl EncodeLike for SecondaryVRFPreDigest

source§

impl EncodeLike for BabeEpochConfiguration

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_consensus_grandpa::app::Public

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_consensus_grandpa::app::Signature

source§

impl EncodeLike for Slot

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_core::crypto::KeyTypeId

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_core::ecdsa::Signature

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_core::ed25519::Public

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_core::ed25519::Signature

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_core::sr25519::Public

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_core::sr25519::Signature

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_core::sr25519::vrf::VrfSignature

source§

impl EncodeLike for ElectionScore

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_runtime::generic::digest::Digest

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_runtime::ModuleError

source§

impl EncodeLike for MembershipProof

source§

impl EncodeLike for RuntimeVersion

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_weights::RuntimeDbWeight

source§

impl EncodeLike for gclient::metadata::runtime_types::sp_weights::weight_v2::Weight

source§

impl EncodeLike for NposSolution16

source§

impl EncodeLike for Runtime

source§

impl EncodeLike for SessionKeys

§

impl EncodeLike for String

§

impl EncodeLike for gclient::ext::sp_core::sr25519::vrf::VrfSignature

§

impl EncodeLike for ChildTrieParentKeyId

§

impl EncodeLike for StorageData

§

impl EncodeLike for StorageKey

§

impl EncodeLike for TrackedStorageKey

§

impl EncodeLike for H160

§

impl EncodeLike for H512

§

impl EncodeLike for gclient::ext::sp_core::OpaqueMetadata

§

impl EncodeLike for OpaquePeerId

§

impl EncodeLike for U256

§

impl EncodeLike for U512

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::ecdsa::AppPublic

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::ecdsa::AppSignature

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::ecdsa::Public

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::ecdsa::Signature

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::ed25519::AppPublic

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::ed25519::AppSignature

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::ed25519::Public

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::ed25519::Signature

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::sr25519::AppPublic

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::sr25519::AppSignature

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::sr25519::Public

§

impl EncodeLike for gclient::ext::sp_runtime::app_crypto::sr25519::Signature

§

impl EncodeLike for BigUint

§

impl EncodeLike for gclient::ext::sp_runtime::legacy::byte_sized_error::ModuleError

§

impl EncodeLike for Time

§

impl EncodeLike for gclient::ext::sp_runtime::offchain::Duration

§

impl EncodeLike for HttpRequestId

§

impl EncodeLike for OpaqueMultiaddr

§

impl EncodeLike for OpaqueNetworkState

§

impl EncodeLike for Timestamp

§

impl EncodeLike for gclient::ext::sp_runtime::scale_info::prelude::time::Duration

§

impl EncodeLike for PortableRegistry

§

impl EncodeLike for PortableType

§

impl EncodeLike for gclient::ext::sp_runtime::AccountId32

§

impl EncodeLike for AnySignature

§

impl EncodeLike for CryptoTypeId

§

impl EncodeLike for gclient::ext::sp_runtime::Digest

§

impl EncodeLike for gclient::ext::sp_runtime::FixedI64

§

impl EncodeLike for FixedI128

§

impl EncodeLike for FixedU64

§

impl EncodeLike for gclient::ext::sp_runtime::FixedU128

§

impl EncodeLike for Justifications

§

impl EncodeLike for gclient::ext::sp_runtime::KeyTypeId

§

impl EncodeLike for gclient::ext::sp_runtime::ModuleError

§

impl EncodeLike for OpaqueExtrinsic

§

impl EncodeLike for gclient::ext::sp_runtime::PerU16

§

impl EncodeLike for gclient::ext::sp_runtime::Perbill

§

impl EncodeLike for gclient::ext::sp_runtime::Percent

§

impl EncodeLike for gclient::ext::sp_runtime::Permill

§

impl EncodeLike for gclient::ext::sp_runtime::Perquintill

§

impl EncodeLike for H256

§

impl EncodeLike for TestSignature

§

impl EncodeLike for UintAuthorityId

§

impl EncodeLike for BadOrigin

§

impl EncodeLike for LookupError

§

impl EncodeLike for ValidTransaction

§

impl EncodeLike for OptionBool

§

impl EncodeLike<&str> for String

§

impl EncodeLike<Bytes> for Vec<u8>

§

impl<'a> EncodeLike for DigestItemRef<'a>

§

impl<'a, T> EncodeLike for Cow<'a, T>
where T: ToOwned + Encode + ?Sized,

§

impl<'a, T> EncodeLike for CompactRef<'a, T>
where T: CompactAs, CompactRef<'b, <T as CompactAs>::As>: for<'b> Encode,

§

impl<'a, T> EncodeLike<Cow<'a, T>> for T
where T: ToOwned + Encode,

§

impl<'a, T> EncodeLike<T> for Cow<'a, T>
where T: ToOwned + Encode,

§

impl<'a, T, S> EncodeLike for BoundedSlice<'a, T, S>
where T: Encode, &'a [T]: Encode, PhantomData<S>: Encode,

§

impl<'a, T, S> EncodeLike<Vec<T>> for BoundedSlice<'a, T, S>
where T: Encode + Decode, S: Get<u32>,

§

impl<'a, T, S> EncodeLike<BoundedVec<T, S>> for BoundedSlice<'a, T, S>
where T: Encode + Decode, S: Get<u32>,

§

impl<'a, T, S> EncodeLike<WeakBoundedVec<T, S>> for BoundedSlice<'a, T, S>
where T: Encode + Decode, S: Get<u32>,

§

impl<'a, T, U> EncodeLike<U> for &Ref<'a, T, U>
where T: EncodeLike<U>, U: Encode,

§

impl<'a, T, U> EncodeLike<U> for Ref<'a, T, U>
where T: EncodeLike<U>, U: Encode,

§

impl<AccountId, AccountIndex> EncodeLike for gclient::ext::sp_runtime::MultiAddress<AccountId, AccountIndex>
where AccountId: Encode, AccountIndex: HasCompact,

§

impl<Address, Call, Signature, Extra> EncodeLike for gclient::ext::sp_runtime::generic::UncheckedExtrinsic<Address, Call, Signature, Extra>
where Address: Encode, Signature: Encode, Call: Encode, Extra: SignedExtension,

§

impl<B> EncodeLike for BlockAndTimeDeadline<B>

§

impl<Block> EncodeLike for BlockId<Block>
where Block: Block, <Block as Block>::Hash: Encode, <<Block as Block>::Header as Header>::Number: Encode,

§

impl<Block> EncodeLike for SignedBlock<Block>
where Block: Encode,

§

impl<Call, Extra> EncodeLike for SignedPayload<Call, Extra>
where Call: Encode, Extra: SignedExtension,

§

impl<Call, Extra> EncodeLike for TestXt<Call, Extra>
where Option<(u64, Extra)>: Encode, Call: Encode,

§

impl<Header, Extrinsic> EncodeLike for gclient::ext::sp_runtime::generic::Block<Header, Extrinsic>
where Header: Encode, Vec<Extrinsic>: Encode,

§

impl<Info> EncodeLike for gclient::ext::sp_runtime::DispatchErrorWithPostInfo<Info>
where Info: Eq + PartialEq + Clone + Copy + Encode + Decode + Printable,

§

impl<K, LikeK, V, LikeV> EncodeLike<&[(LikeK, LikeV)]> for BTreeMap<K, V>
where K: EncodeLike<LikeK>, LikeK: Encode, V: EncodeLike<LikeV>, LikeV: Encode,

§

impl<K, LikeK, V, LikeV> EncodeLike<BTreeMap<LikeK, LikeV>> for BTreeMap<K, V>
where K: EncodeLike<LikeK>, LikeK: Encode, V: EncodeLike<LikeV>, LikeV: Encode,

§

impl<K, V, S> EncodeLike for gclient::ext::sp_runtime::BoundedBTreeMap<K, V, S>
where BTreeMap<K, V>: Encode, PhantomData<S>: Encode,

§

impl<K, V, S> EncodeLike<BTreeMap<K, V>> for gclient::ext::sp_runtime::BoundedBTreeMap<K, V, S>
where BTreeMap<K, V>: Encode,

§

impl<Number, Hash> EncodeLike for gclient::ext::sp_runtime::generic::Header<Number, Hash>
where Number: Copy + Into<U256> + TryFrom<U256> + HasCompact, Hash: Hash, <Hash as Hash>::Output: Encode,

§

impl<T> EncodeLike for TypeDef<T>

§

impl<T> EncodeLike for VecDeque<T>
where T: Encode,

§

impl<T> EncodeLike for Rc<T>
where T: Encode + ?Sized,

§

impl<T> EncodeLike for Box<T>
where T: Encode + ?Sized,

§

impl<T> EncodeLike for Arc<T>
where T: Encode + ?Sized,

§

impl<T> EncodeLike for UntrackedSymbol<T>
where PhantomData<fn() -> T>: Encode,

§

impl<T> EncodeLike for Field<T>
where T: Form, Option<<T as Form>::String>: Encode, <T as Form>::Type: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> EncodeLike for Path<T>
where T: Form, Vec<<T as Form>::String>: Encode,

§

impl<T> EncodeLike for Type<T>
where T: Form, Path<T>: Encode, Vec<TypeParameter<T>>: Encode, TypeDef<T>: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> EncodeLike for TypeDefArray<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for TypeDefBitSequence<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for TypeDefCompact<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for TypeDefComposite<T>
where T: Form, Vec<Field<T>>: Encode,

§

impl<T> EncodeLike for TypeDefSequence<T>
where T: Form, <T as Form>::Type: Encode,

§

impl<T> EncodeLike for TypeDefTuple<T>
where T: Form, Vec<<T as Form>::Type>: Encode,

§

impl<T> EncodeLike for TypeDefVariant<T>
where T: Form, Vec<Variant<T>>: Encode,

§

impl<T> EncodeLike for TypeParameter<T>
where T: Form, <T as Form>::String: Encode, Option<<T as Form>::Type>: Encode,

§

impl<T> EncodeLike for Variant<T>
where T: Form, <T as Form>::String: Encode, Vec<Field<T>>: Encode, Vec<<T as Form>::String>: Encode,

§

impl<T> EncodeLike for PhantomData<T>

§

impl<T> EncodeLike for Compact<T>
where CompactRef<'a, T>: for<'a> Encode,

§

impl<T> EncodeLike<&&T> for T
where T: Encode,

§

impl<T> EncodeLike<&T> for T
where T: Encode,

§

impl<T> EncodeLike<&mut T> for T
where T: Encode,

§

impl<T> EncodeLike<Rc<T>> for T
where T: Encode,

§

impl<T> EncodeLike<Box<T>> for T
where T: Encode,

§

impl<T> EncodeLike<Arc<T>> for T
where T: Encode,

§

impl<T> EncodeLike<T> for Rc<T>
where T: Encode,

§

impl<T> EncodeLike<T> for Box<T>
where T: Encode,

§

impl<T> EncodeLike<T> for Arc<T>
where T: Encode,

§

impl<T, LikeT> EncodeLike<&[(LikeT,)]> for BTreeSet<T>
where T: EncodeLike<LikeT>, LikeT: Encode,

§

impl<T, LikeT> EncodeLike<&[(LikeT,)]> for BinaryHeap<T>
where T: EncodeLike<LikeT>, LikeT: Encode,

§

impl<T, LikeT> EncodeLike<&[(LikeT,)]> for LinkedList<T>
where T: EncodeLike<LikeT>, LikeT: Encode,

§

impl<T, LikeT> EncodeLike<BTreeSet<LikeT>> for BTreeSet<T>
where T: EncodeLike<LikeT>, LikeT: Encode,

§

impl<T, LikeT> EncodeLike<BinaryHeap<LikeT>> for BinaryHeap<T>
where T: EncodeLike<LikeT>, LikeT: Encode,

§

impl<T, LikeT> EncodeLike<LinkedList<LikeT>> for LinkedList<T>
where T: EncodeLike<LikeT>, LikeT: Encode,

§

impl<T, LikeT, E, LikeE> EncodeLike<Result<LikeT, LikeE>> for Result<T, E>
where T: EncodeLike<LikeT>, LikeT: Encode, E: EncodeLike<LikeE>, LikeE: Encode,

§

impl<T, S> EncodeLike for BoundedBTreeSet<T, S>

§

impl<T, S> EncodeLike for gclient::ext::sp_runtime::BoundedVec<T, S>
where Vec<T>: Encode, PhantomData<S>: Encode,

§

impl<T, S> EncodeLike for gclient::ext::sp_runtime::WeakBoundedVec<T, S>
where Vec<T>: Encode, PhantomData<S>: Encode,

§

impl<T, S> EncodeLike<BTreeSet<T>> for BoundedBTreeSet<T, S>
where BTreeSet<T>: Encode,

§

impl<T, S> EncodeLike<Vec<T>> for gclient::ext::sp_runtime::BoundedVec<T, S>
where T: Encode + Decode, S: Get<u32>,

§

impl<T, U> EncodeLike<&[U]> for VecDeque<T>
where T: EncodeLike<U>, U: Encode,

§

impl<T, U> EncodeLike<&[U]> for Vec<T>
where T: EncodeLike<U>, U: Encode,

§

impl<T, U> EncodeLike<VecDeque<U>> for Vec<T>
where T: EncodeLike<U>, U: Encode,

§

impl<T, U> EncodeLike<Vec<U>> for VecDeque<T>
where T: EncodeLike<U>, U: Encode,

§

impl<T, U> EncodeLike<Vec<U>> for Vec<T>
where T: EncodeLike<U>, U: Encode,

§

impl<Xt> EncodeLike for gclient::ext::sp_runtime::testing::Block<Xt>
where Vec<Xt>: Encode,

§

impl<Xt> EncodeLike for ExtrinsicWrapper<Xt>
where Xt: Encode,

source§

impl<_0> EncodeLike for RawOrigin<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for Bounded<_0>
where PhantomData<_0>: Encode,

source§

impl<_0> EncodeLike for DispatchTime<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for Program<_0>
where ActiveProgram<_0>: Encode,

source§

impl<_0> EncodeLike for CodeChangeKind<_0>
where Option<_0>: Encode,

source§

impl<_0> EncodeLike for ProgramChangeKind<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for ScheduledTask<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for AccountVote<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for gclient::metadata::runtime_types::pallet_election_provider_multi_phase::Phase<_0>
where _0: Encode, (bool, _0): Encode,

source§

impl<_0> EncodeLike for PrepaidCall<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for StoredState<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for Judgement<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for BondExtra<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for gclient::metadata::runtime_types::pallet_nomination_pools::ConfigOp<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for RewardDestination<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for gclient::metadata::runtime_types::pallet_staking::pallet::pallet::ConfigOp<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for gclient::metadata::runtime_types::bounded_collections::bounded_vec::BoundedVec<_0>
where Vec<_0>: Encode,

source§

impl<_0> EncodeLike for gclient::metadata::runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec<_0>
where Vec<_0>: Encode,

source§

impl<_0> EncodeLike for PerDispatchClass<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for NodeLock<_0>
where _0: Encode, [_0; 4]: Encode,

source§

impl<_0> EncodeLike for Interval<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for ActiveProgram<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for AccountData<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for BalanceLock<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for Delegations<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for gclient::metadata::runtime_types::pallet_conviction_voting::types::Tally<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for RawSolution<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for BankAccount<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for CustomChargeTransactionPayment<_0>

source§

impl<_0> EncodeLike for StoredPendingChange<_0>
where _0: Encode, Option<_0>: Encode,

source§

impl<_0> EncodeLike for BitFlags<_0>

source§

impl<_0> EncodeLike for Registration<_0>
where BoundedVec<(u32, Judgement<_0>)>: Encode, _0: Encode,

source§

impl<_0> EncodeLike for Heartbeat<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for Timepoint<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for CommissionChangeRate<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for PoolRoles<_0>
where _0: Encode, Option<_0>: Encode,

source§

impl<_0> EncodeLike for DecidingStatus<_0>
where _0: Encode, Option<_0>: Encode,

source§

impl<_0> EncodeLike for SpanRecord<_0>
where _0: Encode,

source§

impl<_0> EncodeLike for EraRewardPoints<_0>
where Vec<(_0, u32)>: Encode,

source§

impl<_0> EncodeLike for UnlockChunk<_0>
where _0: HasCompact,

source§

impl<_0> EncodeLike for Support<_0>
where Vec<(_0, u128)>: Encode,

source§

impl<_0> EncodeLike for gclient::metadata::runtime_types::sp_runtime::generic::header::Header<_0>
where _0: HasCompact,

source§

impl<_0> EncodeLike for gclient::metadata::runtime_types::sp_runtime::DispatchErrorWithPostInfo<_0>
where _0: Encode,

source§

impl<_0, _1> EncodeLike for GasMultiplier<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for Reason<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for GasNodeId<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for BountyStatus<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for ChildBountyStatus<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for RequestStatus<_0, _1>

source§

impl<_0, _1> EncodeLike for gclient::metadata::runtime_types::sp_consensus_grandpa::Equivocation<_0, _1>

source§

impl<_0, _1> EncodeLike for gclient::metadata::runtime_types::bounded_collections::bounded_btree_map::BoundedBTreeMap<_0, _1>

source§

impl<_0, _1> EncodeLike for Precommit<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for Prevote<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for AccountInfo<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for EventRecord<_0, _1>
where _0: Encode, Vec<_1>: Encode,

source§

impl<_0, _1> EncodeLike for ResumeSession<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for LinkedNode<_0, _1>
where Option<_0>: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for gclient::metadata::runtime_types::gear_core::buffer::LimitedVec<_0, _1>
where Vec<_0>: Encode,

source§

impl<_0, _1> EncodeLike for IdAmount<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for ReserveData<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for PriorLock<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for RoundSnapshot<_0, _1>
where Vec<_1>: Encode, Vec<_0>: Encode,

source§

impl<_0, _1> EncodeLike for VoucherInfo<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for RegistrarInfo<_0, _1>
where _1: Encode, _0: Encode,

source§

impl<_0, _1> EncodeLike for Deposit<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for TrackInfo<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for Exposure<_0, _1>
where Vec<IndividualExposure<_0, _1>>: Encode, _1: HasCompact,

source§

impl<_0, _1> EncodeLike for IndividualExposure<_0, _1>
where _0: Encode, _1: HasCompact,

source§

impl<_0, _1> EncodeLike for UnappliedSlash<_0, _1>
where _0: Encode, _1: Encode, Vec<(_0, _1)>: Encode, Vec<_0>: Encode,

source§

impl<_0, _1> EncodeLike for Proposal<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for VestingInfo<_0, _1>
where _0: Encode, _1: Encode,

source§

impl<_0, _1> EncodeLike for gclient::metadata::runtime_types::sp_consensus_grandpa::EquivocationProof<_0, _1>
where Equivocation<_0, _1>: Encode,

source§

impl<_0, _1> EncodeLike for gclient::metadata::runtime_types::sp_consensus_slots::EquivocationProof<_0, _1>
where _1: Encode, _0: Encode,

source§

impl<_0, _1> EncodeLike for OffenceDetails<_0, _1>
where _1: Encode, Vec<_0>: Encode,

source§

impl<_0, _1, _2> EncodeLike for gclient::metadata::runtime_types::finality_grandpa::Equivocation<_0, _1, _2>
where _0: Encode, _1: Encode, _2: Encode, (_1, _2): Encode,

source§

impl<_0, _1, _2> EncodeLike for Bounty<_0, _1, _2>
where _0: Encode, _1: Encode, BountyStatus<_0, _2>: Encode,

source§

impl<_0, _1, _2> EncodeLike for ChildBounty<_0, _1, _2>
where _1: Encode, ChildBountyStatus<_0, _2>: Encode,

source§

impl<_0, _1, _2> EncodeLike for Casting<_0, _1, _2>
where BoundedVec<(_1, AccountVote<_0>)>: Encode, Delegations<_0>: Encode, PriorLock<_1, _0>: Encode,

source§

impl<_0, _1, _2> EncodeLike for Delegating<_0, _1, _2>
where _0: Encode, _1: Encode, Delegations<_0>: Encode, PriorLock<_2, _0>: Encode,

source§

impl<_0, _1, _2> EncodeLike for SignedSubmission<_0, _1, _2>
where _0: Encode, _1: Encode, RawSolution<_2>: Encode,

source§

impl<_0, _1, _2> EncodeLike for Multisig<_0, _1, _2>
where Timepoint<_0>: Encode, _1: Encode, _2: Encode, BoundedVec<_2>: Encode,

source§

impl<_0, _1, _2> EncodeLike for Announcement<_0, _1, _2>
where _0: Encode, _1: Encode, _2: Encode,

source§

impl<_0, _1, _2> EncodeLike for ProxyDefinition<_0, _1, _2>
where _0: Encode, _1: Encode, _2: Encode,

source§

impl<_0, _1, _2, _3> EncodeLike for GasNode<_0, _1, _2, _3>
where _0: Encode, GasMultiplier<_3, _2>: Encode, _2: Encode, NodeLock<_2>: Encode, _1: Encode,

source§

impl<_0, _1, _2, _3> EncodeLike for Voting<_0, _1, _2, _3>
where Casting<_0, _2, _2>: Encode, Delegating<_0, _1, _2>: Encode, PhantomData<_3>: Encode,

source§

impl<_0, _1, _2, _3, _4> EncodeLike for Scheduled<_0, _1, _2, _3, _4>
where Option<_0>: Encode, _1: Encode, Option<(_2, _2)>: Encode, _3: Encode,

source§

impl<_0, _1, _2, _3, _4, _5, _6, _7> EncodeLike for ReferendumInfo<_0, _1, _2, _3, _4, _5, _6, _7>
where ReferendumStatus<_0, _1, _2, _3, _4, _5, _6, _7>: Encode, _2: Encode, Option<Deposit<_6, _4>>: Encode,

source§

impl<_0, _1, _2, _3, _4, _5, _6, _7> EncodeLike for ReferendumStatus<_0, _1, _2, _3, _4, _5, _6, _7>
where _0: Encode, _1: Encode, _3: Encode, DispatchTime<_2>: Encode, _2: Encode, Deposit<_6, _4>: Encode, Option<Deposit<_6, _4>>: Encode, Option<DecidingStatus<_2>>: Encode, _5: Encode, Option<(_2, _7)>: Encode,