pub struct CodeGenerator { /* private fields */ }Expand description
Code generator for AllFrame projects
Implementations§
Source§impl CodeGenerator
impl CodeGenerator
Sourcepub fn generate_entity(&self, request: &EntityRequest) -> GenerationResult
pub fn generate_entity(&self, request: &EntityRequest) -> GenerationResult
Generate a new entity
Sourcepub fn generate_service(&self, request: &ServiceRequest) -> GenerationResult
pub fn generate_service(&self, request: &ServiceRequest) -> GenerationResult
Generate a new service
Sourcepub fn generate_handler(&self, request: &HandlerRequest) -> GenerationResult
pub fn generate_handler(&self, request: &HandlerRequest) -> GenerationResult
Generate a new handler
Auto Trait Implementations§
impl Forget for CodeGenerator
impl Freeze for CodeGenerator
impl Move for CodeGenerator
impl RefUnwindSafe for CodeGenerator
impl Send for CodeGenerator
impl Sync for CodeGenerator
impl Unpin for CodeGenerator
impl UnsafeUnpin for CodeGenerator
impl UnwindSafe for CodeGenerator
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