pub struct TwitterErrorCode {
pub message: String,
pub code: i32,
}Expand description
Represents a specific error returned from a Twitter API call.
Fields§
§message: StringThe error message returned by Twitter.
code: i32The numeric error code returned by Twitter. A list of possible error codes can be found in the API documentation.
Trait Implementations§
Source§impl Debug for TwitterErrorCode
impl Debug for TwitterErrorCode
Source§impl<'de> Deserialize<'de> for TwitterErrorCode
impl<'de> Deserialize<'de> for TwitterErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TwitterErrorCode
impl Display for TwitterErrorCode
Auto Trait Implementations§
impl Freeze for TwitterErrorCode
impl RefUnwindSafe for TwitterErrorCode
impl Send for TwitterErrorCode
impl Sync for TwitterErrorCode
impl Unpin for TwitterErrorCode
impl UnwindSafe for TwitterErrorCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more