pub struct EvalApiError {
pub code: String,
pub message: String,
}
Expand description
An object representing an error response from the Eval API.
Fields§
§code: String
The error code.
message: String
The error message.
Implementations§
Trait Implementations§
Source§impl Clone for EvalApiError
impl Clone for EvalApiError
Source§fn clone(&self) -> EvalApiError
fn clone(&self) -> EvalApiError
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 EvalApiError
impl Debug for EvalApiError
Source§impl<'de> Deserialize<'de> for EvalApiError
impl<'de> Deserialize<'de> for EvalApiError
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 PartialEq for EvalApiError
impl PartialEq for EvalApiError
Source§impl Serialize for EvalApiError
impl Serialize for EvalApiError
impl StructuralPartialEq for EvalApiError
Auto Trait Implementations§
impl Freeze for EvalApiError
impl RefUnwindSafe for EvalApiError
impl Send for EvalApiError
impl Sync for EvalApiError
impl Unpin for EvalApiError
impl UnwindSafe for EvalApiError
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