pub enum Generate {
All,
Types(Vec<(IdentType, String)>),
}Expand description
Configuration which types the Generator should generate
code for used in GeneratorConfig.
Variants§
All
The generator will generate code for all types of the schemas.
Types(Vec<(IdentType, String)>)
List of identifiers the generator will generate code for.
A type is a combination of a identifier type and a string like so:
(IdentType::Type, "xs:int")(IdentType::Element, "example:rootElement")
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Generate
impl RefUnwindSafe for Generate
impl Send for Generate
impl Sync for Generate
impl Unpin for Generate
impl UnwindSafe for Generate
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