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