pub struct ElementType {Show 16 fields
pub id: Option<String>,
pub name: Option<String>,
pub ref_: Option<QName>,
pub type_: Option<QName>,
pub substitution_group: Option<ElementSubstitutionGroupType>,
pub min_occurs: usize,
pub max_occurs: MaxOccurs,
pub default: Option<String>,
pub fixed: Option<String>,
pub nillable: Option<bool>,
pub abstract_: bool,
pub final_: Option<DerivationSetType>,
pub block: Option<BlockSetType>,
pub form: Option<FormChoiceType>,
pub target_namespace: Option<String>,
pub content: Vec<ElementTypeContent>,
}Fields§
§id: Option<String>§name: Option<String>§ref_: Option<QName>§type_: Option<QName>§substitution_group: Option<ElementSubstitutionGroupType>§min_occurs: usize§max_occurs: MaxOccurs§default: Option<String>§fixed: Option<String>§nillable: Option<bool>§abstract_: bool§final_: Option<DerivationSetType>§block: Option<BlockSetType>§form: Option<FormChoiceType>§target_namespace: Option<String>§content: Vec<ElementTypeContent>Implementations§
Source§impl ElementType
impl ElementType
pub fn default_min_occurs() -> usize
pub fn default_max_occurs() -> MaxOccurs
pub fn default_abstract_() -> bool
Trait Implementations§
Source§impl Clone for ElementType
impl Clone for ElementType
Source§fn clone(&self) -> ElementType
fn clone(&self) -> ElementType
Returns a copy 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 ElementType
impl Debug for ElementType
Source§impl<'de> Deserializer<'de, ElementType> for ElementTypeDeserializer
impl<'de> Deserializer<'de, ElementType> for ElementTypeDeserializer
Source§fn init<R>(
reader: &R,
event: Event<'de>,
) -> DeserializerResult<'de, ElementType>where
R: DeserializeReader,
fn init<R>(
reader: &R,
event: Event<'de>,
) -> DeserializerResult<'de, ElementType>where
R: DeserializeReader,
Source§fn next<R>(
self,
reader: &R,
event: Event<'de>,
) -> DeserializerResult<'de, ElementType>where
R: DeserializeReader,
fn next<R>(
self,
reader: &R,
event: Event<'de>,
) -> DeserializerResult<'de, ElementType>where
R: DeserializeReader,
Source§fn finish<R>(self, reader: &R) -> Result<ElementType, Error>where
R: DeserializeReader,
fn finish<R>(self, reader: &R) -> Result<ElementType, Error>where
R: DeserializeReader,
Force the deserializer to finish. Read more
Source§impl PartialEq for ElementType
impl PartialEq for ElementType
Source§impl WithDeserializer for ElementType
impl WithDeserializer for ElementType
Source§type Deserializer = ElementTypeDeserializer
type Deserializer = ElementTypeDeserializer
The deserializer to use for this type.
impl Eq for ElementType
impl StructuralPartialEq for ElementType
Auto Trait Implementations§
impl Freeze for ElementType
impl RefUnwindSafe for ElementType
impl Send for ElementType
impl Sync for ElementType
impl Unpin for ElementType
impl UnwindSafe for ElementType
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