pub struct SourceView {
pub type_name: String,
pub document: Option<String>,
pub line: Option<usize>,
pub column: Option<usize>,
pub content_type: ContentType,
pub mixed: bool,
pub derivation: Option<String>,
pub open_content: Option<OpenContentView>,
pub xsd_version: XsdVersion,
}Expand description
Identity and declaration-level facts about the inspected type.
Fields§
§type_name: String{namespace}local, or (anonymous) for an unnamed local type.
document: Option<String>Base URI of the schema document, when a location is available.
line: Option<usize>1-based line of the type definition, when a location is available.
column: Option<usize>1-based column of the type definition, when a location is available.
content_type: ContentTypeContent type as the validator determines it.
mixed: boolThe type’s mixed flag as declared.
derivation: Option<String>extension of {ns}Base / restriction of {ns}Base, when derived.
open_content: Option<OpenContentView>Effective open content carried by the compiled matcher (XSD 1.1).
xsd_version: XsdVersionXSD version the schema set is configured for.
Trait Implementations§
Source§impl Clone for SourceView
impl Clone for SourceView
Source§impl Debug for SourceView
impl Debug for SourceView
Auto Trait Implementations§
impl Forget for SourceView
impl Freeze for SourceView
impl Move for SourceView
impl RefUnwindSafe for SourceView
impl Send for SourceView
impl Sync for SourceViewwhere
RawVecInner: Sync,
impl Unpin for SourceView
impl UnsafeUnpin for SourceViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SourceView
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