pub struct InputTextContent {
pub type: String,
pub text: String,
}
Expand description
A text input to the model.
Fields§
§type: String
The type of the input item.
text: String
The text input to the model.
Trait Implementations§
Source§impl Clone for InputTextContent
impl Clone for InputTextContent
Source§fn clone(&self) -> InputTextContent
fn clone(&self) -> InputTextContent
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 moreSource§impl Debug for InputTextContent
impl Debug for InputTextContent
Source§impl Default for InputTextContent
impl Default for InputTextContent
Source§fn default() -> InputTextContent
fn default() -> InputTextContent
Returns the “default value” for a type. 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