hax_frontend_exporter::prelude

Trait 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()
    }
}

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

source§

impl Serialize for Glob

source§

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

source§

impl Serialize for NamespaceChunk

source§

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

source§

impl Serialize for InstanceType

source§

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

source§

impl Serialize for Schema

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

source§

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

source§

impl Serialize for ArrayValidation

source§

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

source§

impl Serialize for Metadata

source§

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

source§

impl Serialize for NumberValidation

source§

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

source§

impl Serialize for ObjectValidation

source§

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

source§

impl Serialize for RootSchema

source§

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

source§

impl Serialize for SchemaObject

source§

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

source§

impl Serialize for StringValidation

source§

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

source§

impl Serialize for SubschemaValidation

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 CString

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 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 NonZero<i8>

source§

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

source§

impl Serialize for NonZero<i16>

source§

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

source§

impl Serialize for NonZero<i32>

source§

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

source§

impl Serialize for NonZero<i64>

source§

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

source§

impl Serialize for NonZero<i128>

source§

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

source§

impl Serialize for NonZero<isize>

source§

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

source§

impl Serialize for NonZero<u8>

source§

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

source§

impl Serialize for NonZero<u16>

source§

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

source§

impl Serialize for NonZero<u32>

source§

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

source§

impl Serialize for NonZero<u64>

source§

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

source§

impl Serialize for NonZero<u128>

source§

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

source§

impl Serialize for NonZero<usize>

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

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

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

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

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

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

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<Idx> Serialize for RangeFrom<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<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<Idx> Serialize for RangeTo<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<K, V> Serialize for BTreeMap<K, V>
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> 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 SingleOrVec<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 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 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,

source§

impl<T> Serialize for Box<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 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<T> Serialize for BTreeSet<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 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<T> Serialize for VecDeque<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 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 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<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 Vec<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<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<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 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<T> Serialize for Saturating<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 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 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 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<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<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,

Implementors§

source§

impl Serialize for ConstantExprKind

source§

impl Serialize for ConstantInt

source§

impl Serialize for ConstantLiteral

source§

impl Serialize for hax_frontend_exporter::id_table::Value

source§

impl Serialize for Foo

source§

impl Serialize for ImplExprAtom

source§

impl Serialize for ImplExprPathChunk

source§

impl Serialize for DefPathItem

source§

impl Serialize for Abi

source§

impl Serialize for AssocItemKind

source§

impl Serialize for AttrArgs

source§

impl Serialize for AttrArgsEq

source§

impl Serialize for AttrKind

source§

impl Serialize for AttrStyle

source§

impl Serialize for ByRef

source§

impl Serialize for CommentKind

source§

impl Serialize for Constness

source§

impl Serialize for CtorKind

source§

impl Serialize for CtorOf

source§

impl Serialize for DefKind

source§

impl Serialize for Defaultness

source§

impl Serialize for DelimSpan

source§

impl Serialize for Delimiter

source§

impl Serialize for FnRetTy

source§

impl Serialize for HirGenericArgs

source§

impl Serialize for ImplPolarity

source§

impl Serialize for ImplicitSelfKind

source§

impl Serialize for InlineAsm

source§

impl Serialize for InlineAttr

source§

impl Serialize for IsAsync

source§

impl Serialize for IsAuto

source§

impl Serialize for LifetimeParamKind

source§

impl Serialize for LitFloatType

source§

impl Serialize for LitKind

source§

impl Serialize for MissingLifetimeKind

source§

impl Serialize for Movability

source§

impl Serialize for NonMacroAttrKind

source§

impl Serialize for OpaqueTyOrigin

source§

impl Serialize for OwnerId

source§

impl Serialize for ParamName

source§

impl Serialize for PrimTy

source§

impl Serialize for QPath

source§

impl Serialize for RangeEnd

source§

impl Serialize for Res

source§

impl Serialize for Safety

source§

impl Serialize for StrStyle

source§

impl Serialize for UseKind

source§

impl Serialize for VariantData

source§

impl Serialize for WhereEqPredicate

source§

impl Serialize for WhereRegionPredicate

source§

impl Serialize for AggregateKind

source§

impl Serialize for AnalysisPhase

source§

impl Serialize for AssertMessage

source§

impl Serialize for BasicBlock

source§

impl Serialize for BinOp

source§

impl Serialize for BorrowKind

source§

impl Serialize for CallSource

source§

impl Serialize for CastKind

source§

impl Serialize for CoercionSource

source§

impl Serialize for ConstAllocation

source§

impl Serialize for CoroutineInfo

source§

impl Serialize for CoverageKind

source§

impl Serialize for FakeBorrowKind

source§

impl Serialize for FakeReadCause

source§

impl Serialize for FieldIdx

source§

impl Serialize for FunOperand

source§

impl Serialize for InlineAsmOperand

source§

impl Serialize for InlineAsmOptions

source§

impl Serialize for InlineAsmTemplatePiece

source§

impl Serialize for InstanceKind

source§

impl Serialize for IntUintTy

source§

impl Serialize for Local

source§

impl Serialize for LocalInfo

source§

impl Serialize for MirPhase

source§

impl Serialize for MirSource

source§

impl Serialize for MutBorrowKind

source§

impl Serialize for NonDivergingIntrinsic

source§

impl Serialize for NullOp

source§

impl Serialize for Operand

source§

impl Serialize for PlaceKind

source§

impl Serialize for ProjectionElem

source§

impl Serialize for ProjectionElemFieldKind

source§

impl Serialize for RetagKind

source§

impl Serialize for RuntimePhase

source§

impl Serialize for Rvalue

source§

impl Serialize for ScopeData

source§

impl Serialize for SourceScope

source§

impl Serialize for StatementKind

source§

impl Serialize for SwitchTargets

source§

impl Serialize for TerminatorKind

source§

impl Serialize for UnOp

source§

impl Serialize for UnwindAction

source§

impl Serialize for UnwindTerminateReason

source§

impl Serialize for UserTypeAnnotationIndex

source§

impl Serialize for UserTypeProjection

source§

impl Serialize for UserTypeProjections

source§

impl Serialize for VarDebugInfo

source§

impl Serialize for VariantKind

source§

impl Serialize for AstPass

source§

impl Serialize for DesugaringKind

source§

impl Serialize for Edition

source§

impl Serialize for ErrorGuaranteed

source§

impl Serialize for ExpnKind

source§

impl Serialize for FileName

source§

impl Serialize for MacroKind

source§

impl Serialize for RealFileName

source§

impl Serialize for BlockSafety

source§

impl Serialize for ExprKind

source§

impl Serialize for LintLevel

source§

impl Serialize for LogicalOp

source§

impl Serialize for PatKind

source§

impl Serialize for PatRangeBoundary

source§

impl Serialize for StmtKind

source§

impl Serialize for AdtFlags

source§

impl Serialize for AdtKind

source§

impl Serialize for AliasKind

source§

impl Serialize for AliasRelationDirection

source§

impl Serialize for Align

source§

impl Serialize for AssocItemContainer

source§

impl Serialize for AssocKind

source§

impl Serialize for BoundRegionKind

source§

impl Serialize for BoundTyKind

source§

impl Serialize for BoundVariableKind

source§

impl Serialize for CanonicalTyVarKind

source§

impl Serialize for CanonicalVarInfo

source§

impl Serialize for ClauseKind

source§

impl Serialize for ClosureKind

source§

impl Serialize for DiscriminantDefinition

source§

impl Serialize for DynKind

source§

impl Serialize for ExistentialPredicate

source§

impl Serialize for FloatTy

source§

impl Serialize for GenericArg

source§

impl Serialize for GenericParamDefKind

source§

impl Serialize for ImplTraitInTraitData

source§

impl Serialize for InferTy

source§

impl Serialize for IntTy

source§

impl Serialize for IntegerType

source§

impl Serialize for LitIntType

source§

impl Serialize for NormalizesTo

source§

impl Serialize for PointerCoercion

source§

impl Serialize for PredicateKind

source§

impl Serialize for RegionKind

source§

impl Serialize for ReprFlags

source§

impl Serialize for hax_frontend_exporter::types::ty::ScalarInt

source§

impl Serialize for Term

source§

impl Serialize for TyKind

source§

impl Serialize for UintTy

source§

impl Serialize for UserType

source§

impl Serialize for Variance

source§

impl Serialize for ConstantFieldExpr

source§

impl Serialize for Pair

source§

impl Serialize for Id

source§

impl Serialize for Table

source§

impl Serialize for PathBuf

source§

impl Serialize for ImplExpr

source§

impl Serialize for DefId

source§

impl Serialize for DefIdContents

source§

impl Serialize for DisambiguatedDefPathItem

source§

impl Serialize for AttrItem

source§

impl Serialize for Attribute

source§

impl Serialize for BindingMode

source§

impl Serialize for DelimArgs

source§

impl Serialize for FnDecl

source§

impl Serialize for FnHeader

source§

impl Serialize for FnSig

source§

impl Serialize for HirFieldDef

source§

impl Serialize for HirId

source§

impl Serialize for MacroDef

source§

impl Serialize for MacroInvokation

source§

impl Serialize for MetaItemLit

source§

impl Serialize for NormalAttr

source§

impl Serialize for PathSegment

source§

impl Serialize for UsePath

source§

impl Serialize for Built

source§

impl Serialize for CTFE

source§

impl Serialize for Elaborated

source§

impl Serialize for Optimized

source§

impl Serialize for Promoted

source§

impl Serialize for BasicBlockData

source§

impl Serialize for Constant

source§

impl Serialize for CopyNonOverlapping

source§

impl Serialize for Instance

source§

impl Serialize for LocalDecl

source§

impl Serialize for Place

source§

impl Serialize for hax_frontend_exporter::types::mir::ScalarInt

source§

impl Serialize for Scope

source§

impl Serialize for SourceInfo

source§

impl Serialize for SourceScopeData

source§

impl Serialize for SourceScopeLocalData

source§

impl Serialize for Statement

source§

impl Serialize for Terminator

source§

impl Serialize for ImplInfos

source§

impl Serialize for ItemAttributes

source§

impl Serialize for PredicateId

source§

impl Serialize for TypedConstantKind

source§

impl Serialize for VariantInformations

source§

impl Serialize for ExpnData

source§

impl Serialize for Loc

source§

impl Serialize for Span

source§

impl Serialize for AdtExpr

source§

impl Serialize for Arm

source§

impl Serialize for Ascription

source§

impl Serialize for Block

source§

impl Serialize for FieldExpr

source§

impl Serialize for FieldPat

source§

impl Serialize for FruInfo

source§

impl Serialize for LocalIdent

source§

impl Serialize for Param

source§

impl Serialize for PatRange

source§

impl Serialize for Stmt

source§

impl Serialize for AdtDef

source§

impl Serialize for Alias

source§

impl Serialize for AssocItem

source§

impl Serialize for BoundRegion

source§

impl Serialize for BoundTy

source§

impl Serialize for CanonicalUserTypeAnnotation

source§

impl Serialize for Clause

source§

impl Serialize for ClosureArgs

source§

impl Serialize for CoercePredicate

source§

impl Serialize for DiscriminantValue

source§

impl Serialize for EarlyParamRegion

source§

impl Serialize for ExistentialProjection

source§

impl Serialize for ExistentialTraitRef

source§

impl Serialize for FieldDef

source§

impl Serialize for GenericParamDef

source§

impl Serialize for GenericPredicates

source§

impl Serialize for LateParamRegion

source§

impl Serialize for ParamConst

source§

impl Serialize for ParamTy

source§

impl Serialize for Predicate

source§

impl Serialize for ProjectionPredicate

source§

impl Serialize for Region

source§

impl Serialize for ReprOptions

source§

impl Serialize for SubtypePredicate

source§

impl Serialize for TraitPredicate

source§

impl Serialize for TraitRef

source§

impl Serialize for Ty

source§

impl Serialize for TyFnSig

source§

impl Serialize for TyGenerics

source§

impl Serialize for TypeAndMut

source§

impl Serialize for UserArgs

source§

impl Serialize for UserSelfTy

source§

impl Serialize for VariantDef

source§

impl<Body> Serialize for ConstArgKind<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for ForeignItemKind<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for GenericParamKind<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for ImplItemKind<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for ItemKind<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for TraitItemKind<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for FullDefKind<Body>
where Body: Serialize,

source§

impl<Body> Serialize for ImplAssocItemValue<Body>
where Body: Serialize,

source§

impl<Body> Serialize for AnonConst<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for ConstArg<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for FnDef<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for ForeignItem<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for GenericParam<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for Generics<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for Impl<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for ImplItem<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for Item<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for OpaqueTy<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for TraitItem<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for Variant<Body>
where Body: Serialize + IsBody,

source§

impl<Body> Serialize for FullDef<Body>
where Body: Serialize,

source§

impl<Body> Serialize for ImplAssocItem<Body>
where Body: Serialize,

source§

impl<I: 'static, T> Serialize for IndexVec<I, T>
where T: Serialize + 'static,

source§

impl<Id> Serialize for Visibility<Id>
where Id: Serialize,

source§

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

source§

impl<KIND> Serialize for MirBody<KIND>

source§

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

source§

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

source§

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

source§

impl<T> Serialize for Node<T>
where T: Serialize + 'static + SupportedType<Value>,

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§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<T: Serialize> Serialize for WithTable<T>