pub struct ComplexTypeEnum<'types> {
pub base: ComplexTypeBase,
pub elements: Vec<ComplexTypeElement<'types>>,
pub any_element: Option<&'types AnyInfo>,
pub any_attribute: Option<&'types AnyAttributeInfo>,
}Expand description
Represents a rust enum.
Is used as part of the ComplexType.
Fields§
§base: ComplexTypeBaseBasic type information.
elements: Vec<ComplexTypeElement<'types>>List of xs:elements or variants contained in this enum
any_element: Option<&'types AnyInfo>Content of the xs:any.
any_attribute: Option<&'types AnyAttributeInfo>Content of the xs:anyAttribute.
Trait Implementations§
Source§impl<'types> Debug for ComplexTypeEnum<'types>
impl<'types> Debug for ComplexTypeEnum<'types>
Auto Trait Implementations§
impl<'types> Freeze for ComplexTypeEnum<'types>
impl<'types> RefUnwindSafe for ComplexTypeEnum<'types>
impl<'types> !Send for ComplexTypeEnum<'types>
impl<'types> !Sync for ComplexTypeEnum<'types>
impl<'types> Unpin for ComplexTypeEnum<'types>
impl<'types> UnwindSafe for ComplexTypeEnum<'types>
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