pub enum Generate {
All,
Named,
Types(Vec<IdentTriple>),
}
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.
Named
The generator will generate code for all types that have a name.
Types(Vec<IdentTriple>)
List of identifiers the generator will generate code for.
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