pub struct AnthropicErrorResponse {
pub object_type: String,
pub error: AnthropicErrorBody,
}Expand description
Anthropic API error response wrapper.
Fields§
§object_type: String§error: AnthropicErrorBodyImplementations§
Trait Implementations§
Source§impl Clone for AnthropicErrorResponse
impl Clone for AnthropicErrorResponse
Source§fn clone(&self) -> AnthropicErrorResponse
fn clone(&self) -> AnthropicErrorResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnthropicErrorResponse
impl Debug for AnthropicErrorResponse
Source§impl<'de> Deserialize<'de> for AnthropicErrorResponse
impl<'de> Deserialize<'de> for AnthropicErrorResponse
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 AnthropicErrorResponse
impl RefUnwindSafe for AnthropicErrorResponse
impl Send for AnthropicErrorResponse
impl Sync for AnthropicErrorResponse
impl Unpin for AnthropicErrorResponse
impl UnsafeUnpin for AnthropicErrorResponse
impl UnwindSafe for AnthropicErrorResponse
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