pub enum StatementType {
Show 77 variants
INSERT,
INSERT_RETURNING,
DELETE,
DELETE_RETURNING,
UPDATE,
UPDATE_RETURNING,
SELECT,
MOVE,
FETCH,
COPY,
EXPLAIN,
CLOSE_CURSOR,
CREATE_TABLE,
CREATE_MATERIALIZED_VIEW,
CREATE_VIEW,
CREATE_SOURCE,
CREATE_SINK,
CREATE_SUBSCRIPTION,
CREATE_DATABASE,
CREATE_SCHEMA,
CREATE_USER,
CREATE_INDEX,
CREATE_AGGREGATE,
CREATE_FUNCTION,
CREATE_CONNECTION,
CREATE_SECRET,
COMMENT,
DECLARE_CURSOR,
DESCRIBE,
GRANT_PRIVILEGE,
DISCARD,
DROP_TABLE,
DROP_MATERIALIZED_VIEW,
DROP_VIEW,
DROP_INDEX,
DROP_FUNCTION,
DROP_AGGREGATE,
DROP_SOURCE,
DROP_SINK,
DROP_SUBSCRIPTION,
DROP_SCHEMA,
DROP_DATABASE,
DROP_USER,
DROP_CONNECTION,
DROP_SECRET,
ALTER_DATABASE,
ALTER_SCHEMA,
ALTER_INDEX,
ALTER_VIEW,
ALTER_TABLE,
ALTER_MATERIALIZED_VIEW,
ALTER_SINK,
ALTER_SUBSCRIPTION,
ALTER_SOURCE,
ALTER_FUNCTION,
ALTER_CONNECTION,
ALTER_SYSTEM,
REVOKE_PRIVILEGE,
ORDER_BY,
SET_VARIABLE,
SHOW_VARIABLE,
SHOW_COMMAND,
START_TRANSACTION,
UPDATE_USER,
ABORT,
FLUSH,
OTHER,
EMPTY,
BEGIN,
COMMIT,
ROLLBACK,
SET_TRANSACTION,
CANCEL_COMMAND,
FETCH_CURSOR,
WAIT,
KILL,
RECOVER,
}
Variants§
INSERT
INSERT_RETURNING
DELETE
DELETE_RETURNING
UPDATE
UPDATE_RETURNING
SELECT
MOVE
FETCH
COPY
EXPLAIN
CLOSE_CURSOR
CREATE_TABLE
CREATE_MATERIALIZED_VIEW
CREATE_VIEW
CREATE_SOURCE
CREATE_SINK
CREATE_SUBSCRIPTION
CREATE_DATABASE
CREATE_SCHEMA
CREATE_USER
CREATE_INDEX
CREATE_AGGREGATE
CREATE_FUNCTION
CREATE_CONNECTION
CREATE_SECRET
COMMENT
DECLARE_CURSOR
DESCRIBE
GRANT_PRIVILEGE
DISCARD
DROP_TABLE
DROP_MATERIALIZED_VIEW
DROP_VIEW
DROP_INDEX
DROP_FUNCTION
DROP_AGGREGATE
DROP_SOURCE
DROP_SINK
DROP_SUBSCRIPTION
DROP_SCHEMA
DROP_DATABASE
DROP_USER
DROP_CONNECTION
DROP_SECRET
ALTER_DATABASE
ALTER_SCHEMA
ALTER_INDEX
ALTER_VIEW
ALTER_TABLE
ALTER_MATERIALIZED_VIEW
ALTER_SINK
ALTER_SUBSCRIPTION
ALTER_SOURCE
ALTER_FUNCTION
ALTER_CONNECTION
ALTER_SYSTEM
REVOKE_PRIVILEGE
ORDER_BY
SET_VARIABLE
SHOW_VARIABLE
SHOW_COMMAND
START_TRANSACTION
UPDATE_USER
ABORT
FLUSH
OTHER
EMPTY
BEGIN
COMMIT
ROLLBACK
SET_TRANSACTION
CANCEL_COMMAND
FETCH_CURSOR
WAIT
KILL
RECOVER
Implementations§
source§impl StatementType
impl StatementType
Trait Implementations§
source§impl Clone for StatementType
impl Clone for StatementType
source§fn clone(&self) -> StatementType
fn clone(&self) -> StatementType
Returns a copy 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 StatementType
impl Debug for StatementType
source§impl Display for StatementType
impl Display for StatementType
source§impl PartialEq for StatementType
impl PartialEq for StatementType
impl Copy for StatementType
impl Eq for StatementType
impl StructuralPartialEq for StatementType
Auto Trait Implementations§
impl Freeze for StatementType
impl RefUnwindSafe for StatementType
impl Send for StatementType
impl Sync for StatementType
impl Unpin for StatementType
impl UnwindSafe for StatementType
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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<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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
source§impl<M> MetricVecRelabelExt for M
impl<M> MetricVecRelabelExt for M
source§fn relabel(
self,
metric_level: MetricLevel,
relabel_threshold: MetricLevel,
) -> RelabeledMetricVec<M>
fn relabel( self, metric_level: MetricLevel, relabel_threshold: MetricLevel, ) -> RelabeledMetricVec<M>
Equivalent to
RelabeledMetricVec::with_metric_level
.source§fn relabel_n(
self,
metric_level: MetricLevel,
relabel_threshold: MetricLevel,
relabel_num: usize,
) -> RelabeledMetricVec<M>
fn relabel_n( self, metric_level: MetricLevel, relabel_threshold: MetricLevel, relabel_num: usize, ) -> RelabeledMetricVec<M>
Equivalent to
RelabeledMetricVec::with_metric_level_relabel_n
.source§fn relabel_debug_1(
self,
relabel_threshold: MetricLevel,
) -> RelabeledMetricVec<M>
fn relabel_debug_1( self, relabel_threshold: MetricLevel, ) -> RelabeledMetricVec<M>
Equivalent to
RelabeledMetricVec::with_metric_level_relabel_n
with metric_level
set to
MetricLevel::Debug
and relabel_num
set to 1.