Struct zvariant::StructureSeed
source · [−]pub struct StructureSeed<'a>(_);
Expand description
Use this to deserialize a Structure
.
Implementations
Create a new StructureSeed
The given signature must be a valid structure signature.
Trait Implementations
fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> where
D: Deserializer<'de>,
Equivalent to the more common Deserialize::deserialize
method, except
with some initial piece of data (the seed) passed in. Read more
Get the signature for the implementing type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for StructureSeed<'a>
impl<'a> Send for StructureSeed<'a>
impl<'a> Sync for StructureSeed<'a>
impl<'a> Unpin for StructureSeed<'a>
impl<'a> UnwindSafe for StructureSeed<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more