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]
fn problem(&self) -> &Problem
[src]
Returns the Problem
instance of this response.
fn set_problem(&mut self, problem: Problem)
[src]
Sets the Problem
instance of this response.