Struct edgedb_protocol::server_message::ErrorResponse
source · pub struct ErrorResponse {
pub severity: ErrorSeverity,
pub code: u32,
pub message: String,
pub attributes: KeyValues,
}Fields§
§severity: ErrorSeverity§code: u32§message: String§attributes: KeyValuesTrait Implementations§
source§impl Clone for ErrorResponse
impl Clone for ErrorResponse
source§fn clone(&self) -> ErrorResponse
fn clone(&self) -> ErrorResponse
Returns a copy 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 ErrorResponse
impl Debug for ErrorResponse
source§impl From<ErrorResponse> for Error
impl From<ErrorResponse> for Error
source§fn from(val: ErrorResponse) -> Self
fn from(val: ErrorResponse) -> Self
Converts to this type from the input type.
source§impl PartialEq for ErrorResponse
impl PartialEq for ErrorResponse
source§fn eq(&self, other: &ErrorResponse) -> bool
fn eq(&self, other: &ErrorResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ErrorResponse
impl StructuralPartialEq for ErrorResponse
Auto Trait Implementations§
impl Freeze for ErrorResponse
impl RefUnwindSafe for ErrorResponse
impl Send for ErrorResponse
impl Sync for ErrorResponse
impl Unpin for ErrorResponse
impl UnwindSafe for ErrorResponse
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