pub struct InputContentOutputText {
pub text: String,
pub type_: String,
}Expand description
A text output from the model.
Fields§
§text: StringThe text output from the model.
type_: StringThe type of the output text. Always output_text.
Trait Implementations§
Source§impl Clone for InputContentOutputText
impl Clone for InputContentOutputText
Source§fn clone(&self) -> InputContentOutputText
fn clone(&self) -> InputContentOutputText
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InputContentOutputText
impl Debug for InputContentOutputText
Source§impl<'de> Deserialize<'de> for InputContentOutputText
impl<'de> Deserialize<'de> for InputContentOutputText
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 InputContentOutputText
impl RefUnwindSafe for InputContentOutputText
impl Send for InputContentOutputText
impl Sync for InputContentOutputText
impl Unpin for InputContentOutputText
impl UnsafeUnpin for InputContentOutputText
impl UnwindSafe for InputContentOutputText
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