pub struct AnthropicResponse {
pub id: String,
pub model: String,
pub content: Vec<AnthropicContent>,
pub stop_reason: Option<String>,
pub usage: AnthropicUsage,
}Fields§
§id: String§model: String§content: Vec<AnthropicContent>§stop_reason: Option<String>§usage: AnthropicUsageTrait Implementations§
Source§impl Debug for AnthropicResponse
impl Debug for AnthropicResponse
Source§impl<'de> Deserialize<'de> for AnthropicResponse
impl<'de> Deserialize<'de> for AnthropicResponse
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 AnthropicResponse
impl RefUnwindSafe for AnthropicResponse
impl Send for AnthropicResponse
impl Sync for AnthropicResponse
impl Unpin for AnthropicResponse
impl UnwindSafe for AnthropicResponse
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