pub struct DataForSeoApiError {
pub http_status: u16,
pub status_code: i32,
pub status_message: String,
pub response_body: String,
}Expand description
Error envelope returned by the DataForSEO API.
{"version":"0.1.x","status_code":40101,"status_message":"Authentication failed. ..."}Fields§
§http_status: u16HTTP status of the response.
status_code: i32DataForSEO status code, e.g. 40101.
See https://docs.dataforseo.com/v3/appendix/errors/.
status_message: StringHuman-readable message from the API.
response_body: StringRaw response body, for debugging.
Trait Implementations§
Source§impl Clone for DataForSeoApiError
impl Clone for DataForSeoApiError
Source§impl Debug for DataForSeoApiError
impl Debug for DataForSeoApiError
Source§impl From<DataForSeoApiError> for DataForSeoError
impl From<DataForSeoApiError> for DataForSeoError
Source§fn from(value: DataForSeoApiError) -> Self
fn from(value: DataForSeoApiError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DataForSeoApiError
impl RefUnwindSafe for DataForSeoApiError
impl Send for DataForSeoApiError
impl Sync for DataForSeoApiError
impl Unpin for DataForSeoApiError
impl UnsafeUnpin for DataForSeoApiError
impl UnwindSafe for DataForSeoApiError
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