snarkvm_console::prelude::de

Trait Deserialize

Source
pub trait Deserialize<'de>: Sized {
    // Required method
    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§

Source

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.

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<'de> Deserialize<'de> for IpAddr

Source§

fn deserialize<D>( deserializer: D, ) -> Result<IpAddr, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for SocketAddr

Source§

fn deserialize<D>( deserializer: D, ) -> Result<SocketAddr, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Value

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Value, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for LiteralType

Source§

fn deserialize<D>( deserializer: D, ) -> Result<LiteralType, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the literal type from a string or bytes.

Source§

impl<'de> Deserialize<'de> for bool

Source§

fn deserialize<D>( deserializer: D, ) -> Result<bool, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for char

Source§

fn deserialize<D>( deserializer: D, ) -> Result<char, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for f32

Source§

fn deserialize<D>( deserializer: D, ) -> Result<f32, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for f64

Source§

fn deserialize<D>( deserializer: D, ) -> Result<f64, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for i8

Source§

fn deserialize<D>( deserializer: D, ) -> Result<i8, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for i16

Source§

fn deserialize<D>( deserializer: D, ) -> Result<i16, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for i32

Source§

fn deserialize<D>( deserializer: D, ) -> Result<i32, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for i64

Source§

fn deserialize<D>( deserializer: D, ) -> Result<i64, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for i128

Source§

fn deserialize<D>( deserializer: D, ) -> Result<i128, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for isize

Source§

fn deserialize<D>( deserializer: D, ) -> Result<isize, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for u8

Source§

fn deserialize<D>( deserializer: D, ) -> Result<u8, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for u16

Source§

fn deserialize<D>( deserializer: D, ) -> Result<u16, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for u32

Source§

fn deserialize<D>( deserializer: D, ) -> Result<u32, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for u64

Source§

fn deserialize<D>( deserializer: D, ) -> Result<u64, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for u128

Source§

fn deserialize<D>( deserializer: D, ) -> Result<u128, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for ()

Source§

fn deserialize<D>( deserializer: D, ) -> Result<(), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for usize

Source§

fn deserialize<D>( deserializer: D, ) -> Result<usize, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Box<str>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<str>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Box<CStr>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<CStr>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Box<OsStr>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<OsStr>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Box<Path>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<Path>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for CString

Source§

fn deserialize<D>( deserializer: D, ) -> Result<CString, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for String

Source§

fn deserialize<D>( deserializer: D, ) -> Result<String, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Ipv4Addr

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Ipv4Addr, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Ipv6Addr

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Ipv6Addr, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for SocketAddrV4

Source§

fn deserialize<D>( deserializer: D, ) -> Result<SocketAddrV4, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for SocketAddrV6

Source§

fn deserialize<D>( deserializer: D, ) -> Result<SocketAddrV6, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<i8>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<i8>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<i16>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<i16>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<i32>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<i32>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<i64>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<i64>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<i128>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<i128>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<isize>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<isize>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<u8>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<u8>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<u16>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<u16>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<u32>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<u32>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<u64>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<u64>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<u128>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<u128>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for NonZero<usize>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<NonZero<usize>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<i8>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<i8>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<i16>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<i16>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<i32>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<i32>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<i64>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<i64>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<i128>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<i128>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<isize>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<isize>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<u8>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<u8>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<u16>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<u16>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<u32>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<u32>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<u64>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<u64>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<u128>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<u128>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Saturating<usize>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Saturating<usize>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicBool

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicBool, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicI8

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicI8, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicI16

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicI16, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicI32

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicI32, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicI64

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicI64, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicIsize

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicIsize, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicU8

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicU8, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicU16

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicU16, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicU32

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicU32, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicU64

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicU64, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for AtomicUsize

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AtomicUsize, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Duration

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Duration, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for OsString

Source§

fn deserialize<D>( deserializer: D, ) -> Result<OsString, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for PathBuf

Source§

fn deserialize<D>( deserializer: D, ) -> Result<PathBuf, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for SystemTime

Source§

fn deserialize<D>( deserializer: D, ) -> Result<SystemTime, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Map<String, Value>

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Map<String, Value>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Number

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Number, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for CanaryV0

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<CanaryV0, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for MainnetV0

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<MainnetV0, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for TestnetV0

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<TestnetV0, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Source§

impl<'de> Deserialize<'de> for Fq2Parameters

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Fq2Parameters, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Source§

impl<'de, 'a> Deserialize<'de> for &'a str
where 'de: 'a,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<&'a str, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, 'a> Deserialize<'de> for &'a Path
where 'de: 'a,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<&'a Path, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, 'a> Deserialize<'de> for &'a [u8]
where 'de: 'a,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<&'a [u8], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, 'a, T> Deserialize<'de> for Cow<'a, T>
where T: ToOwned + ?Sized, <T as ToOwned>::Owned: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Cow<'a, T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, E> Deserialize<'de> for CircuitVerifyingKey<E>
where E: PairingEngine,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<CircuitVerifyingKey<E>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, E> Deserialize<'de> for Address<E>
where E: Environment,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Address<E>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes an account address from a string or bytes.

Source§

impl<'de, E> Deserialize<'de> for Boolean<E>
where E: Environment,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Boolean<E>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the boolean from a string or bytes.

Source§

impl<'de, E> Deserialize<'de> for Field<E>
where E: Environment,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Field<E>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the field from a string or bytes.

Source§

impl<'de, E> Deserialize<'de> for Group<E>
where E: Environment,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Group<E>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the group from a string or bytes.

Source§

impl<'de, E> Deserialize<'de> for Scalar<E>
where E: Environment,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Scalar<E>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the scalar from a string or bytes.

Source§

impl<'de, E> Deserialize<'de> for StringType<E>
where E: Environment,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<StringType<E>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the string from bytes, if it is not human-readable.

Source§

impl<'de, E, I> Deserialize<'de> for Integer<E, I>
where E: Environment, I: IntegerType,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Integer<E, I>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the integer from a string or bytes.

Source§

impl<'de, E, const DEPTH: u8> Deserialize<'de> for MerklePath<E, DEPTH>
where E: Environment,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<MerklePath<E, DEPTH>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, F, const PREFIX: u16> Deserialize<'de> for AleoID<F, PREFIX>
where F: FieldTrait,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AleoID<F, PREFIX>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, Idx> Deserialize<'de> for Range<Idx>
where Idx: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Range<Idx>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, Idx> Deserialize<'de> for RangeFrom<Idx>
where Idx: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<RangeFrom<Idx>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, Idx> Deserialize<'de> for RangeInclusive<Idx>
where Idx: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<RangeInclusive<Idx>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, Idx> Deserialize<'de> for RangeTo<Idx>
where Idx: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<RangeTo<Idx>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, K, V> Deserialize<'de> for BTreeMap<K, V>
where K: Deserialize<'de> + Ord, V: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<BTreeMap<K, V>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, K, V, S> Deserialize<'de> for HashMap<K, V, S>
where K: Deserialize<'de> + Eq + Hash, V: Deserialize<'de>, S: BuildHasher + Default,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<HashMap<K, V, S>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, N> Deserialize<'de> for Access<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Access<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the access from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Literal<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Literal<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the literal from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Plaintext<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Plaintext<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the plaintext from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Register<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Register<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the register from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Value<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Value<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the value from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for FinalizeType<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<FinalizeType<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the finalize type from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for PlaintextType<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<PlaintextType<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the plaintext type from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for EntryType<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<EntryType<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the entry type from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for RegisterType<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<RegisterType<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the register type from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for ValueType<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<ValueType<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the value type from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for InputID<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<InputID<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the input ID from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for ComputeKey<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<ComputeKey<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes an account compute key from bytes.

Source§

impl<'de, N> Deserialize<'de> for GraphKey<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<GraphKey<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes an account graph key from bytes.

Source§

impl<'de, N> Deserialize<'de> for PrivateKey<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<PrivateKey<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes an account private key from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Signature<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Signature<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the signature from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for ViewKey<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<ViewKey<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes an account view key from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Ciphertext<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Ciphertext<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the ciphertext from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Future<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Future<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the future from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Identifier<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Identifier<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the identifier from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Record<N, Plaintext<N>>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Record<N, Plaintext<N>>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the record plaintext from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Record<N, Ciphertext<N>>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Record<N, Ciphertext<N>>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the record ciphertext from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for ArrayType<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<ArrayType<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the array type from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for RecordType<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<RecordType<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the record type from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for StructType<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<StructType<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the struct type from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for ProgramID<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<ProgramID<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the program ID from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Locator<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Locator<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the locator from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for ProgramOwner<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<ProgramOwner<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the owner from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for Request<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Request<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the request from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for HeaderLeaf<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<HeaderLeaf<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the leaf from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for StatePath<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<StatePath<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the state path from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for TransactionLeaf<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<TransactionLeaf<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the leaf from a string or bytes.

Source§

impl<'de, N> Deserialize<'de> for TransitionLeaf<N>
where N: Network,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<TransitionLeaf<N>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserializes the leaf from a string or bytes.

Source§

impl<'de, P> Deserialize<'de> for Bls12<P>
where P: Bls12Parameters,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Bls12<P>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Source§

impl<'de, P> Deserialize<'de> for Affine<P>

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Affine<P>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Source§

impl<'de, P> Deserialize<'de> for Affine<P>

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Affine<P>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Source§

impl<'de, P> Deserialize<'de> for Fp2<P>
where P: Fp2Parameters, <P as Fp2Parameters>::Fp: Deserialize<'de>,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Fp2<P>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Source§

impl<'de, P> Deserialize<'de> for Fp6<P>
where P: Fp6Parameters,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Fp6<P>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Source§

impl<'de, P> Deserialize<'de> for Fp12<P>
where P: Fp12Parameters,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<Fp12<P>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Source§

impl<'de, P> Deserialize<'de> for Fp256<P>
where P: Fp256Parameters,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Fp256<P>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, P> Deserialize<'de> for Fp384<P>
where P: Fp384Parameters,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Fp384<P>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, PH, const DEPTH: u8, const ARITY: u8> Deserialize<'de> for KaryMerklePath<PH, DEPTH, ARITY>
where PH: PathHash,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<KaryMerklePath<PH, DEPTH, ARITY>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T0, T1> Deserialize<'de> for (T0, T1)
where T0: Deserialize<'de>, T1: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T0, T1, T2> Deserialize<'de> for (T0, T1, T2)
where T0: Deserialize<'de>, T1: Deserialize<'de>, T2: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

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

Source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

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

Source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

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

Source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4, T5), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

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

Source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4, T5, T6), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

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

Source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

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

Source§

fn deserialize<D>( deserializer: D, ) -> Result<(T0, T1, T2, T3, T4, T5, T6, T7, T8), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'de, T> Deserialize<'de> for Bound<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Bound<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for Option<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Option<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 0]

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 0], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 1]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 1], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 2]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 2], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 3]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 3], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 4]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 4], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 5]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 5], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 6]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 6], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 7]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 7], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 8]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 8], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 9]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 9], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 10]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 10], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 11]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 11], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 12]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 12], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 13]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 13], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 14]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 14], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 15]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 15], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 16]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 16], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 17]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 17], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 18]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 18], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 19]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 19], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 20]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 20], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 21]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 21], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 22]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 22], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 23]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 23], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 24]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 24], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 25]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 25], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 26]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 26], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 27]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 27], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 28]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 28], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 29]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 29], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 30]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 30], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 31]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 31], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for [T; 32]
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<[T; 32], <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for (T,)
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<(T,), <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for Box<[T]>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<[T]>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for Box<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Box<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for BinaryHeap<T>
where T: Deserialize<'de> + Ord,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<BinaryHeap<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for BTreeSet<T>
where T: Deserialize<'de> + Eq + Ord,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<BTreeSet<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for LinkedList<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<LinkedList<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for VecDeque<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<VecDeque<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for Vec<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Vec<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for Cell<T>
where T: Deserialize<'de> + Copy,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Cell<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for RefCell<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<RefCell<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for Reverse<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Reverse<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for PhantomData<T>
where T: ?Sized,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<PhantomData<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for Wrapping<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Wrapping<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for Mutex<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Mutex<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T> Deserialize<'de> for RwLock<T>
where T: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<RwLock<T>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T, E> Deserialize<'de> for Result<T, E>
where T: Deserialize<'de>, E: Deserialize<'de>,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<Result<T, E>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T, S> Deserialize<'de> for HashSet<T, S>
where T: Deserialize<'de> + Eq + Hash, S: BuildHasher + Default,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<HashSet<T, S>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Source§

impl<'de, T, const PREFIX: u32> Deserialize<'de> for AleoObject<T, PREFIX>
where T: Clone + Debug + ToBytes + FromBytes + PartialEq + Eq + Sync + Send,

Source§

fn deserialize<D>( deserializer: D, ) -> Result<AleoObject<T, PREFIX>, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Implementors§

Source§

impl<'de> Deserialize<'de> for Console

Source§

impl<'de> Deserialize<'de> for IgnoredAny