pub struct TurnInput {
pub text: String,
pub images: Vec<ImageInput>,
}Expand description
The user’s side of a turn: text, and images for a model that accepts them.
Fields§
§text: String§images: Vec<ImageInput>Trait Implementations§
impl Eq for TurnInput
impl StructuralPartialEq for TurnInput
Auto Trait Implementations§
impl Freeze for TurnInput
impl RefUnwindSafe for TurnInput
impl Send for TurnInput
impl Sync for TurnInput
impl Unpin for TurnInput
impl UnsafeUnpin for TurnInput
impl UnwindSafe for TurnInput
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