pub struct ConvertOptions {
pub schema: Option<String>,
pub include_all_schemas: bool,
pub enable_foreign_keys: bool,
pub strict: bool,
pub emit_warnings: Option<PathBuf>,
}Expand description
Options for the DDL conversion.
Fields§
§schema: Option<String>Schema to filter by (default: “public”).
include_all_schemas: boolIf true, include all schemas (bypass schema filtering).
enable_foreign_keys: boolIf true, emit PRAGMA foreign_keys = ON; and include FK constraints.
strict: boolIf true, fail on lossy conversions.
emit_warnings: Option<PathBuf>Path for warning output (None = stderr).
Trait Implementations§
Source§impl Clone for ConvertOptions
impl Clone for ConvertOptions
Source§fn clone(&self) -> ConvertOptions
fn clone(&self) -> ConvertOptions
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 ConvertOptions
impl Debug for ConvertOptions
Auto Trait Implementations§
impl Freeze for ConvertOptions
impl RefUnwindSafe for ConvertOptions
impl Send for ConvertOptions
impl Sync for ConvertOptions
impl Unpin for ConvertOptions
impl UnsafeUnpin for ConvertOptions
impl UnwindSafe for ConvertOptions
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