pub trait DeserializeExt<'de>where
    Self: DeserializeOwned,{
    // Required method
    fn take_from_value<D: Deserializer<'de>>(
        value: &mut Value,
        field: &str
    ) -> Result<Self, D::Error>;
}
Expand description

A helper trait used to simplify value extraction.

Required Methods§

source

fn take_from_value<D: Deserializer<'de>>( value: &mut Value, field: &str ) -> Result<Self, D::Error>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,