pub struct Schema {
pub target_namespace: String,
pub elements: Vec<Element>,
pub simple_types: Vec<SimpleType>,
pub complex_types: Vec<ComplexType>,
}Expand description
A parsed XSD schema file.
Fields§
§target_namespace: StringThe targetNamespace attribute of the <xs:schema> element.
elements: Vec<Element>Top-level <xs:element> declarations.
simple_types: Vec<SimpleType>Top-level <xs:simpleType> definitions.
complex_types: Vec<ComplexType>Top-level <xs:complexType> definitions.
Trait Implementations§
impl StructuralPartialEq for Schema
Auto Trait Implementations§
impl Freeze for Schema
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnsafeUnpin for Schema
impl UnwindSafe for Schema
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