pub enum DatabaseObjectKind {
Database,
Schema,
Table,
Collection,
Column,
Index,
Constraint,
Relation,
View,
Migration,
Other,
}Expand description
Common database object kinds.
Variants§
Database
A database/catalog object.
Schema
A schema or namespace object.
Table
A relational table-like object.
Collection
A document collection-like object.
Column
A column or field-like object.
Index
An index object.
Constraint
A constraint object.
Relation
A relation or relationship object.
View
A view-like object.
Migration
A migration object.
Other
Other or intentionally unspecified object.
Implementations§
Trait Implementations§
Source§impl Clone for DatabaseObjectKind
impl Clone for DatabaseObjectKind
Source§fn clone(&self) -> DatabaseObjectKind
fn clone(&self) -> DatabaseObjectKind
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 moreSource§impl Debug for DatabaseObjectKind
impl Debug for DatabaseObjectKind
Source§impl Default for DatabaseObjectKind
impl Default for DatabaseObjectKind
Source§fn default() -> DatabaseObjectKind
fn default() -> DatabaseObjectKind
Returns the “default value” for a type. Read more
Source§impl Display for DatabaseObjectKind
impl Display for DatabaseObjectKind
Source§impl Hash for DatabaseObjectKind
impl Hash for DatabaseObjectKind
Source§impl Ord for DatabaseObjectKind
impl Ord for DatabaseObjectKind
Source§fn cmp(&self, other: &DatabaseObjectKind) -> Ordering
fn cmp(&self, other: &DatabaseObjectKind) -> 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 DatabaseObjectKind
impl PartialEq for DatabaseObjectKind
Source§fn eq(&self, other: &DatabaseObjectKind) -> bool
fn eq(&self, other: &DatabaseObjectKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DatabaseObjectKind
impl PartialOrd for DatabaseObjectKind
impl Copy for DatabaseObjectKind
impl Eq for DatabaseObjectKind
impl StructuralPartialEq for DatabaseObjectKind
Auto Trait Implementations§
impl Freeze for DatabaseObjectKind
impl RefUnwindSafe for DatabaseObjectKind
impl Send for DatabaseObjectKind
impl Sync for DatabaseObjectKind
impl Unpin for DatabaseObjectKind
impl UnsafeUnpin for DatabaseObjectKind
impl UnwindSafe for DatabaseObjectKind
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