Struct aldrin_core::StructDeserializer
source · pub struct StructDeserializer<'a, 'b> { /* private fields */ }
Implementations§
source§impl<'a, 'b> StructDeserializer<'a, 'b>
impl<'a, 'b> StructDeserializer<'a, 'b>
pub fn remaining_fields(&self) -> usize
pub fn has_more_fields(&self) -> bool
pub fn deserialize_field( &mut self, ) -> Result<FieldDeserializer<'_, 'b>, DeserializeError>
pub fn deserialize_specific_field<T: Deserialize>( &mut self, id: impl Into<u32>, ) -> Result<T, DeserializeError>
pub fn skip(self) -> Result<(), DeserializeError>
pub fn finish<T>(self, t: T) -> Result<T, DeserializeError>
pub fn finish_with<T, F>(self, f: F) -> Result<T, DeserializeError>
pub fn skip_and_finish<T>(self, t: T) -> Result<T, DeserializeError>
pub fn skip_and_finish_with<T, F>(self, f: F) -> Result<T, DeserializeError>
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> Freeze for StructDeserializer<'a, 'b>
impl<'a, 'b> RefUnwindSafe for StructDeserializer<'a, 'b>
impl<'a, 'b> Send for StructDeserializer<'a, 'b>
impl<'a, 'b> Sync for StructDeserializer<'a, 'b>
impl<'a, 'b> Unpin for StructDeserializer<'a, 'b>
impl<'a, 'b> !UnwindSafe for StructDeserializer<'a, 'b>
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