pub struct ErrorRpcResponse {
pub status: u16,
pub code: String,
pub category: ErrorCategory,
pub reason: String,
pub detail: Option<String>,
pub visibility: Visibility,
pub hints: Vec<String>,
pub retryable: bool,
}Fields§
§status: u16§code: String§category: ErrorCategory§reason: String§detail: Option<String>§visibility: Visibility§hints: Vec<String>§retryable: boolTrait Implementations§
Source§impl Clone for ErrorRpcResponse
impl Clone for ErrorRpcResponse
Source§fn clone(&self) -> ErrorRpcResponse
fn clone(&self) -> ErrorRpcResponse
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 ErrorRpcResponse
impl Debug for ErrorRpcResponse
Source§impl PartialEq for ErrorRpcResponse
impl PartialEq for ErrorRpcResponse
impl Eq for ErrorRpcResponse
impl StructuralPartialEq for ErrorRpcResponse
Auto Trait Implementations§
impl Freeze for ErrorRpcResponse
impl RefUnwindSafe for ErrorRpcResponse
impl Send for ErrorRpcResponse
impl Sync for ErrorRpcResponse
impl Unpin for ErrorRpcResponse
impl UnsafeUnpin for ErrorRpcResponse
impl UnwindSafe for ErrorRpcResponse
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