Enum DatabaseObjectKind
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§
§impl DatabaseObjectKind
impl DatabaseObjectKind
Trait Implementations§
§impl Clone for DatabaseObjectKind
impl Clone for DatabaseObjectKind
§fn clone(&self) -> DatabaseObjectKind
fn clone(&self) -> DatabaseObjectKind
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 more§impl Debug for DatabaseObjectKind
impl Debug for DatabaseObjectKind
§impl Default for DatabaseObjectKind
impl Default for DatabaseObjectKind
§fn default() -> DatabaseObjectKind
fn default() -> DatabaseObjectKind
Returns the “default value” for a type. Read more
§impl Display for DatabaseObjectKind
impl Display for DatabaseObjectKind
§impl Hash for DatabaseObjectKind
impl Hash for DatabaseObjectKind
§impl Ord for DatabaseObjectKind
impl Ord for DatabaseObjectKind
§fn cmp(&self, other: &DatabaseObjectKind) -> Ordering
fn cmp(&self, other: &DatabaseObjectKind) -> 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
§impl PartialEq for DatabaseObjectKind
impl PartialEq for DatabaseObjectKind
§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