Function azure_core::xml::text_content::serialize

source ·
pub fn serialize<S, T>(
    value: &T,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer, T: Serialize,
Expand description

Serializes value as an XSD simple type. Intended to use with #[serde(serialize_with = "...")]. See example at text_content module level.