Struct atrium_api::xrpc::XrpcResponseError
source · pub struct XrpcResponseError<E>where
E: Debug + PartialEq + Eq,{
pub status: StatusCode,
pub error: Option<XrpcError<E>>,
}Fields§
§status: StatusCode§error: Option<XrpcError<E>>Trait Implementations§
source§impl<E> Clone for XrpcResponseError<E>where
E: Debug + PartialEq + Eq + Clone,
impl<E> Clone for XrpcResponseError<E>where E: Debug + PartialEq + Eq + Clone,
source§fn clone(&self) -> XrpcResponseError<E>
fn clone(&self) -> XrpcResponseError<E>
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<E> Error for XrpcResponseError<E>where
E: Debug + PartialEq + Eq,
impl<E> Error for XrpcResponseError<E>where E: Debug + PartialEq + Eq,
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<E> PartialEq<XrpcResponseError<E>> for XrpcResponseError<E>where
E: Debug + PartialEq + Eq + PartialEq,
impl<E> PartialEq<XrpcResponseError<E>> for XrpcResponseError<E>where E: Debug + PartialEq + Eq + PartialEq,
source§fn eq(&self, other: &XrpcResponseError<E>) -> bool
fn eq(&self, other: &XrpcResponseError<E>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<E> Eq for XrpcResponseError<E>where E: Debug + PartialEq + Eq + Eq,
impl<E> StructuralEq for XrpcResponseError<E>where E: Debug + PartialEq + Eq,
impl<E> StructuralPartialEq for XrpcResponseError<E>where E: Debug + PartialEq + Eq,
Auto Trait Implementations§
impl<E> RefUnwindSafe for XrpcResponseError<E>where E: RefUnwindSafe,
impl<E> Send for XrpcResponseError<E>where E: Send,
impl<E> Sync for XrpcResponseError<E>where E: Sync,
impl<E> Unpin for XrpcResponseError<E>where E: Unpin,
impl<E> UnwindSafe for XrpcResponseError<E>where E: UnwindSafe,
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