#[non_exhaustive]pub struct OperationError {
pub kind: String,
pub code: String,
pub message: String,
/* private fields */
}
Expand description
Database instance operation error.
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.kind: String
This is always sql#operationError
.
code: String
Identifies the specific error that occurred.
message: String
Additional information about the error encountered.
Implementations§
Trait Implementations§
Source§impl Clone for OperationError
impl Clone for OperationError
Source§fn clone(&self) -> OperationError
fn clone(&self) -> OperationError
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 OperationError
impl Debug for OperationError
Source§impl Default for OperationError
impl Default for OperationError
Source§fn default() -> OperationError
fn default() -> OperationError
Returns the “default value” for a type. Read more
Source§impl Message for OperationError
impl Message for OperationError
Source§impl PartialEq for OperationError
impl PartialEq for OperationError
impl StructuralPartialEq for OperationError
Auto Trait Implementations§
impl Freeze for OperationError
impl RefUnwindSafe for OperationError
impl Send for OperationError
impl Sync for OperationError
impl Unpin for OperationError
impl UnwindSafe for OperationError
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