pub enum RelKind {
Table,
Index,
Sequence,
Toast,
View,
Composite,
Partitioned,
PartitionedIndex,
MatView,
}Expand description
The kind of a relation, relkind.
Variants§
Table
An ordinary table, r.
Index
An index, i.
Sequence
A sequence, S.
Toast
A TOAST table, t.
View
A view, v.
Composite
The relation of a composite type that CREATE TYPE ... AS makes, c.
Partitioned
A partitioned table, p. It has no storage. Its rows are in its partitions.
PartitionedIndex
The index of a partitioned table, I. It has no storage. Its partitions are the indexes of the partitions of the table.
MatView
A materialized view, m. It keeps the rows of its query in a heap as a table does, and it has a _RETURN rule as a view does.
Implementations§
Trait Implementations§
impl Copy for RelKind
impl Eq for RelKind
impl StructuralPartialEq for RelKind
Auto Trait Implementations§
impl Freeze for RelKind
impl RefUnwindSafe for RelKind
impl Send for RelKind
impl Sync for RelKind
impl Unpin for RelKind
impl UnsafeUnpin for RelKind
impl UnwindSafe for RelKind
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