pub struct XmlErrorMapper { /* private fields */ }
Expand description
An implementation of ErrorMapper that returns an XML body.
Implementations§
source§impl XmlErrorMapper
impl XmlErrorMapper
sourcepub fn new(namespace: &str) -> Self
pub fn new(namespace: &str) -> Self
Create a new XmlErrorMapper using the specified XML namespace as the response root element namespace.
Trait Implementations§
source§impl Clone for XmlErrorMapper
impl Clone for XmlErrorMapper
source§fn clone(&self) -> XmlErrorMapper
fn clone(&self) -> XmlErrorMapper
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more