pub struct OwnedStructureSeed(/* private fields */);
Expand description
Use this to deserialize an OwnedStructure
.
Trait Implementations§
Source§impl Clone for OwnedStructureSeed
impl Clone for OwnedStructureSeed
Source§fn clone(&self) -> OwnedStructureSeed
fn clone(&self) -> OwnedStructureSeed
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OwnedStructureSeed
impl Debug for OwnedStructureSeed
Source§impl<'de> DeserializeSeed<'de> for OwnedStructureSeed
impl<'de> DeserializeSeed<'de> for OwnedStructureSeed
Source§type Value = OwnedStructure
type Value = OwnedStructure
The type produced by using this seed.
Source§fn deserialize<D: Deserializer<'de>>(
self,
deserializer: D,
) -> Result<Self::Value, D::Error>
fn deserialize<D: Deserializer<'de>>( self, deserializer: D, ) -> Result<Self::Value, D::Error>
Equivalent to the more common
Deserialize::deserialize
method, except
with some initial piece of data (the seed) passed in.Source§impl DynamicType for OwnedStructureSeed
impl DynamicType for OwnedStructureSeed
Source§impl PartialEq for OwnedStructureSeed
impl PartialEq for OwnedStructureSeed
impl Eq for OwnedStructureSeed
impl StructuralPartialEq for OwnedStructureSeed
Auto Trait Implementations§
impl Freeze for OwnedStructureSeed
impl RefUnwindSafe for OwnedStructureSeed
impl Send for OwnedStructureSeed
impl Sync for OwnedStructureSeed
impl Unpin for OwnedStructureSeed
impl UnwindSafe for OwnedStructureSeed
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)