Function serde::__private::ser::serialize_tagged_newtype
source · pub fn serialize_tagged_newtype<S, T>(
serializer: S,
type_ident: &'static str,
variant_ident: &'static str,
tag: &'static str,
variant_name: &'static str,
value: &T
) -> Result<S::Ok, S::Error>where
S: Serializer,
T: Serialize,
Expand description
Not public API.