pub enum DatabaseBackend {
Postgres,
Sqlite,
}Variants§
Trait Implementations§
Source§impl Clone for DatabaseBackend
impl Clone for DatabaseBackend
Source§fn clone(&self) -> DatabaseBackend
fn clone(&self) -> DatabaseBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DatabaseBackend
Source§impl Debug for DatabaseBackend
impl Debug for DatabaseBackend
Source§impl<'de> Deserialize<'de> for DatabaseBackend
impl<'de> Deserialize<'de> for DatabaseBackend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DatabaseBackend
Source§impl Ord for DatabaseBackend
impl Ord for DatabaseBackend
Source§fn cmp(&self, other: &DatabaseBackend) -> Ordering
fn cmp(&self, other: &DatabaseBackend) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DatabaseBackend
impl PartialEq for DatabaseBackend
Source§impl PartialOrd for DatabaseBackend
impl PartialOrd for DatabaseBackend
Source§impl Serialize for DatabaseBackend
impl Serialize for DatabaseBackend
impl StructuralPartialEq for DatabaseBackend
Auto Trait Implementations§
impl Freeze for DatabaseBackend
impl RefUnwindSafe for DatabaseBackend
impl Send for DatabaseBackend
impl Sync for DatabaseBackend
impl Unpin for DatabaseBackend
impl UnsafeUnpin for DatabaseBackend
impl UnwindSafe for DatabaseBackend
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