pub struct ErrDef {
pub status: u16,
pub title: &'static str,
pub code: &'static str,
pub type_url: &'static str,
}Expand description
Static error definition from catalog
Fields§
§status: u16§title: &'static str§code: &'static str§type_url: &'static strImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrDef
impl RefUnwindSafe for ErrDef
impl Send for ErrDef
impl Sync for ErrDef
impl Unpin for ErrDef
impl UnsafeUnpin for ErrDef
impl UnwindSafe for ErrDef
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