Struct mammut::ApiError [] [src]

pub struct ApiError {
    pub error: 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.