Struct smart_config::de::Qualified
source · 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