pub struct ComplexInfo {
pub base: Base,
pub content: Option<Ident>,
pub min_occurs: MinOccurs,
pub max_occurs: MaxOccurs,
pub is_abstract: bool,
pub attributes: AttributesInfo,
pub any_attribute: Option<AnyAttributeInfo>,
}Expand description
Type information that contains data about a complex type.
Fields§
§base: BaseBase type of the complex type.
content: Option<Ident>Content type information of the complex type that contains the actual information about the elements that are defined for this type.
min_occurs: MinOccursMinimum occurrence of this complex types content type.
max_occurs: MaxOccursMaximum occurrence of this complex types content type.
is_abstract: boolWhether the type is abstract or not.
attributes: AttributesInfoList of attributes defined for this complex type.
any_attribute: Option<AnyAttributeInfo>If this complex type accepts any other attribute, that is not defined by
this type, this contains the information for these attributes, otherwise
it is set to None.
Trait Implementations§
Source§impl Clone for ComplexInfo
impl Clone for ComplexInfo
Source§fn clone(&self) -> ComplexInfo
fn clone(&self) -> ComplexInfo
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 ComplexInfo
impl Debug for ComplexInfo
Source§impl Default for ComplexInfo
impl Default for ComplexInfo
Source§impl TypeEq for ComplexInfo
impl TypeEq for ComplexInfo
Source§fn type_eq(&self, other: &Self, types: &Types) -> bool
fn type_eq(&self, other: &Self, types: &Types) -> bool
Check if this instance is equal to the
other instance using the passed
types to resolve identifiers.Source§fn type_eq_iter<'a, X, Y>(x: X, y: Y, types: &Types) -> boolwhere
Self: 'a,
X: IntoIterator<Item = &'a Self>,
Y: IntoIterator<Item = &'a Self>,
fn type_eq_iter<'a, X, Y>(x: X, y: Y, types: &Types) -> boolwhere
Self: 'a,
X: IntoIterator<Item = &'a Self>,
Y: IntoIterator<Item = &'a Self>,
Check if the two passed iterators contain type equal elements.
Auto Trait Implementations§
impl Freeze for ComplexInfo
impl RefUnwindSafe for ComplexInfo
impl Send for ComplexInfo
impl Sync for ComplexInfo
impl Unpin for ComplexInfo
impl UnwindSafe for ComplexInfo
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