pub enum SqlWarningLevel {
Note,
Warning,
Error,
}Expand description
Severity level of a SQL warning.
Maps directly to MySQL’s Level column in SHOW WARNINGS.
Variants§
Note
Informational message — no data modification occurred.
Warning
A value was adjusted or truncated; data was still stored.
Error
The operation failed with an error surfaced as a warning
(seen inside stored procedures or IGNORE-mode DML).
Trait Implementations§
Source§impl Clone for SqlWarningLevel
impl Clone for SqlWarningLevel
Source§fn clone(&self) -> SqlWarningLevel
fn clone(&self) -> SqlWarningLevel
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 SqlWarningLevel
impl Debug for SqlWarningLevel
Source§impl Display for SqlWarningLevel
impl Display for SqlWarningLevel
impl Eq for SqlWarningLevel
Source§impl PartialEq for SqlWarningLevel
impl PartialEq for SqlWarningLevel
Source§fn eq(&self, other: &SqlWarningLevel) -> bool
fn eq(&self, other: &SqlWarningLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SqlWarningLevel
Auto Trait Implementations§
impl Freeze for SqlWarningLevel
impl RefUnwindSafe for SqlWarningLevel
impl Send for SqlWarningLevel
impl Sync for SqlWarningLevel
impl Unpin for SqlWarningLevel
impl UnsafeUnpin for SqlWarningLevel
impl UnwindSafe for SqlWarningLevel
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