pub struct GenOptions {
pub generate_stubs: bool,
pub generate_routes: bool,
}Expand description
Options for code generation.
Fields§
§generate_stubs: boolWhether to generate handler stubs (default: true).
generate_routes: boolWhether to generate route wiring (default: true).
Trait Implementations§
Source§impl Clone for GenOptions
impl Clone for GenOptions
Source§fn clone(&self) -> GenOptions
fn clone(&self) -> GenOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GenOptions
impl Debug for GenOptions
Auto Trait Implementations§
impl Freeze for GenOptions
impl RefUnwindSafe for GenOptions
impl Send for GenOptions
impl Sync for GenOptions
impl Unpin for GenOptions
impl UnsafeUnpin for GenOptions
impl UnwindSafe for GenOptions
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