pub struct Attr<'t> {
pub qualified_name: &'t str,
pub local_name: &'t str,
pub namespace_uri: &'t str,
pub value: &'t str,
}Expand description
An attribute as XPath’s data model has it.
Fields§
§qualified_name: &'t strThe name as written, with any prefix: what name() gives.
local_name: &'t strThe name without its prefix: what local-name() gives.
namespace_uri: &'t str“” for no namespace.
value: &'t strTrait Implementations§
impl<'t> Copy for Attr<'t>
impl<'t> Eq for Attr<'t>
impl<'t> StructuralPartialEq for Attr<'t>
Auto Trait Implementations§
impl<'t> Forget for Attr<'t>
impl<'t> Freeze for Attr<'t>
impl<'t> Move for Attr<'t>
impl<'t> RefUnwindSafe for Attr<'t>
impl<'t> Send for Attr<'t>
impl<'t> Sync for Attr<'t>
impl<'t> Unpin for Attr<'t>
impl<'t> UnsafeUnpin for Attr<'t>where
&'t str: UnsafeUnpin,
impl<'t> UnwindSafe for Attr<'t>where
&'t str: UnwindSafe,
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