pub struct OutputTextContent2 {
pub text: String,
pub annotations: Vec<Annotation2>,
pub logprobs: Option<Vec<LogProb2>>,
}
Fields§
§text: String
The text output from the model.
annotations: Vec<Annotation2>
The annotations of the text output.
logprobs: Option<Vec<LogProb2>>
Implementations§
Trait Implementations§
Source§impl Clone for OutputTextContent2
impl Clone for OutputTextContent2
Source§fn clone(&self) -> OutputTextContent2
fn clone(&self) -> OutputTextContent2
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 OutputTextContent2
impl Debug for OutputTextContent2
Source§impl<'de> Deserialize<'de> for OutputTextContent2
impl<'de> Deserialize<'de> for OutputTextContent2
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
Source§impl PartialEq for OutputTextContent2
impl PartialEq for OutputTextContent2
Source§impl Serialize for OutputTextContent2
impl Serialize for OutputTextContent2
impl StructuralPartialEq for OutputTextContent2
Auto Trait Implementations§
impl Freeze for OutputTextContent2
impl RefUnwindSafe for OutputTextContent2
impl Send for OutputTextContent2
impl Sync for OutputTextContent2
impl Unpin for OutputTextContent2
impl UnwindSafe for OutputTextContent2
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