pub enum ConvertWarning {
UnsupportedFeature {
feature: String,
suggestion: Option<String>,
},
LossyConversion {
from_type: String,
to_type: String,
table: Option<String>,
column: Option<String>,
},
SkippedStatement {
reason: String,
statement_preview: String,
},
CopyNotConverted {
table: String,
},
}Expand description
Warning types that can occur during conversion
Variants§
UnsupportedFeature
Feature not supported in target dialect
LossyConversion
Data type conversion may lose precision
SkippedStatement
Statement was skipped
CopyNotConverted
COPY statement needs conversion (PostgreSQL)
Trait Implementations§
Source§impl Clone for ConvertWarning
impl Clone for ConvertWarning
Source§fn clone(&self) -> ConvertWarning
fn clone(&self) -> ConvertWarning
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConvertWarning
impl Debug for ConvertWarning
Source§impl Display for ConvertWarning
impl Display for ConvertWarning
Source§impl PartialEq for ConvertWarning
impl PartialEq for ConvertWarning
impl StructuralPartialEq for ConvertWarning
Auto Trait Implementations§
impl Freeze for ConvertWarning
impl RefUnwindSafe for ConvertWarning
impl Send for ConvertWarning
impl Sync for ConvertWarning
impl Unpin for ConvertWarning
impl UnwindSafe for ConvertWarning
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)