pub struct APIErrorResponse {
pub ret_code: i64,
pub ret_msg: String,
}Fields§
§ret_code: i64§ret_msg: StringTrait Implementations§
Source§impl Debug for APIErrorResponse
impl Debug for APIErrorResponse
Source§impl<'de> Deserialize<'de> for APIErrorResponse
impl<'de> Deserialize<'de> for APIErrorResponse
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 From<APIErrorResponse> for Error
impl From<APIErrorResponse> for Error
Source§fn from(resp: APIErrorResponse) -> Self
fn from(resp: APIErrorResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for APIErrorResponse
impl PartialEq for APIErrorResponse
Source§fn eq(&self, other: &APIErrorResponse) -> bool
fn eq(&self, other: &APIErrorResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for APIErrorResponse
Auto Trait Implementations§
impl Freeze for APIErrorResponse
impl RefUnwindSafe for APIErrorResponse
impl Send for APIErrorResponse
impl Sync for APIErrorResponse
impl Unpin for APIErrorResponse
impl UnsafeUnpin for APIErrorResponse
impl UnwindSafe for APIErrorResponse
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