Struct htrpc::rfc7807::TrackableProblem [] [src]

pub struct TrackableProblem {
    pub title: String,
    pub status: u16,
    pub detail: Option<String>,
    pub instance: Option<Url>,
    pub history: Option<Vec<String>>,
}

A problem type which represents trackable errors.

Fields

The title of this problem.

The status of this problem.

The detail information of this problem.

The instance URI of this problem.

The tracking history of this problem (this type specific field).

Methods

impl TrackableProblem
[src]

[src]

Makes a new TrackableProblem instance.

Trait Implementations

impl Debug for TrackableProblem
[src]

[src]

Formats the value using the given formatter.