pub enum DatabaseKind {
Relational(Specific),
}
Variants§
Implementations§
Source§impl DatabaseKind
impl DatabaseKind
pub fn has_specific(&self) -> bool
Source§impl DatabaseKind
impl DatabaseKind
pub fn get_specific(&self) -> Option<Specific>
Source§impl DatabaseKind
impl DatabaseKind
pub fn resource_type(&self) -> ResourceType
Trait Implementations§
Source§impl Clone for DatabaseKind
impl Clone for DatabaseKind
Source§fn clone(&self) -> DatabaseKind
fn clone(&self) -> DatabaseKind
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 DatabaseKind
impl Debug for DatabaseKind
Source§impl<'de> Deserialize<'de> for DatabaseKind
impl<'de> Deserialize<'de> for DatabaseKind
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
Source§impl Hash for DatabaseKind
impl Hash for DatabaseKind
Source§impl Into<ResourceKind> for DatabaseKind
impl Into<ResourceKind> for DatabaseKind
Source§fn into(self) -> ResourceKind
fn into(self) -> ResourceKind
Converts this type into the (usually inferred) input type.
Source§impl Into<ResourceKindParts> for DatabaseKind
impl Into<ResourceKindParts> for DatabaseKind
Source§fn into(self) -> ResourceKindParts
fn into(self) -> ResourceKindParts
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for DatabaseKind
impl PartialEq for DatabaseKind
Source§impl Serialize for DatabaseKind
impl Serialize for DatabaseKind
Source§impl ToString for DatabaseKind
impl ToString for DatabaseKind
Source§impl TryFrom<ResourceKindParts> for DatabaseKind
impl TryFrom<ResourceKindParts> for DatabaseKind
Source§impl TryInto<DatabaseKind> for ResourceKind
impl TryInto<DatabaseKind> for ResourceKind
impl Eq for DatabaseKind
impl StructuralPartialEq for DatabaseKind
Auto Trait Implementations§
impl Freeze for DatabaseKind
impl RefUnwindSafe for DatabaseKind
impl Send for DatabaseKind
impl Sync for DatabaseKind
impl Unpin for DatabaseKind
impl UnwindSafe for DatabaseKind
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