pub enum Generator {
Controller,
Model,
Request,
Migration,
}Expand description
Supported generators, each producing a registered, compilable Rust module.
Variants§
Controller
A struct with an Axum-compatible handler.
Model
A native SeaORM entity with an integer primary key.
Request
A Serde request with validator rules.
Migration
A native SeaORM migration with reversible up/down methods.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Generator
impl RefUnwindSafe for Generator
impl Send for Generator
impl Sync for Generator
impl Unpin for Generator
impl UnsafeUnpin for Generator
impl UnwindSafe for Generator
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