pub struct ConvertConfig {
pub input: PathBuf,
pub output: Option<PathBuf>,
pub from_dialect: Option<SqlDialect>,
pub to_dialect: SqlDialect,
pub dry_run: bool,
pub progress: bool,
pub strict: bool,
}Expand description
Configuration for the convert command
Fields§
§input: PathBufInput SQL file
output: Option<PathBuf>Output SQL file (None for stdout)
from_dialect: Option<SqlDialect>Source dialect (auto-detected if None)
to_dialect: SqlDialectTarget dialect
dry_run: boolDry run mode
progress: boolShow progress
strict: boolStrict mode (fail on any unsupported feature)
Trait Implementations§
Source§impl Debug for ConvertConfig
impl Debug for ConvertConfig
Auto Trait Implementations§
impl Freeze for ConvertConfig
impl RefUnwindSafe for ConvertConfig
impl Send for ConvertConfig
impl Sync for ConvertConfig
impl Unpin for ConvertConfig
impl UnwindSafe for ConvertConfig
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