pub struct ProblemDetail {
pub type: String,
pub title: String,
pub status: u16,
pub detail: String,
pub instance: String,
pub message: String,
pub documentation_url: String,
pub errors: Vec<FieldError>,
pub ok: Option<bool>,
}Expand description
RFC 9457 Problem Details payload with GitHub-class compatibility extensions.
Fields§
§type: String§title: String§status: u16§detail: String§instance: String§message: StringGitHub-class client compatibility extension (mirrors detail).
documentation_url: String§errors: Vec<FieldError>§ok: Option<bool>Transition compatibility flag used by v2.0 Kinetic endpoints (K-d).
Trait Implementations§
Source§impl Clone for ProblemDetail
impl Clone for ProblemDetail
Source§impl Debug for ProblemDetail
impl Debug for ProblemDetail
Auto Trait Implementations§
impl Forget for ProblemDetail
impl Freeze for ProblemDetail
impl Move for ProblemDetail
impl RefUnwindSafe for ProblemDetail
impl Send for ProblemDetailwhere
RawVecInner: Send,
impl Sync for ProblemDetailwhere
RawVecInner: Sync,
impl Unpin for ProblemDetail
impl UnsafeUnpin for ProblemDetailwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FieldError>: UnsafeUnpin,
impl UnwindSafe for ProblemDetailwhere
RawVecInner: 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