fn serialize_some<T>(self, _value: &T) -> Result<()>
    where
        T: ?Sized + Serialize,
    {
        // value.serialize(self)
        Err(Error::Message(String::from(
            "some is not implemented/serializable",
        )))
    }
// A present optional is represented as just the contained value. Note that
// this is a lossy representation. For example the values `Some(())` and
// `None` both serialize as just `null`. Unfortunately this is typically
// what people expect when working with JSON. Other formats are encouraged
// to behave more intelligently if possible.
A present optional is represented as just the contained value. Note that
this is a lossy representation.
A present optional is represented as just the contained value . Note that this is a lossy representation .
fn serialize_some<T>(self, _value: &T) -> Result<()>
    where
        T: ?Sized + Serialize,
    {
        // value.serialize(self)
        Err(Error::Message(String::from(
            "some is not implemented/serializable",
        )))
    }
fn serialize_some < T > ( self , _value : & T ) -> Result < ( ) > where T : ? Sized + Serialize , { // value.serialize(self) Err ( Error :: Message ( String :: from ( " " , ) ) ) }
A present optional is represented as just the contained value.
A present optional is represented as just the contained value .
self
_value
&T
self
_value
&T