Struct htrpc::rfc7807::ProblemResponse [] [src]

pub struct ProblemResponse { /* fields omitted */ }

An RPC response that comforms RFC 7807.

This is created by calling the Problem::into_response method.

Methods

impl ProblemResponse
[src]

[src]

Returns the Problem instance of this response.

[src]

Sets the Problem instance of this response.

Trait Implementations

impl Debug for ProblemResponse
[src]

[src]

Formats the value using the given formatter.

impl RpcResponse for ProblemResponse
[src]

[src]

Returns the body of this HTTP response.

[src]

Sets the body of this HTTP response.