pub enum DbQueryKind {
Select,
Insert,
Update,
Delete,
With,
Transaction,
Ddl,
Pragma,
Other,
}Expand description
Normalized database query kind used by infrastructure metrics.
Variants§
Select
SELECT or read-like query.
Insert
INSERT query.
Update
UPDATE query.
Delete
DELETE query.
With
Common table expression query.
Transaction
Transaction control statement.
Ddl
Data definition statement.
Pragma
SQLite PRAGMA statement.
Other
Query kind that could not be classified cheaply.
Implementations§
Trait Implementations§
Source§impl Clone for DbQueryKind
impl Clone for DbQueryKind
Source§fn clone(&self) -> DbQueryKind
fn clone(&self) -> DbQueryKind
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 moreSource§impl Debug for DbQueryKind
impl Debug for DbQueryKind
Source§impl PartialEq for DbQueryKind
impl PartialEq for DbQueryKind
Source§fn eq(&self, other: &DbQueryKind) -> bool
fn eq(&self, other: &DbQueryKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DbQueryKind
impl Eq for DbQueryKind
impl StructuralPartialEq for DbQueryKind
Auto Trait Implementations§
impl Freeze for DbQueryKind
impl RefUnwindSafe for DbQueryKind
impl Send for DbQueryKind
impl Sync for DbQueryKind
impl Unpin for DbQueryKind
impl UnsafeUnpin for DbQueryKind
impl UnwindSafe for DbQueryKind
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,
§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.