pub struct SqliteCastCheck {
pub table: String,
pub column: String,
pub sql: String,
}Expand description
One SQLite CAST that needs a pre-copy loss check: sql returns a row
when some non-NULL value in table.column would change under the cast.
Fields§
§table: StringTable holding the old rows.
column: StringColumn whose values would change.
sql: StringSELECT 1 ... LIMIT 1 probe; a non-empty result means lossy rows.
Auto Trait Implementations§
impl Freeze for SqliteCastCheck
impl RefUnwindSafe for SqliteCastCheck
impl Send for SqliteCastCheck
impl Sync for SqliteCastCheck
impl Unpin for SqliteCastCheck
impl UnsafeUnpin for SqliteCastCheck
impl UnwindSafe for SqliteCastCheck
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