pub struct ComplexTypeDefData {Show 26 fields
pub name: Option<NameId>,
pub target_namespace: Option<NameId>,
pub base_type: Option<TypeRefResult>,
pub derivation_method: Option<DerivationMethod>,
pub content: ComplexContentResult,
pub open_content: Option<OpenContentResult>,
pub attributes: Vec<AttributeUseResult>,
pub attribute_groups: Vec<QNameRef>,
pub attribute_wildcard: Option<WildcardResult>,
pub mixed: bool,
pub is_abstract: bool,
pub final_derivation: DerivationSet,
pub block: DerivationSet,
pub default_attributes_apply: bool,
pub id: Option<String>,
pub assertions: Vec<AssertResult>,
pub xpath_default_namespace: Option<String>,
pub annotation: Option<Annotation>,
pub source: Option<SourceRef>,
pub resolved_base_type: Option<TypeKey>,
pub resolved_attribute_groups: Vec<AttributeGroupKey>,
pub resolved_attributes: Vec<ResolvedAttributeUse>,
pub resolved_content_particle_types: Vec<Option<TypeKey>>,
pub resolved_content_particle_elements: Vec<Option<ElementKey>>,
pub resolved_simple_content_type: Option<TypeKey>,
pub redefine_original: Option<ComplexTypeKey>,
}Expand description
Placeholder for ComplexTypeDef (defined in types/complex.rs)
Fields§
§name: Option<NameId>§target_namespace: Option<NameId>§base_type: Option<TypeRefResult>§derivation_method: Option<DerivationMethod>§content: ComplexContentResult§open_content: Option<OpenContentResult>§attributes: Vec<AttributeUseResult>§attribute_groups: Vec<QNameRef>§attribute_wildcard: Option<WildcardResult>§mixed: bool§is_abstract: bool§final_derivation: DerivationSet§block: DerivationSet§default_attributes_apply: bool§id: Option<String>§assertions: Vec<AssertResult>§xpath_default_namespace: Option<String>§annotation: Option<Annotation>§source: Option<SourceRef>§resolved_base_type: Option<TypeKey>Resolved base type key (for extension/restriction derivation)
resolved_attribute_groups: Vec<AttributeGroupKey>Resolved attribute group keys
resolved_attributes: Vec<ResolvedAttributeUse>Resolved attribute uses (parallel to attributes vec)
resolved_content_particle_types: Vec<Option<TypeKey>>Resolved inline types for content particle elements (flat depth-first element order)
resolved_content_particle_elements: Vec<Option<ElementKey>>Resolved element keys for local elements in content particles (flat depth-first element order)
resolved_simple_content_type: Option<TypeKey>Resolved inline simpleType inside simpleContent/restriction
(§3.4.2.2 clause 1.1 — the B simple type definition).
Only present when simpleContent has an explicit inline <xs:simpleType>.
redefine_original: Option<ComplexTypeKey>Original complex type key before redefine (for base-type resolution)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComplexTypeDefData
impl RefUnwindSafe for ComplexTypeDefData
impl Send for ComplexTypeDefData
impl Sync for ComplexTypeDefData
impl Unpin for ComplexTypeDefData
impl UnsafeUnpin for ComplexTypeDefData
impl UnwindSafe for ComplexTypeDefData
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