pub struct DirectAttribute<'a> {
pub owner: NodeIdentity,
pub namespace: Option<&'a str>,
pub local_name: &'a str,
pub value: &'a str,
}Expand description
A direct non-namespace attribute, already normalized by the XML parser.
Fields§
§owner: NodeIdentityOriginal owner, including document and generation.
namespace: Option<&'a str>Expanded namespace name; default namespaces do not apply to attributes.
local_name: &'a strOriginal local name.
value: &'a strXML-normalized value, not schema-normalized or source-byte spelling.
Trait Implementations§
Source§impl<'a> Clone for DirectAttribute<'a>
impl<'a> Clone for DirectAttribute<'a>
impl<'a> Copy for DirectAttribute<'a>
Source§impl<'a> Debug for DirectAttribute<'a>
impl<'a> Debug for DirectAttribute<'a>
impl<'a> Eq for DirectAttribute<'a>
Source§impl<'a> PartialEq for DirectAttribute<'a>
impl<'a> PartialEq for DirectAttribute<'a>
impl<'a> StructuralPartialEq for DirectAttribute<'a>
Auto Trait Implementations§
impl<'a> Freeze for DirectAttribute<'a>
impl<'a> RefUnwindSafe for DirectAttribute<'a>
impl<'a> Send for DirectAttribute<'a>
impl<'a> Sync for DirectAttribute<'a>
impl<'a> Unpin for DirectAttribute<'a>
impl<'a> UnsafeUnpin for DirectAttribute<'a>
impl<'a> UnwindSafe for DirectAttribute<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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