pub struct AnthropicErrorBody {
pub error_type: String,
pub message: String,
}Expand description
Error body within an error response.
Fields§
§error_type: String§message: StringTrait Implementations§
Source§impl Clone for AnthropicErrorBody
impl Clone for AnthropicErrorBody
Source§fn clone(&self) -> AnthropicErrorBody
fn clone(&self) -> AnthropicErrorBody
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 AnthropicErrorBody
impl Debug for AnthropicErrorBody
Source§impl<'de> Deserialize<'de> for AnthropicErrorBody
impl<'de> Deserialize<'de> for AnthropicErrorBody
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 AnthropicErrorBody
impl RefUnwindSafe for AnthropicErrorBody
impl Send for AnthropicErrorBody
impl Sync for AnthropicErrorBody
impl Unpin for AnthropicErrorBody
impl UnsafeUnpin for AnthropicErrorBody
impl UnwindSafe for AnthropicErrorBody
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