fn visit_newtype_struct<D>(self, deserializer: D) -> Result<Self::Value, D::Error>
    where
        D: Deserializer<'de>,
    {
        let _ = deserializer;
        Err(Error::invalid_type(Unexpected::NewtypeStruct, &self))
    }
/// The input contains a newtype struct.
///
/// The content of the newtype struct may be read from the given
/// `Deserializer`.
///
/// The default implementation fails with a type error.
The input contains a newtype struct.
The content of the newtype struct may be read from the given
`Deserializer`.

The default implementation fails with a type error.
The input contains a newtype struct . The content of the newtype struct may be read from the given ` Deserializer ` . The default implementation fails with a type error .
fn visit_newtype_struct<D>(self, deserializer: D) -> Result<Self::Value, D::Error>
    where
        D: Deserializer<'de>,
    {
        let _ = deserializer;
        Err(Error::invalid_type(Unexpected::NewtypeStruct, &self))
    }
fn visit_newtype_struct < D > ( self , deserializer : D ) -> Result < Self :: Value , D :: Error > where D : Deserializer < ' de > , { let _ = deserializer ; Err ( Error :: invalid_type ( Unexpected :: NewtypeStruct , & self ) ) }
The input contains a newtype struct.
The input contains a newtype struct .
self
deserializer
D
self
deserializer
D