pub enum DatabaseType {
Postgres,
Sqlite,
}
Expand description
The database type supported by this middleware
Variants§
Trait Implementations§
Source§impl Clone for DatabaseType
impl Clone for DatabaseType
Source§fn clone(&self) -> DatabaseType
fn clone(&self) -> DatabaseType
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 DatabaseType
impl Debug for DatabaseType
Source§impl Hash for DatabaseType
impl Hash for DatabaseType
Source§impl PartialEq for DatabaseType
impl PartialEq for DatabaseType
Source§impl ValueEnum for DatabaseType
impl ValueEnum for DatabaseType
impl Eq for DatabaseType
impl StructuralPartialEq for DatabaseType
Auto Trait Implementations§
impl Freeze for DatabaseType
impl RefUnwindSafe for DatabaseType
impl Send for DatabaseType
impl Sync for DatabaseType
impl Unpin for DatabaseType
impl UnwindSafe for DatabaseType
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