pub struct VacuumStatement {
pub full: bool,
pub sort_only: bool,
pub delete_only: bool,
pub reindex: bool,
pub recluster: bool,
pub table_name: Option<ObjectName>,
pub threshold: Option<Value>,
pub boost: bool,
}Expand description
Re-sorts rows and reclaims space in either a specified table or all tables in the current database
‘’’sql VACUUM [ FULL | SORT ONLY | DELETE ONLY | REINDEX | RECLUSTER ] [ [ table_name ] [ TO threshold PERCENT ] [ BOOST ] ] ‘’’ Redshift
Fields§
§full: bool§sort_only: bool§delete_only: bool§reindex: bool§recluster: bool§table_name: Option<ObjectName>§threshold: Option<Value>§boost: boolTrait Implementations§
Source§impl Clone for VacuumStatement
impl Clone for VacuumStatement
Source§fn clone(&self) -> VacuumStatement
fn clone(&self) -> VacuumStatement
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 VacuumStatement
impl Debug for VacuumStatement
Source§impl<'de> Deserialize<'de> for VacuumStatement
impl<'de> Deserialize<'de> for VacuumStatement
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 Display for VacuumStatement
impl Display for VacuumStatement
Source§impl From<VacuumStatement> for Statement
impl From<VacuumStatement> for Statement
Source§fn from(v: VacuumStatement) -> Self
fn from(v: VacuumStatement) -> Self
Converts to this type from the input type.
Source§impl Hash for VacuumStatement
impl Hash for VacuumStatement
Source§impl Ord for VacuumStatement
impl Ord for VacuumStatement
Source§fn cmp(&self, other: &VacuumStatement) -> Ordering
fn cmp(&self, other: &VacuumStatement) -> 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
Source§impl PartialEq for VacuumStatement
impl PartialEq for VacuumStatement
Source§impl PartialOrd for VacuumStatement
impl PartialOrd for VacuumStatement
Source§impl Serialize for VacuumStatement
impl Serialize for VacuumStatement
Source§impl Visit for VacuumStatement
impl Visit for VacuumStatement
Source§impl VisitMut for VacuumStatement
impl VisitMut for VacuumStatement
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for VacuumStatement
impl StructuralPartialEq for VacuumStatement
Auto Trait Implementations§
impl Freeze for VacuumStatement
impl RefUnwindSafe for VacuumStatement
impl Send for VacuumStatement
impl Sync for VacuumStatement
impl Unpin for VacuumStatement
impl UnwindSafe for VacuumStatement
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