pub struct OutputTextContent {
pub annotations: Vec<Annotation>,
pub text: String,
pub _type: String,
}
Fields§
§annotations: Vec<Annotation>
The annotations of the text output.
text: String
The text output from the model.
_type: String
The type of the output text. Always output_text
.
Trait Implementations§
Source§impl Debug for OutputTextContent
impl Debug for OutputTextContent
Source§impl<'de> Deserialize<'de> for OutputTextContent
impl<'de> Deserialize<'de> for OutputTextContent
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 OutputTextContent
impl RefUnwindSafe for OutputTextContent
impl Send for OutputTextContent
impl Sync for OutputTextContent
impl Unpin for OutputTextContent
impl UnwindSafe for OutputTextContent
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