pub enum UserInput {
Text {
text: String,
},
LocalImage {
path: PathBuf,
},
}Expand description
Structured user input for multimodal turns.
Variants§
Text
Plain text segment appended to the prompt.
LocalImage
Local image path passed to Codex via --image.
Trait Implementations§
impl Eq for UserInput
impl StructuralPartialEq for UserInput
Auto Trait Implementations§
impl Freeze for UserInput
impl RefUnwindSafe for UserInput
impl Send for UserInput
impl Sync for UserInput
impl Unpin for UserInput
impl UnsafeUnpin for UserInput
impl UnwindSafe for UserInput
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