pub struct Request {
pub state: Value,
pub questions: Map<String, Value>,
pub images: Vec<Value>,
pub audios: Vec<Value>,
}Expand description
One request: a state (string, any JSON, or null with media alone), named
questions, image sources (path, URL or data:) and, on d1-Omni, audio
clips (path, URL, data: or {"data": base64}), pictures first.
Fields§
§state: Value§questions: Map<String, Value>§images: Vec<Value>§audios: Vec<Value>Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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