pub struct AlterSystemStatement {
pub query_timeout: AlterKind<Expr>,
pub compact: bool,
}Expand description
Alters system-wide settings and maintenance operations.
Supported operations:
query_timeout: set/drop a global query timeout which is enforced across queries. The value is evaluated as aDurationexpression at runtime.compact: runs a storage compaction across the entire datastore.
Fields§
§query_timeout: AlterKind<Expr>Global query timeout alteration. Set evaluates an expression to a
Duration; Drop clears the timeout; None leaves it unchanged.
compact: boolWhen true, triggers a datastore-wide compaction.
Trait Implementations§
Source§impl Clone for AlterSystemStatement
impl Clone for AlterSystemStatement
Source§impl Debug for AlterSystemStatement
impl Debug for AlterSystemStatement
Source§impl Default for AlterSystemStatement
impl Default for AlterSystemStatement
impl Eq for AlterSystemStatement
Source§impl From<AlterSystemStatement> for AlterSystemStatement
impl From<AlterSystemStatement> for AlterSystemStatement
Source§fn from(v: AlterSystemStatement) -> Self
fn from(v: AlterSystemStatement) -> Self
Converts to this type from the input type.
Source§impl From<AlterSystemStatement> for AlterSystemStatement
impl From<AlterSystemStatement> for AlterSystemStatement
Source§fn from(v: AlterSystemStatement) -> Self
fn from(v: AlterSystemStatement) -> Self
Converts to this type from the input type.
Source§impl Hash for AlterSystemStatement
impl Hash for AlterSystemStatement
Source§impl PartialEq for AlterSystemStatement
impl PartialEq for AlterSystemStatement
impl StructuralPartialEq for AlterSystemStatement
Source§impl ToSql for AlterSystemStatement
impl ToSql for AlterSystemStatement
Source§impl<V: Visitor> Visit<V> for AlterSystemStatement
impl<V: Visitor> Visit<V> for AlterSystemStatement
Auto Trait Implementations§
impl !Freeze for AlterSystemStatement
impl RefUnwindSafe for AlterSystemStatement
impl Send for AlterSystemStatement
impl Sync for AlterSystemStatement
impl Unpin for AlterSystemStatement
impl UnsafeUnpin for AlterSystemStatement
impl UnwindSafe for AlterSystemStatement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.