pub struct AnthropicContent {
pub content_type: String,
pub text: String,
}Fields§
§content_type: String§text: StringTrait Implementations§
Source§impl Debug for AnthropicContent
impl Debug for AnthropicContent
Source§impl<'de> Deserialize<'de> for AnthropicContent
impl<'de> Deserialize<'de> for AnthropicContent
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 AnthropicContent
impl RefUnwindSafe for AnthropicContent
impl Send for AnthropicContent
impl Sync for AnthropicContent
impl Unpin for AnthropicContent
impl UnwindSafe for AnthropicContent
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