/// The HTTP status code associated with this error. The status indicates the broad type of error according to HTTP semantics.
pubstatus: String,
/// A short description of this error. This should be stable across multiple occurrences of this type of error and typically expands on the reason for the status code.
pubtitle: String,
/// A detailed description of this error. This should be considered unique to individual occurrences of an error and subject to change. It is useful for debugging purposes.
pubdetail: String,
/// If applicable, location in the request that this error relates to. This may be a parameter in the query string, or a an attribute in the request body.
pubsource: Option<Source>,
}
#[derive(Deserialize, Debug)]
pubstructSource{
/// If this error relates to a query parameter, the name of the parameter.
pubparameter: Option<String>,
/// If this error relates to an attribute in the request body, a rfc-6901 JSON pointer to the attribute.