pub struct SqlCodegenConfig {
pub schema_paths: Vec<PathBuf>,
pub queries_dir: PathBuf,
pub output_dir: PathBuf,
pub dialect: SqlDialect,
pub languages: Vec<TargetLanguage>,
pub decimal_mode: DecimalMode,
pub strict: bool,
pub emit_openapi: bool,
pub api_title: String,
pub api_version: String,
}Fields§
§schema_paths: Vec<PathBuf>§queries_dir: PathBuf§output_dir: PathBuf§dialect: SqlDialect§languages: Vec<TargetLanguage>§decimal_mode: DecimalMode§strict: bool§emit_openapi: bool§api_title: String§api_version: StringTrait Implementations§
Source§impl Clone for SqlCodegenConfig
impl Clone for SqlCodegenConfig
Source§fn clone(&self) -> SqlCodegenConfig
fn clone(&self) -> SqlCodegenConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SqlCodegenConfig
impl RefUnwindSafe for SqlCodegenConfig
impl Send for SqlCodegenConfig
impl Sync for SqlCodegenConfig
impl Unpin for SqlCodegenConfig
impl UnsafeUnpin for SqlCodegenConfig
impl UnwindSafe for SqlCodegenConfig
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