Struct egg_mode::error::TwitterErrorCode [] [src]

pub struct TwitterErrorCode {
    pub message: String,
    pub code: i32,
}

Represents a specific error returned from a Twitter API call.

Fields

The error message returned by Twitter.

The numeric error code returned by Twitter. A list of possible error codes can be found in the API documentation.

Trait Implementations

impl Debug for TwitterErrorCode
[src]

[src]

Formats the value using the given formatter.

impl Decodable for TwitterErrorCode
[src]

[src]

Deserialize a value using a Decoder.

impl Encodable for TwitterErrorCode
[src]

[src]

Serialize a value using an Encoder.

impl Display for TwitterErrorCode
[src]

[src]

Formats the value using the given formatter. Read more