pub enum BackendKind {
Postgres,
Mysql,
Sqlite,
Unknown,
}Variants§
Implementations§
Source§impl BackendKind
impl BackendKind
Sourcepub fn quote_ident(self, ident: &str) -> String
pub fn quote_ident(self, ident: &str) -> String
Quote an identifier for this backend: backticks on MySQL, " elsewhere.
Trait Implementations§
Source§impl Clone for BackendKind
impl Clone for BackendKind
impl Copy for BackendKind
Source§impl Debug for BackendKind
impl Debug for BackendKind
impl Eq for BackendKind
Source§impl PartialEq for BackendKind
impl PartialEq for BackendKind
impl StructuralPartialEq for BackendKind
Auto Trait Implementations§
impl Forget for BackendKind
impl Freeze for BackendKind
impl RefUnwindSafe for BackendKind
impl Send for BackendKind
impl Sync for BackendKind
impl Unpin for BackendKind
impl UnsafeUnpin for BackendKind
impl UnwindSafe for BackendKind
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