pub struct CommonError {
pub code: i16,
pub message: String,
}Fields§
§code: i16§message: StringImplementations§
Trait Implementations§
Source§impl ComposeSchema for CommonError
impl ComposeSchema for CommonError
Source§impl Debug for CommonError
impl Debug for CommonError
Source§impl Serialize for CommonError
impl Serialize for CommonError
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