Skip to main content

ComplexTypeDefData

Struct ComplexTypeDefData 

Source
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§

Source§

impl Debug for ComplexTypeDefData

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> MaybeSendSync for T

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.