pub struct XApiError {
pub title: String,
pub detail: Option<String>,
pub resource_type: Option<String>,
pub parameter: Option<String>,
pub value: Option<String>,
pub error_type: Option<String>,
}
Expand description
X API error response
Fields§
§title: String
§detail: Option<String>
§resource_type: Option<String>
§parameter: Option<String>
§value: Option<String>
§error_type: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for XApiError
impl<'de> Deserialize<'de> for XApiError
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
Auto Trait Implementations§
impl Freeze for XApiError
impl RefUnwindSafe for XApiError
impl Send for XApiError
impl Sync for XApiError
impl Unpin for XApiError
impl UnwindSafe for XApiError
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