pub enum Input {
TextInput(String),
InputItemList(Vec<InputItem>),
}Expand description
The input to the model. Either a plain string (treated as a single user message),
or a list of input items.
Variants§
TextInput(String)
A plain string, treated as a single user message.
InputItemList(Vec<InputItem>)
A list of input items.
Trait Implementations§
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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