pub struct Attribute<'xml> {
pub prefix: Option<&'xml str>,
pub local: &'xml str,
pub value: Cow<'xml, str>,
}Expand description
An XML attribute during deserialization
Fields§
§prefix: Option<&'xml str>The namespace prefix, if any
local: &'xml strThe local name
value: Cow<'xml, str>The attribute value
Trait Implementations§
Auto Trait Implementations§
impl<'xml> Freeze for Attribute<'xml>
impl<'xml> RefUnwindSafe for Attribute<'xml>
impl<'xml> Send for Attribute<'xml>
impl<'xml> Sync for Attribute<'xml>
impl<'xml> Unpin for Attribute<'xml>
impl<'xml> UnsafeUnpin for Attribute<'xml>
impl<'xml> UnwindSafe for Attribute<'xml>
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