Struct json_api::doc::error::Error [] [src]

pub struct Error {
    pub code: Option<String>,
    pub detail: Option<String>,
    pub id: Option<String>,
    pub links: Map<Link>,
    pub meta: Map<Value>,
    pub source: Option<Source>,
    pub status: Option<StatusCode>,
    pub title: Option<String>,
    // some fields omitted
}

Fields

Methods

impl Error
[src]

Trait Implementations

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Default for Error
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialEq for Error
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.