Struct randomorg::ResponseError [] [src]

pub struct ResponseError {
    pub code: ErrorCode,
    pub message: String,
}

Random.org response error definition.

If an error occurred, this member contains a service-specific error object with details about the error. If no error occurred, this member is not included in the response.

Fields

A numeric error code that uniquely identifies the error type.

A string containing a human-readable error message in English suitable for printing in a log file or as part of an error message to be displayed to a user.

Trait Implementations

impl Debug for ResponseError
[src]

Formats the value using the given formatter.

impl Clone for ResponseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more