pub struct SchemaLocationHint {
pub namespace: String,
pub location: String,
pub base_uri: String,
}Expand description
A schema location hint extracted from xsi:schemaLocation.
Pairs a namespace URI with a schema location URI plus the base URI of the instance document element where the hint was found (needed to resolve relative location URIs).
Fields§
§namespace: StringThe namespace URI (first token of each pair in xsi:schemaLocation).
location: StringThe schema location URI (second token of each pair).
base_uri: StringBase URI of the instance document at the point where this hint was found. Empty if no base URI was set on the runtime.
Trait Implementations§
Source§impl Clone for SchemaLocationHint
impl Clone for SchemaLocationHint
Source§fn clone(&self) -> SchemaLocationHint
fn clone(&self) -> SchemaLocationHint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaLocationHint
impl Debug for SchemaLocationHint
impl Eq for SchemaLocationHint
Source§impl PartialEq for SchemaLocationHint
impl PartialEq for SchemaLocationHint
Source§fn eq(&self, other: &SchemaLocationHint) -> bool
fn eq(&self, other: &SchemaLocationHint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SchemaLocationHint
Auto Trait Implementations§
impl Freeze for SchemaLocationHint
impl RefUnwindSafe for SchemaLocationHint
impl Send for SchemaLocationHint
impl Sync for SchemaLocationHint
impl Unpin for SchemaLocationHint
impl UnsafeUnpin for SchemaLocationHint
impl UnwindSafe for SchemaLocationHint
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