pub struct AnthropicErrorDetails {
pub error_type: ApiErrorType,
pub message: String,
}Expand description
Details of an Anthropic API error.
Fields§
§error_type: ApiErrorTypeThe type of error
message: StringHuman-readable error message
Trait Implementations§
Source§impl Clone for AnthropicErrorDetails
impl Clone for AnthropicErrorDetails
Source§fn clone(&self) -> AnthropicErrorDetails
fn clone(&self) -> AnthropicErrorDetails
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 AnthropicErrorDetails
impl Debug for AnthropicErrorDetails
Source§impl<'de> Deserialize<'de> for AnthropicErrorDetails
impl<'de> Deserialize<'de> for AnthropicErrorDetails
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 AnthropicErrorDetails
impl PartialEq for AnthropicErrorDetails
Source§impl Serialize for AnthropicErrorDetails
impl Serialize for AnthropicErrorDetails
impl StructuralPartialEq for AnthropicErrorDetails
Auto Trait Implementations§
impl Freeze for AnthropicErrorDetails
impl RefUnwindSafe for AnthropicErrorDetails
impl Send for AnthropicErrorDetails
impl Sync for AnthropicErrorDetails
impl Unpin for AnthropicErrorDetails
impl UnsafeUnpin for AnthropicErrorDetails
impl UnwindSafe for AnthropicErrorDetails
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