fn visit_some<D>(self, deserializer: D) -> Result<Self::Value, D::Error>
    where
        D: Deserializer<'de>,
    {
        let _ = deserializer;
        Err(Error::invalid_type(Unexpected::Option, &self))
    }
/// The input contains an optional that is present.
///
/// The default implementation fails with a type error.
The input contains an optional that is present.
The default implementation fails with a type error.
The input contains an optional that is present . The default implementation fails with a type error .
fn visit_some<D>(self, deserializer: D) -> Result<Self::Value, D::Error>
    where
        D: Deserializer<'de>,
    {
        let _ = deserializer;
        Err(Error::invalid_type(Unexpected::Option, &self))
    }
fn visit_some < D > ( self , deserializer : D ) -> Result < Self :: Value , D :: Error > where D : Deserializer < ' de > , { let _ = deserializer ; Err ( Error :: invalid_type ( Unexpected :: Option , & self ) ) }
The input contains an optional that is present.
The input contains an optional that is present .
self
deserializer
D
self
deserializer
D