#[non_exhaustive]pub struct OperationErrors {
pub kind: String,
pub errors: Vec<OperationError>,
/* private fields */
}
Expand description
Database instance operation errors list wrapper.
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#operationErrors
.
errors: Vec<OperationError>
The list of errors encountered while processing this operation.
Implementations§
Source§impl OperationErrors
impl OperationErrors
pub fn new() -> Self
Sourcepub fn set_errors<T, V>(self, v: T) -> Self
pub fn set_errors<T, V>(self, v: T) -> Self
Sets the value of errors.
Trait Implementations§
Source§impl Clone for OperationErrors
impl Clone for OperationErrors
Source§fn clone(&self) -> OperationErrors
fn clone(&self) -> OperationErrors
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 OperationErrors
impl Debug for OperationErrors
Source§impl Default for OperationErrors
impl Default for OperationErrors
Source§fn default() -> OperationErrors
fn default() -> OperationErrors
Returns the “default value” for a type. Read more
Source§impl Message for OperationErrors
impl Message for OperationErrors
Source§impl PartialEq for OperationErrors
impl PartialEq for OperationErrors
impl StructuralPartialEq for OperationErrors
Auto Trait Implementations§
impl Freeze for OperationErrors
impl RefUnwindSafe for OperationErrors
impl Send for OperationErrors
impl Sync for OperationErrors
impl Unpin for OperationErrors
impl UnwindSafe for OperationErrors
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