Struct egg_mode::TwitterErrorCode [] [src]

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

Represents a specific error returned from a Twitter API call.

Fields

message: String

The error message returned by Twitter.

code: i32

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

Trait Implementations

impl Encodable for TwitterErrorCode
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Decodable for TwitterErrorCode
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<TwitterErrorCode, __D::Error>

impl Debug for TwitterErrorCode
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for TwitterErrorCode
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.