pub struct EncodedPrompt {
pub prompt: String,
pub images: Vec<Value>,
}Fields§
§prompt: String§images: Vec<Value>Image records in the order their placeholders occur in the current messages. Records are intentionally JSON shaped so OpenAI, Anthropic, local paths, and data URLs survive the protocol boundary unchanged.
Trait Implementations§
Source§impl Clone for EncodedPrompt
impl Clone for EncodedPrompt
Source§impl Debug for EncodedPrompt
impl Debug for EncodedPrompt
Source§impl PartialEq for EncodedPrompt
impl PartialEq for EncodedPrompt
impl StructuralPartialEq for EncodedPrompt
Auto Trait Implementations§
impl Freeze for EncodedPrompt
impl RefUnwindSafe for EncodedPrompt
impl Send for EncodedPrompt
impl Sync for EncodedPrompt
impl Unpin for EncodedPrompt
impl UnsafeUnpin for EncodedPrompt
impl UnwindSafe for EncodedPrompt
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