pub struct Qualified<De> { /* private fields */ }Expand description
Deserializer decorator that provides additional details for the deserialized type.
Implementations§
Trait Implementations§
Source§impl<T, De> DeserializeParam<T> for Qualified<De>where
De: DeserializeParam<T>,
impl<T, De> DeserializeParam<T> for Qualified<De>where
De: DeserializeParam<T>,
Source§const EXPECTING: BasicTypes
const EXPECTING: BasicTypes
Describes which parameter this deserializer is expecting.
Source§fn describe(&self, description: &mut TypeDescription)
fn describe(&self, description: &mut TypeDescription)
Additional info about the deserialized type, e.g., extended description.
Source§fn deserialize_param(
&self,
ctx: DeserializeContext<'_>,
param: &'static ParamMetadata,
) -> Result<T, ErrorWithOrigin>
fn deserialize_param( &self, ctx: DeserializeContext<'_>, param: &'static ParamMetadata, ) -> Result<T, ErrorWithOrigin>
Performs deserialization given the context and param metadata. Read more
Auto Trait Implementations§
impl<De> Freeze for Qualified<De>where
De: Freeze,
impl<De> RefUnwindSafe for Qualified<De>where
De: RefUnwindSafe,
impl<De> Send for Qualified<De>where
De: Send,
impl<De> Sync for Qualified<De>where
De: Sync,
impl<De> Unpin for Qualified<De>where
De: Unpin,
impl<De> UnwindSafe for Qualified<De>where
De: UnwindSafe,
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