pub struct OutputTextContent {
pub type: String,
pub text: String,
pub annotations: Vec<Annotation>,
}
Expand description
A text output from the model.
Fields§
§type: String
The type of the output text.
text: String
The text output from the model.
annotations: Vec<Annotation>
The annotations of the text output.
Trait Implementations§
Source§impl Clone for OutputTextContent
impl Clone for OutputTextContent
Source§fn clone(&self) -> OutputTextContent
fn clone(&self) -> OutputTextContent
Returns a duplicate of the value. Read more
1.0.0 · 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 OutputTextContent
impl Debug for OutputTextContent
Source§impl Default for OutputTextContent
impl Default for OutputTextContent
Source§fn default() -> OutputTextContent
fn default() -> OutputTextContent
Returns the “default value” for a type. 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