Struct elefren::errors::ApiError[][src]

pub struct ApiError {
    pub error: Option<String>,
    pub error_description: Option<String>,
}

Error returned from the Mastodon API.

Fields

The type of error.

The description of the error.

Trait Implementations

impl Clone for ApiError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ApiError
[src]

Formats the value using the given formatter. Read more

impl From<ApiError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ApiError

impl Sync for ApiError