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
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 Debug for TwitterErrorCode
[src]
impl Decodable for TwitterErrorCode
[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<TwitterErrorCode, __D::Error>
[src]
__arg_0: &mut __D
) -> Result<TwitterErrorCode, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for TwitterErrorCode
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.