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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more