pub struct ExpandedName {
pub namespace: Option<String>,
pub local: String,
}Expand description
An expanded (namespace-resolved) name: local name plus an optional
namespace URI. None means “no namespace” — the caller’s document
implementation is responsible for resolving any prefixes itself (this
crate has no XML/namespace parser of its own).
Fields§
§namespace: Option<String>The namespace URI, or None for “no namespace”.
local: StringThe local (unprefixed) name.
Implementations§
Trait Implementations§
Source§impl Clone for ExpandedName
impl Clone for ExpandedName
Source§impl Debug for ExpandedName
impl Debug for ExpandedName
Source§impl Display for ExpandedName
impl Display for ExpandedName
impl Eq for ExpandedName
Source§impl Hash for ExpandedName
impl Hash for ExpandedName
Source§impl Ord for ExpandedName
impl Ord for ExpandedName
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExpandedName
impl PartialEq for ExpandedName
Source§impl PartialOrd for ExpandedName
impl PartialOrd for ExpandedName
impl StructuralPartialEq for ExpandedName
Auto Trait Implementations§
impl Freeze for ExpandedName
impl RefUnwindSafe for ExpandedName
impl Send for ExpandedName
impl Sync for ExpandedName
impl Unpin for ExpandedName
impl UnsafeUnpin for ExpandedName
impl UnwindSafe for ExpandedName
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