pub struct DiagnosticResponse { /* private fields */ }Expand description
Payload-free response metadata admitted for diagnostics.
Implementations§
Source§impl DiagnosticResponse
impl DiagnosticResponse
Sourcepub const fn status(self) -> StatusCode
pub const fn status(self) -> StatusCode
Returns the bounded HTTP status code.
Sourcepub const fn request_id(self) -> DiagnosticRequestId
pub const fn request_id(self) -> DiagnosticRequestId
Returns request-ID disposition without exposing identifier bytes.
Trait Implementations§
Source§impl Clone for DiagnosticResponse
impl Clone for DiagnosticResponse
Source§fn clone(&self) -> DiagnosticResponse
fn clone(&self) -> DiagnosticResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiagnosticResponse
Source§impl Debug for DiagnosticResponse
impl Debug for DiagnosticResponse
impl Eq for DiagnosticResponse
Source§impl Hash for DiagnosticResponse
impl Hash for DiagnosticResponse
Source§impl Ord for DiagnosticResponse
impl Ord for DiagnosticResponse
Source§fn cmp(&self, other: &DiagnosticResponse) -> Ordering
fn cmp(&self, other: &DiagnosticResponse) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DiagnosticResponse
impl PartialEq for DiagnosticResponse
Source§impl PartialOrd for DiagnosticResponse
impl PartialOrd for DiagnosticResponse
impl StructuralPartialEq for DiagnosticResponse
Auto Trait Implementations§
impl Freeze for DiagnosticResponse
impl RefUnwindSafe for DiagnosticResponse
impl Send for DiagnosticResponse
impl Sync for DiagnosticResponse
impl Unpin for DiagnosticResponse
impl UnsafeUnpin for DiagnosticResponse
impl UnwindSafe for DiagnosticResponse
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