pub struct NamespaceInfo {
pub uri: String,
pub preferred_prefix: String,
pub alternative_prefixes: Vec<String>,
pub standard: DDEXStandard,
pub version: Option<String>,
pub required: bool,
}Expand description
Information about a namespace
Fields§
§uri: StringThe namespace URI
preferred_prefix: StringPreferred prefix
alternative_prefixes: Vec<String>Alternative acceptable prefixes
standard: DDEXStandardDDEX standard this namespace belongs to
version: Option<String>Version information if applicable
required: boolWhether this namespace is required for the standard
Trait Implementations§
Source§impl Clone for NamespaceInfo
impl Clone for NamespaceInfo
Source§fn clone(&self) -> NamespaceInfo
fn clone(&self) -> NamespaceInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NamespaceInfo
impl Debug for NamespaceInfo
Source§impl PartialEq for NamespaceInfo
impl PartialEq for NamespaceInfo
impl StructuralPartialEq for NamespaceInfo
Auto Trait Implementations§
impl Freeze for NamespaceInfo
impl RefUnwindSafe for NamespaceInfo
impl Send for NamespaceInfo
impl Sync for NamespaceInfo
impl Unpin for NamespaceInfo
impl UnwindSafe for NamespaceInfo
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