pub struct InputTextContent {
pub text: String,
pub _type: String,
}
Fields§
§text: String
The text input to the model.
_type: String
The type of the input item. Always input_text
.
Trait Implementations§
Source§impl Debug for InputTextContent
impl Debug for InputTextContent
Source§impl<'de> Deserialize<'de> for InputTextContent
impl<'de> Deserialize<'de> for InputTextContent
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 InputTextContent
impl RefUnwindSafe for InputTextContent
impl Send for InputTextContent
impl Sync for InputTextContent
impl Unpin for InputTextContent
impl UnwindSafe for InputTextContent
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