pub enum MaintainKind {
ReindexRelation,
ReindexSchema,
Whole,
ClusterRelation,
}Expand description
v7.39 (round 535) — which maintenance statement, and therefore what its target names. Measured on PG18: INDEX / TABLE / CLUSTER name a relation, SCHEMA names a schema, and SYSTEM / DATABASE name neither in a way SPG can refuse.
Variants§
ReindexRelation
ReindexSchema
Whole
REINDEX SYSTEM / REINDEX DATABASE, and a bare CLUSTER.
ClusterRelation
Trait Implementations§
Source§impl Clone for MaintainKind
impl Clone for MaintainKind
Source§fn clone(&self) -> MaintainKind
fn clone(&self) -> MaintainKind
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 moreimpl Copy for MaintainKind
Source§impl Debug for MaintainKind
impl Debug for MaintainKind
impl Eq for MaintainKind
Source§impl PartialEq for MaintainKind
impl PartialEq for MaintainKind
impl StructuralPartialEq for MaintainKind
Auto Trait Implementations§
impl Freeze for MaintainKind
impl RefUnwindSafe for MaintainKind
impl Send for MaintainKind
impl Sync for MaintainKind
impl Unpin for MaintainKind
impl UnsafeUnpin for MaintainKind
impl UnwindSafe for MaintainKind
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