pub struct QName {
pub namespace: Option<Arc<str>>,
pub local: Arc<str>,
}Expand description
A namespace-qualified XML name. XSD operates entirely in terms of these — local names alone are insufficient when a schema imports other namespaces.
Fields§
§namespace: Option<Arc<str>>None when the name is in no namespace.
local: Arc<str>Implementations§
Trait Implementations§
impl Eq for QName
impl StructuralPartialEq for QName
Auto Trait Implementations§
impl Freeze for QName
impl RefUnwindSafe for QName
impl Send for QName
impl Sync for QName
impl Unpin for QName
impl UnsafeUnpin for QName
impl UnwindSafe for QName
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