pub struct CommonError {
pub status: StatusCode,
pub message: InnerError,
}
Fields§
§status: StatusCode
§message: InnerError
Implementations§
Source§impl CommonError
impl CommonError
Trait Implementations§
Source§impl Debug for CommonError
impl Debug for CommonError
Source§impl Display for CommonError
impl Display for CommonError
Source§impl IntoResponse for CommonError
impl IntoResponse for CommonError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for CommonError
impl RefUnwindSafe for CommonError
impl Send for CommonError
impl Sync for CommonError
impl Unpin for CommonError
impl UnwindSafe for CommonError
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