pub struct Element {
pub type: Option<String>,
pub default: Option<String>,
pub nillable: bool,
pub contents: Option<ElementContents>,
pub name: Option<String>,
pub ref: Option<String>,
pub min_occurs: Option<u32>,
pub max_occurs: Option<MaxOccurs>,
}Expand description
Element, representing some part of a type.
Fields§
§type: Option<String>Element type.
default: Option<String>Element default value.
nillable: boolWhether the element is nullable.
contents: Option<ElementContents>Contents.
name: Option<String>Element name.
ref: Option<String>Element reference.
min_occurs: Option<u32>Minimum number of occurences.
max_occurs: Option<MaxOccurs>Maximum number of occurences.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
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