pub struct CompilerConfig {
pub database_target: DatabaseTarget,
pub optimize_sql: bool,
pub strict_mode: bool,
pub debug: bool,
pub database_url: Option<String>,
}Expand description
Compiler configuration.
Fields§
§database_target: DatabaseTargetTarget database for SQL generation.
optimize_sql: boolEnable SQL template optimization.
strict_mode: boolStrict mode: Fail on warnings.
debug: boolEnable debug output.
database_url: Option<String>Database URL for fact table introspection (optional). If provided, compiler will auto-detect fact tables and generate aggregate types.
Trait Implementations§
Source§impl Clone for CompilerConfig
impl Clone for CompilerConfig
Source§fn clone(&self) -> CompilerConfig
fn clone(&self) -> CompilerConfig
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 CompilerConfig
impl Debug for CompilerConfig
Auto Trait Implementations§
impl Freeze for CompilerConfig
impl RefUnwindSafe for CompilerConfig
impl Send for CompilerConfig
impl Sync for CompilerConfig
impl Unpin for CompilerConfig
impl UnsafeUnpin for CompilerConfig
impl UnwindSafe for CompilerConfig
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