Function quick_xml::serde_helpers::text_content::serialize
source · pub fn serialize<S, T>(value: &T, serializer: S) -> Result<S::Ok, S::Error>where
S: Serializer,
T: Serialize,
Available on crate feature
serde-types
only.Expand description
Serializes value
as an XSD simple type. Intended to use with
#[serde(serialize_with = "...")]
. See example at text_content
module level.