Trait gclient::ext::sp_core::serde::Serialize

source ·
pub trait Serialize {
    // Required method
    fn serialize<S>(
        &self,
        serializer: S,
    ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
       where S: Serializer;
}
Expand description

A data structure that can be serialized into any data format supported by Serde.

Serde provides Serialize implementations for many Rust primitive and standard library types. The complete list is here. All of these can be serialized using Serde out of the box.

Additionally, Serde provides a procedural macro called serde_derive to automatically generate Serialize implementations for structs and enums in your program. See the derive section of the manual for how to use this.

In rare cases it may be necessary to implement Serialize manually for some type in your program. See the Implementing Serialize section of the manual for more about this.

Third-party crates may provide Serialize implementations for types that they expose. For example the linked-hash-map crate provides a LinkedHashMap<K, V> type that is serializable by Serde because the crate provides an implementation of Serialize for it.

Required Methods§

source

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

Serialize this value into the given Serde serializer.

See the Implementing Serialize section of the manual for more information about how to implement this method.

use serde::ser::{Serialize, SerializeStruct, Serializer};

struct Person {
    name: String,
    age: u8,
    phones: Vec<String>,
}

// This is what #[derive(Serialize)] would generate.
impl Serialize for Person {
    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where
        S: Serializer,
    {
        let mut s = serializer.serialize_struct("Person", 3)?;
        s.serialize_field("name", &self.name)?;
        s.serialize_field("age", &self.age)?;
        s.serialize_field("phones", &self.phones)?;
        s.end()
    }
}

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Serialize for MessageDetails

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for DispatchKind

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for ErrorReplyReason

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for ReplyCode

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for SignalCode

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for SimpleExecutionError

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for SimpleProgramCreationError

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for SuccessReplyReason

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for IpAddr

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for SocketAddr

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for Value

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for bool

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for char

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for f32

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for f64

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for i8

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for i16

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for i32

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for i64

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for i128

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for isize

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for str

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for u8

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for u16

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for u32

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for u64

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for u128

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for ()

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for usize

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for GasInfo

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for ReplyDetails

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for SignalDetails

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for ContextStore

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for PayloadSizeError

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for ReplyInfo

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for MemoryInfix

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for ReservationNonce

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl Serialize for CStr

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for Ipv4Addr

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for Ipv6Addr

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for SocketAddrV4

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for SocketAddrV6

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for OsStr

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for OsString

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for Path

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for PathBuf

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for Map<String, Value>

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for Number

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for RawValue

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl Serialize for Url

Serializes this URL into a serde stream.

This implementation is only available if the serde Cargo feature is enabled.

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for AccountId32

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for ActorId

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for AnyfuncIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Bits

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for BlockStats

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Bytes

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for Bytes

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Bytes

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for BytesMut

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for CodeId

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for CompiledModuleInfo

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for ConnectionId

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for DataIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for DefinedFuncIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for DefinedGlobalIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for DefinedMemoryIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for DefinedTableIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Digest

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for DigestItem

§

fn serialize<S>( &self, seq: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for ElemIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for EntityIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for EntityType

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Era

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for ErrorCode

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for ErrorCode

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for FilePos

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for FlagValue

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for FuncIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for FunctionLoc

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for FunctionType

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Global

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for GlobalIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for GlobalInit

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for H128

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for H384

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for H768

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for Initializer

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for InstructionAddressMap

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Memory

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for MemoryIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for MemoryInitialization

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for MemoryInitializer

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for MemoryPageDump

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for MemoryPlan

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for MemoryStyle

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for MessageId

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for Module

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for ModuleType

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for ModuleTypes

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for NumberOrHex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for NumberOrHex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for OpaqueMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for OptLevel

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for OwnedMemoryIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Primitive

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for ProgramMemoryDump

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for PublicKey

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for ReservationId

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for RuntimeMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for RuntimeMetadataDeprecated

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for RuntimeMetadataPrefixed

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for RuntimeMetadataV14

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for RuntimeMetadataV15

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for SignatureIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for StackMap

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for StackMapInformation

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for StaticMemoryInitializer

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for StorageEntryModifier

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for StorageHasher

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for StorageQueryType

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Table

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for TableIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for TableInitialization

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for TableInitializer

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for TablePlan

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for TableStyle

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Tag

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for TagIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Tunables

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for TwoPointZero

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for TwoPointZero

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for TypeIndex

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for U128

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl Serialize for WasmFuncType

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for WasmFunctionInfo

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for WasmType

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl Serialize for Weight

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl<'a> Serialize for Arguments<'a>

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl<'a> Serialize for ErrorObject<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for ErrorObject<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for Id<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for Id<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for NotificationSer<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for NotificationSer<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for Request<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for Request<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for RequestSer<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for RequestSer<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for SubscriptionId<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a> Serialize for SubscriptionId<'a>

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl<'a, T> Serialize for &'a T
where T: Serialize + ?Sized,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<'a, T> Serialize for &'a mut T
where T: Serialize + ?Sized,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl<'a, T> Serialize for Notification<'a, T>
where T: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a, T> Serialize for Notification<'a, T>
where T: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a, T> Serialize for Response<'a, T>
where T: Serialize + Clone,

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl<'a, T> Serialize for Response<'a, T>
where T: Serialize + Clone,

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl<'a, T> Serialize for SubscriptionPayload<'a, T>
where T: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a, T> Serialize for SubscriptionPayload<'a, T>
where T: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a, T> Serialize for SubscriptionPayloadError<'a, T>
where T: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'a, T> Serialize for SubscriptionPayloadError<'a, T>
where T: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<'de> Serialize for Mnemonic

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl<Hash> Serialize for ReadProof<Hash>
where Hash: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<Hash> Serialize for StorageChangeSet<Hash>
where Hash: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<K, V> Serialize for PrimaryMap<K, V>
where K: EntityRef, V: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<K, V> Serialize for SecondaryMap<K, V>
where K: EntityRef, V: Clone + PartialEq + Serialize,

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl<K, V> Serialize for Slice<K, V>
where K: Serialize, V: Serialize,

Serializes a [map::Slice][MapSlice] as an ordered sequence.

This behaves like [crate::map::serde_seq] for IndexMap, serializing a sequence of (key, value) pairs, rather than as a map that might not preserve order.

§

fn serialize<T>( &self, serializer: T, ) -> Result<<T as Serializer>::Ok, <T as Serializer>::Error>
where T: Serializer,

§

impl<K, V> Serialize for SparseMap<K, V>
where K: EntityRef + Serialize, V: SparseMapValue<K> + Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl<K, V, H> Serialize for HashMap<K, V, H>
where K: Serialize, V: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<K, V, S> Serialize for IndexMap<K, V, S>
where K: Serialize + Hash + Eq, V: Serialize, S: BuildHasher,

Requires crate feature "serde" or "serde-1"

source§

fn serialize<T>( &self, serializer: T, ) -> Result<<T as Serializer>::Ok, <T as Serializer>::Error>
where T: Serializer,

§

impl<K, V, S> Serialize for IndexMap<K, V, S>
where K: Serialize, V: Serialize,

§

fn serialize<T>( &self, serializer: T, ) -> Result<<T as Serializer>::Ok, <T as Serializer>::Error>
where T: Serializer,

§

impl<Key> Serialize for StorageQuery<Key>
where Key: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

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

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl<S> Serialize for Host<S>
where S: Serialize,

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl<T0, T1> Serialize for (T0, T1)
where T0: Serialize, T1: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2> Serialize for (T0, T1, T2)
where T0: Serialize, T1: Serialize, T2: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3> Serialize for (T0, T1, T2, T3)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4> Serialize for (T0, T1, T2, T3, T4)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5> Serialize for (T0, T1, T2, T3, T4, T5)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5, T6> Serialize for (T0, T1, T2, T3, T4, T5, T6)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize, T10: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize, T10: Serialize, T11: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize, T10: Serialize, T11: Serialize, T12: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize, T10: Serialize, T11: Serialize, T12: Serialize, T13: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize, T10: Serialize, T11: Serialize, T12: Serialize, T13: Serialize, T14: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Serialize for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize, T5: Serialize, T6: Serialize, T7: Serialize, T8: Serialize, T9: Serialize, T10: Serialize, T11: Serialize, T12: Serialize, T13: Serialize, T14: Serialize, T15: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for Option<T>
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 0]

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 1]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 2]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 3]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 4]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 5]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 6]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 7]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 8]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 9]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 10]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 11]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 12]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 13]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 14]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 15]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 16]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 17]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 18]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 19]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 20]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 21]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 22]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 23]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 24]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 25]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 26]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 27]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 28]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 29]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 30]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 31]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T; 32]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for [T]
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T> Serialize for (T,)
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl<T> Serialize for Composite<T>

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl<T> Serialize for CustomMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for CustomValueMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for EntityList<T>
where T: EntityRef + ReservedValue,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for ExtrinsicMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for ExtrinsicMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for ListPool<T>
where T: EntityRef + ReservedValue + Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for OuterEnums<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for PackedOption<T>
where T: ReservedValue + Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for PalletCallMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for PalletConstantMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

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

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

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

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for PalletMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for PalletMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for PalletStorageMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for RuntimeApiMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for RuntimeApiMethodMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

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

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

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

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

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

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for Slice<T>
where T: Serialize,

Serializes a [set::Slice][SetSlice] as an ordered sequence.

§

fn serialize<Se>( &self, serializer: Se, ) -> Result<<Se as Serializer>::Ok, <Se as Serializer>::Error>
where Se: Serializer,

§

impl<T> Serialize for StorageEntryMetadata<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for StorageEntryType<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

§

impl<T> Serialize for Value<T>

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl<T> Serialize for ValueDef<T>

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

§

impl<T> Serialize for Variant<T>

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T, E, const N: usize> Serialize for LimitedVec<T, E, N>
where T: Serialize,

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

source§

impl<T, H> Serialize for HashSet<T, H>
where T: Serialize,

source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

impl<T, S> Serialize for IndexSet<T, S>
where T: Serialize + Hash + Eq, S: BuildHasher,

Requires crate feature "serde" or "serde-1"

source§

fn serialize<Se>( &self, serializer: Se, ) -> Result<<Se as Serializer>::Ok, <Se as Serializer>::Error>
where Se: Serializer,

§

impl<T, S> Serialize for IndexSet<T, S>
where T: Serialize,

§

fn serialize<Se>( &self, serializer: Se, ) -> Result<<Se as Serializer>::Ok, <Se as Serializer>::Error>
where Se: Serializer,

§

impl<T, U> Serialize for Cow<'_, T, U>
where T: Beef + Serialize + ?Sized, U: Capacity,

§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

source§

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

source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Implementors§

§

impl Serialize for ArithmeticError

§

impl Serialize for gclient::ext::sp_runtime::DigestItem

§

impl Serialize for gclient::ext::sp_runtime::DispatchError

§

impl Serialize for MultiSignature

§

impl Serialize for MultiSigner

§

impl Serialize for RuntimeString

§

impl Serialize for TokenError

§

impl Serialize for TransactionalError

§

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

§

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

§

impl Serialize for StorageKind

§

impl Serialize for TypeDefPrimitive

§

impl Serialize for MetaForm

§

impl Serialize for PortableForm

§

impl Serialize for InvalidTransaction

§

impl Serialize for TransactionValidityError

§

impl Serialize for UnknownTransaction

§

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

§

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

§

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

§

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

§

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

§

impl Serialize for Timestamp

source§

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

source§

impl Serialize for SystemTime

§

impl Serialize for PortableRegistry

§

impl Serialize for PortableType

§

impl Serialize for gclient::ext::sp_runtime::AccountId32

§

impl Serialize for AnySignature

§

impl Serialize for CryptoTypeId

§

impl Serialize for gclient::ext::sp_runtime::Digest

§

impl Serialize for FixedI64

§

impl Serialize for FixedI128

§

impl Serialize for FixedU64

§

impl Serialize for FixedU128

§

impl Serialize for Justifications

§

impl Serialize for KeyTypeId

§

impl Serialize for gclient::ext::sp_runtime::ModuleError

§

impl Serialize for OpaqueExtrinsic

§

impl Serialize for PerU16

§

impl Serialize for Perbill

§

impl Serialize for Percent

§

impl Serialize for Permill

§

impl Serialize for Perquintill

§

impl Serialize for H256

§

impl Serialize for TestSignature

§

impl Serialize for UintAuthorityId

§

impl Serialize for BlakeTwo256

§

impl Serialize for Keccak256

source§

impl Serialize for CString

source§

impl Serialize for String

source§

impl Serialize for NonZero<i8>

source§

impl Serialize for NonZero<i16>

source§

impl Serialize for NonZero<i32>

source§

impl Serialize for NonZero<i64>

source§

impl Serialize for NonZero<i128>

source§

impl Serialize for NonZero<isize>

source§

impl Serialize for NonZero<u8>

source§

impl Serialize for NonZero<u16>

source§

impl Serialize for NonZero<u32>

source§

impl Serialize for NonZero<u64>

source§

impl Serialize for NonZero<u128>

source§

impl Serialize for NonZero<usize>

source§

impl Serialize for AtomicBool

source§

impl Serialize for AtomicI8

source§

impl Serialize for AtomicI16

source§

impl Serialize for AtomicI32

source§

impl Serialize for AtomicI64

source§

impl Serialize for AtomicIsize

source§

impl Serialize for AtomicU8

source§

impl Serialize for AtomicU16

source§

impl Serialize for AtomicU32

source§

impl Serialize for AtomicU64

source§

impl Serialize for AtomicUsize

§

impl Serialize for PrefixedStorageKey

§

impl Serialize for StorageData

§

impl Serialize for StorageKey

§

impl Serialize for gclient::ext::sp_core::Bytes

§

impl Serialize for H160

§

impl Serialize for H512

§

impl Serialize for OpaquePeerId

§

impl Serialize for U256

§

impl Serialize for U512

source§

impl<'a, T> Serialize for gclient::ext::sp_core::bounded::alloc::borrow::Cow<'a, T>
where T: Serialize + ToOwned + ?Sized,

§

impl<'a, T> Serialize for Symbol<'a, T>
where T: 'a,

§

impl<Address, Signature, Call, Extra> Serialize for UncheckedExtrinsic<Address, Call, Signature, Extra>
where Address: Encode, Signature: Encode, Call: Encode, Extra: SignedExtension,

§

impl<Block> Serialize for SignedBlock<Block>
where Block: Serialize,

§

impl<Call, Extra> Serialize for TestXt<Call, Extra>
where TestXt<Call, Extra>: Encode,

§

impl<Hash> Serialize for gclient::ext::sp_core::storage::StorageChangeSet<Hash>
where Hash: Serialize,

§

impl<Header, Extrinsic> Serialize for gclient::ext::sp_runtime::generic::Block<Header, Extrinsic>
where Header: Serialize, Extrinsic: Serialize,

source§

impl<Idx> Serialize for Range<Idx>
where Idx: Serialize,

source§

impl<Idx> Serialize for RangeFrom<Idx>
where Idx: Serialize,

source§

impl<Idx> Serialize for RangeInclusive<Idx>
where Idx: Serialize,

source§

impl<Idx> Serialize for RangeTo<Idx>
where Idx: Serialize,

source§

impl<K, V> Serialize for BTreeMap<K, V>
where K: Serialize, V: Serialize,

§

impl<K, V, S> Serialize for BoundedBTreeMap<K, V, S>
where K: Serialize, V: Serialize,

§

impl<Number, Hash> Serialize for Header<Number, Hash>
where Number: Copy + Into<U256> + TryFrom<U256>, Hash: Hash, <Hash as Hash>::Output: Serialize,

§

impl<T> Serialize for TypeDef<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

source§

impl<T> Serialize for Bound<T>
where T: Serialize,

source§

impl<T> Serialize for Vec<T>
where T: Serialize,

§

impl<T> Serialize for Compact<T>
where T: Serialize,

§

impl<T> Serialize for Interner<T>
where T: Serialize,

§

impl<T> Serialize for UntrackedSymbol<T>

§

impl<T> Serialize for Field<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

impl<T> Serialize for gclient::ext::sp_runtime::scale_info::Path<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

impl<T> Serialize for Type<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

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

§

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

§

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

§

impl<T> Serialize for TypeDefComposite<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

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

§

impl<T> Serialize for TypeDefTuple<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

impl<T> Serialize for TypeDefVariant<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

impl<T> Serialize for TypeParameter<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

§

impl<T> Serialize for gclient::ext::sp_runtime::scale_info::Variant<T>
where T: Form, <T as Form>::Type: Serialize, <T as Form>::String: Serialize,

source§

impl<T> Serialize for PhantomData<T>
where T: ?Sized,

source§

impl<T> Serialize for BTreeSet<T>
where T: Serialize,

source§

impl<T> Serialize for BinaryHeap<T>
where T: Serialize,

source§

impl<T> Serialize for LinkedList<T>
where T: Serialize,

source§

impl<T> Serialize for VecDeque<T>
where T: Serialize,

source§

impl<T> Serialize for Cell<T>
where T: Serialize + Copy,

source§

impl<T> Serialize for RefCell<T>
where T: Serialize + ?Sized,

source§

impl<T> Serialize for Reverse<T>
where T: Serialize,

source§

impl<T> Serialize for Saturating<T>
where T: Serialize,

source§

impl<T> Serialize for Wrapping<T>
where T: Serialize,

source§

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

source§

impl<T> Serialize for Mutex<T>
where T: Serialize + ?Sized,

source§

impl<T> Serialize for RwLock<T>
where T: Serialize + ?Sized,

§

impl<T, D> Serialize for TypeWithDefault<T, D>
where D: Get<T>, T: Serialize,

source§

impl<T, E> Serialize for Result<T, E>
where T: Serialize, E: Serialize,

§

impl<T, S> Serialize for BoundedBTreeSet<T, S>
where T: Serialize,

§

impl<T, S> Serialize for BoundedVec<T, S>
where T: Serialize,

§

impl<T, S> Serialize for WeakBoundedVec<T, S>
where T: Serialize,

§

impl<Xt> Serialize for gclient::ext::sp_runtime::testing::Block<Xt>
where Xt: Serialize,

§

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

§

impl<const N: usize, SubTag> Serialize for CryptoBytes<N, (PublicTag, SubTag)>
where CryptoBytes<N, (PublicTag, SubTag)>: CryptoType,

§

impl<const N: usize, SubTag> Serialize for CryptoBytes<N, (SignatureTag, SubTag)>
where CryptoBytes<N, (SignatureTag, SubTag)>: CryptoType,