Expand description
XML serialization helpers.
CloudFront’s wire format is REST-XML with xmlns carried on every
top-level response element. quick-xml doesn’t emit a namespace from
a serde derive, so we wrap the serialized body to inject it.
Functions§
- from_
xml_ root - Parse an XML body into a serde-deserializable type.
- to_
xml_ root - Serialize a serde value as
<Root xmlns="...">...</Root>with a leading XML declaration.