Struct elefren::errors::ApiError [−][src]
Error returned from the Mastodon API.
Fields
error: Option<String>
The type of error.
error_description: Option<String>
The description of the error.
Trait Implementations
impl Clone for ApiError
[src]
impl Clone for ApiError
fn clone(&self) -> ApiError
[src]
fn clone(&self) -> ApiError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ApiError
[src]
impl Debug for ApiError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<ApiError> for Error
[src]
impl From<ApiError> for Error