pub struct XmlFormat;Expand description
XML representation. Requires explicit RenderAsXml impls per type.
Trait Implementations§
Source§impl ContentFormat for XmlFormat
impl ContentFormat for XmlFormat
Source§const CONTENT_TYPE: &'static str = "application/xml"
const CONTENT_TYPE: &'static str = "application/xml"
The MIME type this format produces (e.g.,
"application/json").Source§const DEFAULT_QUALITY: f32 = 1.0
const DEFAULT_QUALITY: f32 = 1.0
Quality weight for tie-breaking when the client accepts multiple
formats equally (0.0 - 1.0). Higher values are preferred. Read more
Auto Trait Implementations§
impl Freeze for XmlFormat
impl RefUnwindSafe for XmlFormat
impl Send for XmlFormat
impl Sync for XmlFormat
impl Unpin for XmlFormat
impl UnsafeUnpin for XmlFormat
impl UnwindSafe for XmlFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more