pub enum SqlQueryIntent {
Read,
Write,
SchemaChange,
Maintenance,
Unknown,
}Expand description
Broad query intent labels.
Variants§
Trait Implementations§
Source§impl Clone for SqlQueryIntent
impl Clone for SqlQueryIntent
Source§fn clone(&self) -> SqlQueryIntent
fn clone(&self) -> SqlQueryIntent
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 SqlQueryIntent
impl Debug for SqlQueryIntent
Source§impl Default for SqlQueryIntent
impl Default for SqlQueryIntent
Source§fn default() -> SqlQueryIntent
fn default() -> SqlQueryIntent
Returns the “default value” for a type. Read more
Source§impl Hash for SqlQueryIntent
impl Hash for SqlQueryIntent
Source§impl Ord for SqlQueryIntent
impl Ord for SqlQueryIntent
Source§fn cmp(&self, other: &SqlQueryIntent) -> Ordering
fn cmp(&self, other: &SqlQueryIntent) -> Ordering
1.21.0 (const: unstable) · 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 SqlQueryIntent
impl PartialEq for SqlQueryIntent
Source§fn eq(&self, other: &SqlQueryIntent) -> bool
fn eq(&self, other: &SqlQueryIntent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SqlQueryIntent
impl PartialOrd for SqlQueryIntent
impl Copy for SqlQueryIntent
impl Eq for SqlQueryIntent
impl StructuralPartialEq for SqlQueryIntent
Auto Trait Implementations§
impl Freeze for SqlQueryIntent
impl RefUnwindSafe for SqlQueryIntent
impl Send for SqlQueryIntent
impl Sync for SqlQueryIntent
impl Unpin for SqlQueryIntent
impl UnsafeUnpin for SqlQueryIntent
impl UnwindSafe for SqlQueryIntent
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