#[non_exhaustive]pub struct Settings {
    pub indentation: String,
    pub indentation_depth: u32,
    pub rustyfix_crate_name: String,
    pub derives_for_allowed_values: Vec<String>,
    pub attributes_for_allowed_values: Vec<String>,
}Expand description
Code generation settings. Instantiate with Default::default and then
change field values if necessary.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.indentation: StringThe indentation prefix of all generated Rust code. Four spaces by default.
indentation_depth: u32The base indentation level of all generated Rust code. Zero by default.
rustyfix_crate_name: StringThe name of the rustyfix crate for imports. rustyfix by default.
derives_for_allowed_values: Vec<String>A list of derive macros on top of all generated FIX datatype enums. E.g.:
// #[derive(Foobar, Spam)]
enum FoodOrDrink {
    Food,
    Drink,
}Contains Debug, Copy, Clone, PartialEq, Eq,
Hash, FieldType by default.
attributes_for_allowed_values: Vec<String>A list of attribute macros for generated enums variants. E.g.:
enum FoodOrDrink {
    // #[foobar]
    Food,
    // #[spam]
    Drink,
}Empty by default.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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