pub enum DatabaseTy {
Mysql,
Postgres,
Unit,
}Available on crate feature
database only.Expand description
Database
Variants§
Implementations§
Source§impl DatabaseTy
impl DatabaseTy
Sourcepub const fn strings(&self) -> EnumVarStrings<{ _ }>
pub const fn strings(&self) -> EnumVarStrings<{ _ }>
Trait Implementations§
Source§impl Clone for DatabaseTy
impl Clone for DatabaseTy
Source§fn clone(&self) -> DatabaseTy
fn clone(&self) -> DatabaseTy
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 DatabaseTy
impl Debug for DatabaseTy
Source§impl Display for DatabaseTy
impl Display for DatabaseTy
Source§impl From<DatabaseTy> for u8
impl From<DatabaseTy> for u8
Source§fn from(from: DatabaseTy) -> Self
fn from(from: DatabaseTy) -> Self
Converts to this type from the input type.
Source§impl FromStr for DatabaseTy
impl FromStr for DatabaseTy
Source§impl Ord for DatabaseTy
impl Ord for DatabaseTy
Source§fn cmp(&self, other: &DatabaseTy) -> Ordering
fn cmp(&self, other: &DatabaseTy) -> Ordering
1.21.0 · 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 DatabaseTy
impl PartialEq for DatabaseTy
Source§impl PartialOrd for DatabaseTy
impl PartialOrd for DatabaseTy
Source§impl TryFrom<&[u8]> for DatabaseTy
impl TryFrom<&[u8]> for DatabaseTy
Source§impl TryFrom<&str> for DatabaseTy
impl TryFrom<&str> for DatabaseTy
Source§impl TryFrom<u8> for DatabaseTy
impl TryFrom<u8> for DatabaseTy
impl Copy for DatabaseTy
impl Eq for DatabaseTy
impl StructuralPartialEq for DatabaseTy
Auto Trait Implementations§
impl Freeze for DatabaseTy
impl RefUnwindSafe for DatabaseTy
impl Send for DatabaseTy
impl Sync for DatabaseTy
impl Unpin for DatabaseTy
impl UnwindSafe for DatabaseTy
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