pub struct ResponseInputTextContent {
pub text: String,
pub type_: String,
}Expand description
A text input to the model.
Fields§
§text: StringThe text input to the model.
type_: StringThe type of the input item. Always input_text.
Trait Implementations§
Source§impl Clone for ResponseInputTextContent
impl Clone for ResponseInputTextContent
Source§fn clone(&self) -> ResponseInputTextContent
fn clone(&self) -> ResponseInputTextContent
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 ResponseInputTextContent
impl Debug for ResponseInputTextContent
Source§impl<'de> Deserialize<'de> for ResponseInputTextContent
impl<'de> Deserialize<'de> for ResponseInputTextContent
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 ResponseInputTextContent
impl RefUnwindSafe for ResponseInputTextContent
impl Send for ResponseInputTextContent
impl Sync for ResponseInputTextContent
impl Unpin for ResponseInputTextContent
impl UnsafeUnpin for ResponseInputTextContent
impl UnwindSafe for ResponseInputTextContent
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