pub struct OutputTextContent {
pub type: String,
pub text: String,
pub annotations: Vec<Annotation>,
}Expand description
A text output from the model.
Fields§
§type: StringThe type of the output text.
text: StringThe 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 copy 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 moreAuto 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