pub struct GeneratorConfig {
pub generate_fields: bool,
pub generate_messages: bool,
pub generate_components: bool,
pub visibility: String,
}Expand description
Configuration for code generation.
Fields§
§generate_fields: boolWhether to generate field constants.
generate_messages: boolWhether to generate message structs.
generate_components: boolWhether to generate component traits.
visibility: StringModule visibility (e.g., “pub”, “pub(crate)”).
Trait Implementations§
Source§impl Clone for GeneratorConfig
impl Clone for GeneratorConfig
Source§fn clone(&self) -> GeneratorConfig
fn clone(&self) -> GeneratorConfig
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 GeneratorConfig
impl Debug for GeneratorConfig
Auto Trait Implementations§
impl Freeze for GeneratorConfig
impl RefUnwindSafe for GeneratorConfig
impl Send for GeneratorConfig
impl Sync for GeneratorConfig
impl Unpin for GeneratorConfig
impl UnwindSafe for GeneratorConfig
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