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
code: ErrorCode
A numeric error code that uniquely identifies the error type.
message: String
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]
impl Clone for ResponseError
[src]
fn clone(&self) -> ResponseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more