oa_gateway_uci::xml

Function to_xml

Source
pub fn to_xml(message: &Message, schema: &Schema) -> Result<String, UciError>
Expand description

Serializes message as UCI XML with the OAM namespace on the root.

ยงErrors

Returns UciError if flattening a type fails or nesting exceeds MAX_DEPTH.