pub enum MetaTypeVariant {
Union(UnionMeta),
BuildIn(BuildInMeta),
Custom(CustomMeta),
Reference(ReferenceMeta),
Enumeration(EnumerationMeta),
Dynamic(DynamicMeta),
All(GroupMeta),
Choice(GroupMeta),
Sequence(GroupMeta),
ComplexType(ComplexMeta),
SimpleType(SimpleMeta),
}
Expand description
Actual data variant a MetaType
represents.
Variants§
Union(UnionMeta)
Represents a union type
BuildIn(BuildInMeta)
Represents a build-in type
Custom(CustomMeta)
Represents a user defined type
Reference(ReferenceMeta)
References an other type
Enumeration(EnumerationMeta)
Represents an enumeration
Dynamic(DynamicMeta)
Represents an dynamic element
All(GroupMeta)
Represents a specific set of elements
Choice(GroupMeta)
Represents a choice of different elements
Sequence(GroupMeta)
Represents a sequence of different elements
ComplexType(ComplexMeta)
Represents a complex type
SimpleType(SimpleMeta)
Represents a simple type with additional restrictions
Trait Implementations§
Source§impl Clone for MetaTypeVariant
impl Clone for MetaTypeVariant
Source§fn clone(&self) -> MetaTypeVariant
fn clone(&self) -> MetaTypeVariant
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for MetaTypeVariant
impl !RefUnwindSafe for MetaTypeVariant
impl Send for MetaTypeVariant
impl Sync for MetaTypeVariant
impl Unpin for MetaTypeVariant
impl !UnwindSafe for MetaTypeVariant
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