pub struct AlterSystemStatement {
pub query_timeout: AlterKind<Expr>,
pub compact: bool,
}Expand description
AST node for ALTER SYSTEM.
Supported operations:
QUERY_TIMEOUT <duration>: sets the global query timeoutDROP QUERY_TIMEOUT: clears the global query timeoutCOMPACT: requests datastore‑wide compaction
Fields§
§query_timeout: AlterKind<Expr>Tri‑state alteration for the QUERY_TIMEOUT parameter.
compact: boolWhen true, emits COMPACT.
Trait Implementations§
Source§impl Clone for AlterSystemStatement
impl Clone for AlterSystemStatement
Source§fn clone(&self) -> AlterSystemStatement
fn clone(&self) -> AlterSystemStatement
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 AlterSystemStatement
impl Debug for AlterSystemStatement
Source§impl Default for AlterSystemStatement
impl Default for AlterSystemStatement
Source§fn default() -> AlterSystemStatement
fn default() -> AlterSystemStatement
Returns the “default value” for a type. Read more
Source§impl PartialEq for AlterSystemStatement
impl PartialEq for AlterSystemStatement
Source§impl ToSql for AlterSystemStatement
impl ToSql for AlterSystemStatement
impl Eq for AlterSystemStatement
impl StructuralPartialEq 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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more