pub struct ApiErrorObject {
pub status_code: Option<u16>,
pub message: String,
pub timestamp: Option<String>,
pub path: Option<String>,
pub error: Option<String>,
}Expand description
API error object from Exa
Fields§
§status_code: Option<u16>HTTP status code
message: StringHuman-readable error message
timestamp: Option<String>Timestamp of the error
path: Option<String>Request path
error: Option<String>Error type string
Trait Implementations§
Source§impl Clone for ApiErrorObject
impl Clone for ApiErrorObject
Source§fn clone(&self) -> ApiErrorObject
fn clone(&self) -> ApiErrorObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApiErrorObject
impl Debug for ApiErrorObject
Source§impl<'de> Deserialize<'de> for ApiErrorObject
impl<'de> Deserialize<'de> for ApiErrorObject
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 ApiErrorObject
impl RefUnwindSafe for ApiErrorObject
impl Send for ApiErrorObject
impl Sync for ApiErrorObject
impl Unpin for ApiErrorObject
impl UnsafeUnpin for ApiErrorObject
impl UnwindSafe for ApiErrorObject
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