pub struct EnumDef {
pub name: String,
pub variants: Vec<VariantDef>,
}Expand description
An enum generated from an xs:complexType with an xs:choice.
Fields§
§name: StringThe Rust enum name.
variants: Vec<VariantDef>Ordered list of enum variants.
Trait Implementations§
impl StructuralPartialEq for EnumDef
Auto Trait Implementations§
impl Freeze for EnumDef
impl RefUnwindSafe for EnumDef
impl Send for EnumDef
impl Sync for EnumDef
impl Unpin for EnumDef
impl UnsafeUnpin for EnumDef
impl UnwindSafe for EnumDef
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