Trait hdk::prelude::Deserialize
source · [−]pub trait Deserialize<'de> {
fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error>
where
D: Deserializer<'de>;
}
Expand description
A data structure that can be deserialized from any data format supported by Serde.
Serde provides Deserialize
implementations for many Rust primitive and
standard library types. The complete list is here. All of these can
be deserialized using Serde out of the box.
Additionally, Serde provides a procedural macro called serde_derive
to
automatically generate Deserialize
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 Deserialize
manually for
some type in your program. See the Implementing
Deserialize
section of the manual for more about this.
Third-party crates may provide Deserialize
implementations for types that
they expose. For example the linked-hash-map
crate provides a
LinkedHashMap<K, V>
type that is deserializable by Serde because the crate
provides an implementation of Deserialize
for it.
Lifetime
The 'de
lifetime of this trait is the lifetime of data that may be
borrowed by Self
when deserialized. See the page Understanding
deserializer lifetimes for a more detailed explanation of these lifetimes.
Required methods
fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer.
See the Implementing Deserialize
section of the
manual for more information about how to implement this method.
Implementations on Foreign Types
sourceimpl<'de> Deserialize<'de> for Box<str, Global>
impl<'de> Deserialize<'de> for Box<str, Global>
fn deserialize<D>(
deserializer: D
) -> Result<Box<str, Global>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for SocketAddr
impl<'de> Deserialize<'de> for SocketAddr
fn deserialize<D>(
deserializer: D
) -> Result<SocketAddr, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for ()
impl<'de> Deserialize<'de> for ()
fn deserialize<D>(
deserializer: D
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 8] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 8] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 8], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 8]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for SocketAddrV6
impl<'de> Deserialize<'de> for SocketAddrV6
fn deserialize<D>(
deserializer: D
) -> Result<SocketAddrV6, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 18] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 18] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 18], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 18]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 20] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 20] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 20], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 20]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3> Deserialize<'de> for (T0, T1, T2, T3) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
impl<'de, T0, T1, T2, T3> Deserialize<'de> for (T0, T1, T2, T3) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 4] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 4] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 4], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 4]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicU16
impl<'de> Deserialize<'de> for AtomicU16
fn deserialize<D>(
deserializer: D
) -> Result<AtomicU16, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 11] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 11] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 11], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 11]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
T11: Deserialize<'de>,
T12: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
T11: Deserialize<'de>,
T12: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for bool
impl<'de> Deserialize<'de> for bool
fn deserialize<D>(
deserializer: D
) -> Result<bool, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroI32
impl<'de> Deserialize<'de> for NonZeroI32
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroI32, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5, T6> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5, T6> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5, T6), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5, T6)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Box<Path, Global>
impl<'de> Deserialize<'de> for Box<Path, Global>
fn deserialize<D>(
deserializer: D
) -> Result<Box<Path, Global>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for PathBuf
impl<'de> Deserialize<'de> for PathBuf
fn deserialize<D>(
deserializer: D
) -> Result<PathBuf, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2> Deserialize<'de> for (T0, T1, T2) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
impl<'de, T0, T1, T2> Deserialize<'de> for (T0, T1, T2) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroU64
impl<'de> Deserialize<'de> for NonZeroU64
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroU64, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicU32
impl<'de> Deserialize<'de> for AtomicU32
fn deserialize<D>(
deserializer: D
) -> Result<AtomicU32, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 31] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 31] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 31], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 31]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicUsize
impl<'de> Deserialize<'de> for AtomicUsize
fn deserialize<D>(
deserializer: D
) -> Result<AtomicUsize, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T, E> Deserialize<'de> for Result<T, E> where
T: Deserialize<'de>,
E: Deserialize<'de>,
impl<'de, T, E> Deserialize<'de> for Result<T, E> where
T: Deserialize<'de>,
E: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Ipv6Addr
impl<'de> Deserialize<'de> for Ipv6Addr
fn deserialize<D>(
deserializer: D
) -> Result<Ipv6Addr, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for CString
impl<'de> Deserialize<'de> for CString
fn deserialize<D>(
deserializer: D
) -> Result<CString, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 7] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 7] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 7], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 7]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for LinkedList<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for LinkedList<T> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<LinkedList<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut LinkedList<T>
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for i128
impl<'de> Deserialize<'de> for i128
fn deserialize<D>(
deserializer: D
) -> Result<i128, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5, T6, T7, T8)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 21] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 21] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 21], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 21]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 22] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 22] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 22], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 22]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for i64
impl<'de> Deserialize<'de> for i64
fn deserialize<D>(
deserializer: D
) -> Result<i64, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, 'a> Deserialize<'de> for &'a [u8] where
'de: 'a,
impl<'de, 'a> Deserialize<'de> for &'a [u8] where
'de: 'a,
fn deserialize<D>(
deserializer: D
) -> Result<&'a [u8], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, 'a> Deserialize<'de> for &'a Path where
'de: 'a,
impl<'de, 'a> Deserialize<'de> for &'a Path where
'de: 'a,
fn deserialize<D>(
deserializer: D
) -> Result<&'a Path, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for RwLock<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for RwLock<T> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<RwLock<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 15] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 15] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 15], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 15]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 6] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 6] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 6], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 6]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for IpAddr
impl<'de> Deserialize<'de> for IpAddr
fn deserialize<D>(
deserializer: D
) -> Result<IpAddr, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 19] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 19] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 19], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 19]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 14] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 14] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 14], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 14]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 3] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 3] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 3], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 3]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5> Deserialize<'de> for (T0, T1, T2, T3, T4, T5) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5> Deserialize<'de> for (T0, T1, T2, T3, T4, T5) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for i16
impl<'de> Deserialize<'de> for i16
fn deserialize<D>(
deserializer: D
) -> Result<i16, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 24] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 24] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 24], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 24]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicU8
impl<'de> Deserialize<'de> for AtomicU8
fn deserialize<D>(
deserializer: D
) -> Result<AtomicU8, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 0]
impl<'de, T> Deserialize<'de> for [T; 0]
fn deserialize<D>(
deserializer: D
) -> Result<[T; 0], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 29] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 29] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 29], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 29]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroU16
impl<'de> Deserialize<'de> for NonZeroU16
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroU16, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for u64
impl<'de> Deserialize<'de> for u64
fn deserialize<D>(
deserializer: D
) -> Result<u64, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for SocketAddrV4
impl<'de> Deserialize<'de> for SocketAddrV4
fn deserialize<D>(
deserializer: D
) -> Result<SocketAddrV4, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for isize
impl<'de> Deserialize<'de> for isize
fn deserialize<D>(
deserializer: D
) -> Result<isize, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for Option<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Option<T> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Option<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicI32
impl<'de> Deserialize<'de> for AtomicI32
fn deserialize<D>(
deserializer: D
) -> Result<AtomicI32, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for Cell<T> where
T: Deserialize<'de> + Copy,
impl<'de, T> Deserialize<'de> for Cell<T> where
T: Deserialize<'de> + Copy,
fn deserialize<D>(
deserializer: D
) -> Result<Cell<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for RefCell<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for RefCell<T> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<RefCell<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 23] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 23] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 23], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 23]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
T11: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
T11: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for f32
impl<'de> Deserialize<'de> for f32
fn deserialize<D>(
deserializer: D
) -> Result<f32, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 16] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 16] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 16], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 16]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for OsString
impl<'de> Deserialize<'de> for OsString
fn deserialize<D>(
deserializer: D
) -> Result<OsString, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Duration
impl<'de> Deserialize<'de> for Duration
fn deserialize<D>(
deserializer: D
) -> Result<Duration, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for u128
impl<'de> Deserialize<'de> for u128
fn deserialize<D>(
deserializer: D
) -> Result<u128, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 27] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 27] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 27], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 27]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, Idx> Deserialize<'de> for RangeInclusive<Idx> where
Idx: Deserialize<'de>,
impl<'de, Idx> Deserialize<'de> for RangeInclusive<Idx> where
Idx: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<RangeInclusive<Idx>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, 'a, T> Deserialize<'de> for Cow<'a, T> where
T: ToOwned + ?Sized,
<T as ToOwned>::Owned: Deserialize<'de>,
impl<'de, 'a, T> Deserialize<'de> for Cow<'a, T> where
T: ToOwned + ?Sized,
<T as ToOwned>::Owned: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Cow<'a, T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for u16
impl<'de> Deserialize<'de> for u16
fn deserialize<D>(
deserializer: D
) -> Result<u16, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for u8
impl<'de> Deserialize<'de> for u8
fn deserialize<D>(
deserializer: D
) -> Result<u8, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for Vec<T, Global> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Vec<T, Global> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Vec<T, Global>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut Vec<T, Global>
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 12] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 12] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 12], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 12]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicI8
impl<'de> Deserialize<'de> for AtomicI8
fn deserialize<D>(
deserializer: D
) -> Result<AtomicI8, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for String
impl<'de> Deserialize<'de> for String
fn deserialize<D>(
deserializer: D
) -> Result<String, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut String
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicU64
impl<'de> Deserialize<'de> for AtomicU64
fn deserialize<D>(
deserializer: D
) -> Result<AtomicU64, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 13] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 13] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 13], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 13]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 1] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 1] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 1], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 1]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 9] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 9] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 9], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 9]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
T11: Deserialize<'de>,
T12: Deserialize<'de>,
T13: Deserialize<'de>,
T14: Deserialize<'de>,
T15: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
T11: Deserialize<'de>,
T12: Deserialize<'de>,
T13: Deserialize<'de>,
T14: Deserialize<'de>,
T15: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for SystemTime
impl<'de> Deserialize<'de> for SystemTime
fn deserialize<D>(
deserializer: D
) -> Result<SystemTime, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicBool
impl<'de> Deserialize<'de> for AtomicBool
fn deserialize<D>(
deserializer: D
) -> Result<AtomicBool, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 30] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 30] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 30], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 30]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, Idx> Deserialize<'de> for Range<Idx> where
Idx: Deserialize<'de>,
impl<'de, Idx> Deserialize<'de> for Range<Idx> where
Idx: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Range<Idx>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for f64
impl<'de> Deserialize<'de> for f64
fn deserialize<D>(
deserializer: D
) -> Result<f64, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 17] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 17] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 17], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 17]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for Box<T, Global> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Box<T, Global> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Box<T, Global>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicI64
impl<'de> Deserialize<'de> for AtomicI64
fn deserialize<D>(
deserializer: D
) -> Result<AtomicI64, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for BinaryHeap<T> where
T: Deserialize<'de> + Ord,
impl<'de, T> Deserialize<'de> for BinaryHeap<T> where
T: Deserialize<'de> + Ord,
fn deserialize<D>(
deserializer: D
) -> Result<BinaryHeap<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut BinaryHeap<T>
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroI16
impl<'de> Deserialize<'de> for NonZeroI16
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroI16, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicI16
impl<'de> Deserialize<'de> for AtomicI16
fn deserialize<D>(
deserializer: D
) -> Result<AtomicI16, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroIsize
impl<'de> Deserialize<'de> for NonZeroIsize
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroIsize, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 32] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 32] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 32], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 32]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for usize
impl<'de> Deserialize<'de> for usize
fn deserialize<D>(
deserializer: D
) -> Result<usize, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1> Deserialize<'de> for (T0, T1) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
impl<'de, T0, T1> Deserialize<'de> for (T0, T1) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for Mutex<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Mutex<T> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Mutex<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for Bound<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Bound<T> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Bound<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0> Deserialize<'de> for (T0,) where
T0: Deserialize<'de>,
impl<'de, T0> Deserialize<'de> for (T0,) where
T0: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0,), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0,)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for u32
impl<'de> Deserialize<'de> for u32
fn deserialize<D>(
deserializer: D
) -> Result<u32, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Box<CStr, Global>
impl<'de> Deserialize<'de> for Box<CStr, Global>
fn deserialize<D>(
deserializer: D
) -> Result<Box<CStr, Global>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 26] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 26] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 26], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 26]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for Reverse<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Reverse<T> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Reverse<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Ipv4Addr
impl<'de> Deserialize<'de> for Ipv4Addr
fn deserialize<D>(
deserializer: D
) -> Result<Ipv4Addr, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 2] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 2] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 2], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 2]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for Box<[T], Global> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Box<[T], Global> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Box<[T], Global>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroU128
impl<'de> Deserialize<'de> for NonZeroU128
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroU128, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for Wrapping<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Wrapping<T> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<Wrapping<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5, T6, T7> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5, T6, T7> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5, T6, T7)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 5] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 5] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 5], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 5]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroUsize
impl<'de> Deserialize<'de> for NonZeroUsize
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroUsize, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AtomicIsize
impl<'de> Deserialize<'de> for AtomicIsize
fn deserialize<D>(
deserializer: D
) -> Result<AtomicIsize, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for i32
impl<'de> Deserialize<'de> for i32
fn deserialize<D>(
deserializer: D
) -> Result<i32, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, 'a> Deserialize<'de> for &'a str where
'de: 'a,
impl<'de, 'a> Deserialize<'de> for &'a str where
'de: 'a,
fn deserialize<D>(
deserializer: D
) -> Result<&'a str, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 28] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 28] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 28], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 28]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroI128
impl<'de> Deserialize<'de> for NonZeroI128
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroI128, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for PhantomData<T> where
T: ?Sized,
impl<'de, T> Deserialize<'de> for PhantomData<T> where
T: ?Sized,
fn deserialize<D>(
deserializer: D
) -> Result<PhantomData<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 10] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 10] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 10], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 10]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroU32
impl<'de> Deserialize<'de> for NonZeroU32
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroU32, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, K, V, S> Deserialize<'de> for HashMap<K, V, S> where
K: Deserialize<'de> + Eq + Hash,
V: Deserialize<'de>,
S: BuildHasher + Default,
impl<'de, K, V, S> Deserialize<'de> for HashMap<K, V, S> where
K: Deserialize<'de> + Eq + Hash,
V: Deserialize<'de>,
S: BuildHasher + Default,
fn deserialize<D>(
deserializer: D
) -> Result<HashMap<K, V, S>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroI64
impl<'de> Deserialize<'de> for NonZeroI64
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroI64, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for [T; 25] where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for [T; 25] where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<[T; 25], <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut [T; 25]
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroU8
impl<'de> Deserialize<'de> for NonZeroU8
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroU8, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NonZeroI8
impl<'de> Deserialize<'de> for NonZeroI8
fn deserialize<D>(
deserializer: D
) -> Result<NonZeroI8, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T> Deserialize<'de> for VecDeque<T, Global> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for VecDeque<T, Global> where
T: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<VecDeque<T, Global>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut VecDeque<T, Global>
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
T11: Deserialize<'de>,
T12: Deserialize<'de>,
T13: Deserialize<'de>,
T14: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
T11: Deserialize<'de>,
T12: Deserialize<'de>,
T13: Deserialize<'de>,
T14: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, K, V> Deserialize<'de> for BTreeMap<K, V> where
K: Deserialize<'de> + Ord,
V: Deserialize<'de>,
impl<'de, K, V> Deserialize<'de> for BTreeMap<K, V> where
K: Deserialize<'de> + Ord,
V: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<BTreeMap<K, V>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for char
impl<'de> Deserialize<'de> for char
fn deserialize<D>(
deserializer: D
) -> Result<char, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for i8
impl<'de> Deserialize<'de> for i8
fn deserialize<D>(
deserializer: D
) -> Result<i8, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4> Deserialize<'de> for (T0, T1, T2, T3, T4) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4> Deserialize<'de> for (T0, T1, T2, T3, T4) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
T11: Deserialize<'de>,
T12: Deserialize<'de>,
T13: Deserialize<'de>,
impl<'de, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> Deserialize<'de> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) where
T0: Deserialize<'de>,
T1: Deserialize<'de>,
T2: Deserialize<'de>,
T3: Deserialize<'de>,
T4: Deserialize<'de>,
T5: Deserialize<'de>,
T6: Deserialize<'de>,
T7: Deserialize<'de>,
T8: Deserialize<'de>,
T9: Deserialize<'de>,
T10: Deserialize<'de>,
T11: Deserialize<'de>,
T12: Deserialize<'de>,
T13: Deserialize<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize_in_place<D>(
deserializer: D,
place: &mut (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
) -> Result<(), <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Number
impl<'de> Deserialize<'de> for Number
fn deserialize<D>(
deserializer: D
) -> Result<Number, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Map<String, Value>
impl<'de> Deserialize<'de> for Map<String, Value>
fn deserialize<D>(
deserializer: D
) -> Result<Map<String, Value>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Value
impl<'de> Deserialize<'de> for Value
fn deserialize<D>(
deserializer: D
) -> Result<Value, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for Raw
impl<'de> Deserialize<'de> for Raw
fn deserialize<D>(de: D) -> Result<Raw, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl<'de> Deserialize<'de> for RawRef<'de>
impl<'de> Deserialize<'de> for RawRef<'de>
fn deserialize<D>(de: D) -> Result<RawRef<'de>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for DhtOp
impl<'de> Deserialize<'de> for DhtOp
fn deserialize<D>(
deserializer: D
) -> Result<DhtOp, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Dna
impl<'de> Deserialize<'de> for Dna
fn deserialize<D>(
deserializer: D
) -> Result<Dna, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NetId
impl<'de> Deserialize<'de> for NetId
fn deserialize<D>(
deserializer: D
) -> Result<NetId, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for AnyDht
impl<'de> Deserialize<'de> for AnyDht
fn deserialize<__D>(
__deserializer: __D
) -> Result<AnyDht, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Agent
impl<'de> Deserialize<'de> for Agent
fn deserialize<D>(
deserializer: D
) -> Result<Agent, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
fn deserialize<D>(
deserializer: D
) -> Result<Entry, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Wasm
impl<'de> Deserialize<'de> for Wasm
fn deserialize<D>(
deserializer: D
) -> Result<Wasm, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Header
impl<'de> Deserialize<'de> for Header
fn deserialize<D>(
deserializer: D
) -> Result<Header, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl<'de, T> Deserialize<'de> for ArcInterval<T> where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ArcInterval<T> where
T: Deserialize<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ArcInterval<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<'de> Deserialize<'de> for DhtLocation
impl<'de> Deserialize<'de> for DhtLocation
fn deserialize<__D>(
__deserializer: __D
) -> Result<DhtLocation, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<'de> Deserialize<'de> for DhtArc
impl<'de> Deserialize<'de> for DhtArc
fn deserialize<__D>(
__deserializer: __D
) -> Result<DhtArc, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NaiveDateTime
impl<'de> Deserialize<'de> for NaiveDateTime
fn deserialize<D>(
deserializer: D
) -> Result<NaiveDateTime, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for Month
impl<'de> Deserialize<'de> for Month
fn deserialize<D>(
deserializer: D
) -> Result<Month, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for DateTime<Utc>
impl<'de> Deserialize<'de> for DateTime<Utc>
Deserialize into a UTC value
The value to be deserialized must be an rfc3339 string.
See the serde
module for alternate
deserialization formats.
fn deserialize<D>(
deserializer: D
) -> Result<DateTime<Utc>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NaiveDate
impl<'de> Deserialize<'de> for NaiveDate
fn deserialize<D>(
deserializer: D
) -> Result<NaiveDate, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for DateTime<FixedOffset>
impl<'de> Deserialize<'de> for DateTime<FixedOffset>
Deserialize a value that optionally includes a timezone offset in its string representation
The value to be deserialized must be an rfc3339 string.
See the serde
module for alternate
deserialization formats.
fn deserialize<D>(
deserializer: D
) -> Result<DateTime<FixedOffset>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for NaiveTime
impl<'de> Deserialize<'de> for NaiveTime
fn deserialize<D>(
deserializer: D
) -> Result<NaiveTime, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
sourceimpl<'de> Deserialize<'de> for DateTime<Local>
impl<'de> Deserialize<'de> for DateTime<Local>
Deserialize a value that includes no timezone in its string representation
The value to be deserialized must be an rfc3339 string.
See the serde
module for alternate
serialization formats.