pub struct SQLTypeMapper {
pub source_dialect: SQLDialect,
pub target_dialect: SQLDialect,
}Fields§
§source_dialect: SQLDialect§target_dialect: SQLDialectImplementations§
Source§impl SQLTypeMapper
impl SQLTypeMapper
pub fn new(source: SQLDialect, target: SQLDialect) -> Self
pub fn map_integer(&self) -> &'static str
pub fn map_bigint(&self) -> &'static str
pub fn map_text(&self) -> &'static str
pub fn map_boolean(&self) -> &'static str
pub fn map_timestamp(&self) -> &'static str
pub fn map_json(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for SQLTypeMapper
impl RefUnwindSafe for SQLTypeMapper
impl Send for SQLTypeMapper
impl Sync for SQLTypeMapper
impl Unpin for SQLTypeMapper
impl UnsafeUnpin for SQLTypeMapper
impl UnwindSafe for SQLTypeMapper
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