pub trait Serialize {
    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()
    }
}

Implementations on Foreign Types§

source§

impl Serialize for Agent

source§

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

source§

impl Serialize for NetId

source§

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

source§

impl Serialize for AnyDht

source§

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

source§

impl Serialize for Dna

source§

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

source§

impl Serialize for Entry

source§

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

source§

impl Serialize for External

source§

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

source§

impl Serialize for Action

source§

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

source§

impl Serialize for AnyLinkable

source§

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

source§

impl<T> Serialize for HoloHashB64<T>where
    T: HashType,

source§

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

source§

impl Serialize for DhtOp

source§

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

source§

impl Serialize for Wasm

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 NonZeroI16

source§

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

source§

impl Serialize for AtomicBool

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 Serialize for AtomicU8

source§

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

source§

impl Serialize for NonZeroI32

source§

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

source§

impl Serialize for NonZeroI8

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 AtomicU64

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 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 SocketAddrV4

source§

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

source§

impl Serialize for NonZeroU8

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, 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<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 Serialize for AtomicU32

source§

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

source§

impl Serialize for NonZeroU32

source§

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

source§

impl<T> Serialize for BinaryHeap<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 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 OsStr

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<T> Serialize for RwLock<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 Serialize for Duration

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<T> Serialize for Weak<T>where
    T: Serialize + ?Sized,

This impl requires the "rc" Cargo feature of Serde.

source§

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

source§

impl<T> Serialize for Wrapping<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 Cell<T>where
    T: Serialize + Copy,

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<'a> Serialize for Arguments<'a>

source§

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

source§

impl Serialize for NonZeroU64

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<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; 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 Serialize for AtomicI32

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 Serialize for String

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 u32

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<'a, T> Serialize for Cow<'a, T>where
    T: Serialize + ToOwned + ?Sized,

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; 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<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 [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 Serialize for u16

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<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> 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<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 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 AtomicI64

source§

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

source§

impl<T> Serialize for Bound<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; 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 Serialize for SystemTime

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<T> Serialize for VecDeque<T, Global>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 Arc<T>where
    T: Serialize + ?Sized,

This impl requires the "rc" Cargo feature of Serde.

Serializing a data structure containing Arc will serialize a copy of the contents of the Arc each time the Arc is referenced within the data structure. Serialization will not attempt to deduplicate these repeated data.

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<'a, T> Serialize for &'a Twhere
    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 Twhere
    T: Serialize + ?Sized,

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<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<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<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<K, V> Serialize for BTreeMap<K, V, Global>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<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<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 Serialize for i16

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 Serialize for AtomicU16

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 Serialize for NonZeroI64

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 Box<T, Global>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 Serialize for NonZeroU128

source§

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

source§

impl Serialize for NonZeroU16

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 AtomicI8

source§

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

source§

impl<T0> Serialize for (T0,)where
    T0: 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 Serialize for NonZeroUsize

source§

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

source§

impl<T> Serialize for LinkedList<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 Serialize for f32

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; 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 Serialize for AtomicUsize

source§

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

source§

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

This impl requires the "rc" Cargo feature of Serde.

source§

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

source§

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

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<T> Serialize for PhantomData<T>where
    T: ?Sized,

source§

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

source§

impl<Idx> Serialize for Range<Idx>where
    Idx: 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 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 i32

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 RefCell<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 Serialize for Ipv4Addr

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; 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 Serialize for AtomicI16

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]where
    T: Serialize,

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<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 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 CString

source§

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

source§

impl Serialize for AtomicIsize

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<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 Serialize for NonZeroIsize

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<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; 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 Serialize for ()

source§

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

source§

impl<T> Serialize for Mutex<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<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 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 NonZeroI128

source§

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

source§

impl<T> Serialize for Reverse<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; 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; 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; 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, E> Serialize for Result<T, E>where
    T: Serialize,
    E: Serialize,

source§

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<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<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<T> Serialize for Rc<T>where
    T: Serialize + ?Sized,

This impl requires the "rc" Cargo feature of Serde.

Serializing a data structure containing Rc will serialize a copy of the contents of the Rc each time the Rc is referenced within the data structure. Serialization will not attempt to deduplicate these repeated data.

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 Serialize for u8

source§

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

source§

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

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

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 Serialize for Raw

§

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

§

impl<'a> Serialize for RawRef<'a>

§

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

source§

impl<'de, D> Serialize for Transcoder<D>where
    D: Deserializer<'de>,

source§

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

§

impl Serialize for DhtLocation

§

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

§

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

§

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

§

impl Serialize for DhtArc

§

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

source§

impl Serialize for Weekday

source§

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

source§

impl Serialize for Month

source§

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

source§

impl Serialize for NaiveTime

source§

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

source§

impl Serialize for NaiveDate

source§

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

source§

impl Serialize for NaiveDateTime

Serialize a NaiveDateTime as an RFC 3339 string

See the serde module for alternate serialization formats.

source§

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

source§

impl<Tz> Serialize for DateTime<Tz>where
    Tz: TimeZone,

Serialize into a rfc3339 time string

See the serde module for alternate serializations.

source§

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

§

impl Serialize for TrapInformation

§

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

§

impl Serialize for CustomSectionProtection

§

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

§

impl Serialize for SectionBody

§

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

§

impl Serialize for FunctionBody

§

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

§

impl Serialize for CompiledFunction

§

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

§

impl Serialize for CompiledFunctionUnwindInfo

§

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

§

impl Serialize for RelocationKind

§

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

§

impl Serialize for RelocationTarget

§

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

§

impl Serialize for Compilation

§

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

§

impl Serialize for CustomSection

§

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

§

impl Serialize for CompileModuleInfo

§

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

§

impl Serialize for Relocation

§

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

§

impl Serialize for Dwarf

§

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

§

impl Serialize for CompiledFunctionFrameInfo

§

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

§

impl Serialize for FunctionAddressMap

§

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

§

impl Serialize for SectionIndex

§

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

§

impl Serialize for SourceLoc

§

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 LibCall

§

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

§

impl Serialize for LocalMemoryIndex

§

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

§

impl Serialize for V128

§

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<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 Serialize for LocalFunctionIndex

§

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

§

impl Serialize for LocalGlobalIndex

§

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

§

impl Serialize for Mutability

§

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 SignatureIndex

§

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

§

impl Serialize for ExternType

§

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 FunctionType

§

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

§

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

§

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

§

impl Serialize for Pages

§

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

§

impl Serialize for ImportIndex

§

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

§

impl Serialize for DataInitializerLocation

§

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

§

impl<'data> Serialize for DataInitializer<'data>

§

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

§

impl Serialize for GlobalType

§

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

§

impl Serialize for LocalTableIndex

§

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 ModuleInfo

§

fn serialize<__S>(
    &self,
    __serializer: __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 MemoryIndex

§

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

§

impl Serialize for TableType

§

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

§

impl Serialize for TrapCode

§

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

§

impl Serialize for CustomSectionIndex

§

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 Serialize for MemoryStyle

§

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

§

impl Serialize for Features

§

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

§

impl Serialize for Type

§

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 ExportIndex

§

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 MemoryType

§

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

§

impl Serialize for FunctionIndex

§

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

§

impl Serialize for OwnedDataInitializer

§

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<V> + Serialize,

§

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<T> Serialize for ExportType<T>where
    T: Serialize,

§

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

Implementors§

§

impl Serialize for hdk::prelude::dependencies::holochain_integrity_types::Action

§

impl Serialize for ActionBase

§

impl Serialize for ActionType

§

impl Serialize for CapAccess

§

impl Serialize for CapGrant

§

impl Serialize for hdk::prelude::dependencies::holochain_integrity_types::Entry

§

impl Serialize for EntryCreationAction

§

impl Serialize for EntryDefId

§

impl Serialize for EntryDefsCallbackResult

§

impl Serialize for EntryType

§

impl Serialize for EntryVisibility

§

impl Serialize for GrantedFunctions

§

impl Serialize for HashInput

§

impl Serialize for HashOutput

§

impl Serialize for LinkTypeFilter

§

impl Serialize for Op

§

impl Serialize for PreflightRequestAcceptance

source§

impl Serialize for ActivityRequest

source§

impl Serialize for CallTarget

source§

impl Serialize for CallTargetCell

source§

impl Serialize for ChainQueryFilterRange

source§

impl Serialize for ChainStatus

source§

impl Serialize for ChainTopOrdering

source§

impl Serialize for Details

source§

impl Serialize for EntryDefLocation

source§

impl Serialize for EntryDhtStatus

source§

impl Serialize for GetStrategy

§

impl Serialize for HumanTimestamp

source§

impl Serialize for InitCallbackResult

§

impl Serialize for Level

source§

impl Serialize for MigrateAgent

source§

impl Serialize for MigrateAgentCallbackResult

§

impl Serialize for RecordEntry

§

impl Serialize for RequiredValidationType

source§

impl Serialize for Schedule

§

impl Serialize for UnresolvedDependencies

§

impl Serialize for ValidateCallbackResult

source§

impl Serialize for ValidationStatus

§

impl Serialize for WasmErrorInner

§

impl Serialize for WeighInput

source§

impl Serialize for ZomeCallAuthorization

source§

impl Serialize for ZomeCallResponse

source§

impl Serialize for ZomeDef

source§

impl Serialize for ZomeApiVersion

§

impl Serialize for SerializedBytesError

source§

impl Serialize for Anchor

source§

impl Serialize for Component

source§

impl Serialize for hdk::hash_path::path::Path

source§

impl Serialize for TypedPath

§

impl Serialize for AgentValidationPkg

§

impl Serialize for AppEntryBytes

§

impl Serialize for AppEntryDef

§

impl Serialize for AppEntryName

§

impl Serialize for CapClaim

§

impl Serialize for CapSecret

§

impl Serialize for CloseChain

§

impl Serialize for CounterSigningAgentState

§

impl Serialize for CounterSigningSessionData

§

impl Serialize for CounterSigningSessionTimes

§

impl Serialize for CreateBase

§

impl Serialize for DeleteAction

§

impl Serialize for hdk::prelude::dependencies::holochain_integrity_types::Dna

§

impl Serialize for DnaInfo

§

impl Serialize for EntryDef

§

impl Serialize for EntryDefIndex

§

impl Serialize for EntryDefs

§

impl Serialize for ExternIO

§

impl Serialize for GenesisSelfCheckData

§

impl Serialize for Hash256Bits

§

impl Serialize for Hash512Bits

§

impl Serialize for InitZomesComplete

§

impl Serialize for LinkTag

§

impl Serialize for LinkType

§

impl Serialize for MustGetActionInput

§

impl Serialize for MustGetAgentActivityInput

§

impl Serialize for MustGetEntryInput

§

impl Serialize for MustGetValidRecordInput

§

impl Serialize for OpenChain

§

impl Serialize for PreflightBytes

§

impl Serialize for PreflightRequest

§

impl Serialize for PreflightResponse

§

impl Serialize for RegisterAgentActivity

§

impl Serialize for RegisterDelete

§

impl Serialize for RegisterUpdate

§

impl Serialize for RequiredValidations

§

impl Serialize for Role

§

impl Serialize for ScopedZomeTypesSet

§

impl Serialize for StoreEntry

§

impl Serialize for StoreRecord

§

impl Serialize for UpdateAction

§

impl Serialize for UpdateBase

§

impl Serialize for ZomeCallCapGrant

§

impl Serialize for ZomeDependencyIndex

§

impl Serialize for ZomeIndex

§

impl Serialize for ZomeInfo

source§

impl Serialize for ByteBuf

source§

impl Serialize for hdk::prelude::serde_bytes::Bytes

source§

impl Serialize for AgentActivity

source§

impl Serialize for AgentInfo

source§

impl Serialize for AppEntryDefLocation

source§

impl Serialize for AppSignal

source§

impl Serialize for Call

source§

impl Serialize for CallInfo

source§

impl Serialize for CellId

source§

impl Serialize for ChainFork

source§

impl Serialize for ChainHead

source§

impl Serialize for ChainQueryFilter

source§

impl Serialize for CloneId

source§

impl Serialize for CoordinatorZomeDef

source§

impl Serialize for CrdtType

source§

impl Serialize for CreateInput

source§

impl Serialize for CreateLinkInput

source§

impl Serialize for CurryPayloads

source§

impl Serialize for DeleteInput

source§

impl Serialize for DeleteLinkInput

source§

impl Serialize for DeterministicGetAgentActivityFilter

source§

impl Serialize for DnaDef

source§

impl Serialize for DnaModifiers

source§

impl Serialize for EntryDetails

source§

impl Serialize for EntryHashes

§

impl Serialize for EntryRateWeight

§

impl Serialize for EphemeralSignatures

§

impl Serialize for FunctionName

source§

impl Serialize for GetAgentActivityInput

source§

impl Serialize for GetInput

source§

impl Serialize for GetLinksInput

source§

impl Serialize for GetOptions

source§

impl Serialize for GrantZomeCallCapabilityPayload

source§

impl Serialize for HighestObserved

source§

impl Serialize for IntegrityZomeDef

source§

impl Serialize for LinkDetails

source§

impl Serialize for MetadataRequest

source§

impl Serialize for Nonce256Bits

§

impl Serialize for RateWeight

source§

impl Serialize for RecordDetails

source§

impl Serialize for RemoteSignal

source§

impl Serialize for Sign

source§

impl Serialize for SignEphemeral

§

impl Serialize for Signature

source§

impl Serialize for SignedAction

§

impl Serialize for Timestamp

§

impl Serialize for TraceMsg

source§

impl Serialize for UpdateInput

§

impl Serialize for VerifySignature

source§

impl Serialize for Warrant

§

impl Serialize for WasmError

source§

impl Serialize for WasmZome

§

impl Serialize for X25519PubKey

§

impl Serialize for X25519XSalsa20Poly1305Decrypt

source§

impl Serialize for X25519XSalsa20Poly1305Encrypt

§

impl Serialize for XSalsa20Poly1305Data

§

impl Serialize for XSalsa20Poly1305Decrypt

source§

impl Serialize for XSalsa20Poly1305Encrypt

§

impl Serialize for XSalsa20Poly1305EncryptedData

§

impl Serialize for XSalsa20Poly1305KeyRef

source§

impl Serialize for XSalsa20Poly1305SharedSecretExport

source§

impl Serialize for XSalsa20Poly1305SharedSecretIngest

source§

impl Serialize for ZomeCallUnsigned

§

impl Serialize for ZomeName

§

impl Serialize for XSalsa20Poly1305Nonce

§

impl Serialize for SerializedBytes

§

impl<A> Serialize for Record<A>where
    A: Serialize,

source§

impl<C> Serialize for HoloHashed<C>where
    C: HashableContent + Serialize,

§

impl<H> Serialize for ChainFilters<H>where
    H: Eq + Ord + Hash + Serialize,

§

impl<H> Serialize for ChainFilter<H>where
    H: Eq + Ord + Hash + Serialize,

source§

impl<P> Serialize for DnaModifiersOpt<P>where
    P: Serialize,

§

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

§

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

§

impl<T> Serialize for ZomeTypesKey<T>where
    T: U8Index + Copy + Serialize,

source§

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

source§

impl<T> Serialize for HoloHash<T>where
    T: HashType,

source§

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

§

impl<T> Serialize for SignedHashed<T>where
    T: HashableContent + Serialize,

source§

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

source§

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

§

impl<W> Serialize for Create<W>where
    W: Serialize,

§

impl<W> Serialize for CreateLink<W>where
    W: Serialize,

§

impl<W> Serialize for Delete<W>where
    W: Serialize,

§

impl<W> Serialize for Update<W>where
    W: Serialize,