#[non_exhaustive]pub struct QueryWarning {
pub code: u32,
pub message: String,
}Expand description
A warning returned by the query engine (non-fatal).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: u32The warning code.
message: StringA human-readable warning message.
Trait Implementations§
Source§impl Clone for QueryWarning
impl Clone for QueryWarning
Source§fn clone(&self) -> QueryWarning
fn clone(&self) -> QueryWarning
Returns a duplicate 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 QueryWarning
impl Debug for QueryWarning
Source§impl From<Warning> for QueryWarning
impl From<Warning> for QueryWarning
Source§impl Hash for QueryWarning
impl Hash for QueryWarning
Source§impl Ord for QueryWarning
impl Ord for QueryWarning
Source§fn cmp(&self, other: &QueryWarning) -> Ordering
fn cmp(&self, other: &QueryWarning) -> Ordering
1.21.0 · 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 QueryWarning
impl PartialEq for QueryWarning
Source§impl PartialOrd for QueryWarning
impl PartialOrd for QueryWarning
impl Eq for QueryWarning
impl StructuralPartialEq for QueryWarning
Auto Trait Implementations§
impl Freeze for QueryWarning
impl RefUnwindSafe for QueryWarning
impl Send for QueryWarning
impl Sync for QueryWarning
impl Unpin for QueryWarning
impl UnsafeUnpin for QueryWarning
impl UnwindSafe for QueryWarning
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.