Struct json_api::doc::ErrorSource [] [src]

pub struct ErrorSource {
    pub parameter: Option<String>,
    pub pointer: Option<String>,
    // some fields omitted
}

References to the source of the error.

Fields

A string indicating which query parameter caused the error.

A JSON pointer to the associated entity in the request document.

Methods

impl ErrorSource
[src]

[src]

Returns a new ErrorSource with the specified parameter and pointer values.

Trait Implementations

impl Clone for ErrorSource
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ErrorSource
[src]

[src]

Formats the value using the given formatter.

impl Default for ErrorSource
[src]

[src]

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

impl Eq for ErrorSource
[src]

impl PartialEq for ErrorSource
[src]

[src]

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

[src]

This method tests for !=.