usestd::collections::HashMap;useserde::{self, Serialize, Deserialize};useserde_json::Value;/// Problem detail document for HTTP APIs.
/// This holds error responses from ACMEv02 servers using the format described in
/// [RFC 7807](https://tools.ietf.org/html/rfc7807).
#[derive(Debug, Serialize, Deserialize)]pubstructAcmeProblem{/// A URI reference that identifies the problem type. The URI should provide human-readable documentation for the
/// problem type this member is not present, its value is assumed to be "about:blank".
////// This is named `type` in RFC 7807; it is renamed here to avoid conflict with the Rust `type` keyword.
#[serde(rename="type")]pubproblem_type:Option<String>,
/// A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the
/// problem, except for purposes of localization (e.g., using proactive content negotiation).
pubtitle:Option<String>,
/// The HTTP status code generated by the origin server for this occurrence of the problem.
pubstatus:Option<u16>,
/// A human-readable explanation specific to this occurrence of the problem.
pubdetail:Option<String>,
/// A URI reference that identifies the specific occurrence of the problem. It may or may not yield further
/// information if dereferenced.
pubinstance:Option<String>,
/// Additional fields present that are not predefinied by RFC 7807.
#[serde(flatten)]pubadditional_fields:HashMap<String, Value>,
}