pub enum GenKind {
Api,
Model,
Service,
Repository,
Controller,
Middleware,
Migration,
}Expand description
What to generate
Variants§
Api
Full CRUD stack (model + repository + logic + service + controller + routes)
Model
Entity/model only
Service
Service layer
Repository
Repository (sqlx)
Controller
Controller + routes
Middleware
Middleware
Migration
SQL migration
Trait Implementations§
impl Copy for GenKind
Auto Trait Implementations§
impl Freeze for GenKind
impl RefUnwindSafe for GenKind
impl Send for GenKind
impl Sync for GenKind
impl Unpin for GenKind
impl UnsafeUnpin for GenKind
impl UnwindSafe for GenKind
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