pub struct UiDialogRequest {
pub request_id: String,
pub tool_call_id: Option<String>,
pub ui: Value,
pub raw: Value,
}Expand description
A pending host UI request emitted by a plugin runtime action.
The request and tool-call ids are intentionally separate: a single tool
call may ask more than one question, while concurrent tool calls must never
consume one another’s answers. raw retains the complete action envelope;
ui is the normalized UI payload that TUI renderers generally need.
Fields§
§request_id: String§tool_call_id: Option<String>§ui: Value§raw: ValueTrait Implementations§
Source§impl Clone for UiDialogRequest
impl Clone for UiDialogRequest
Source§fn clone(&self) -> UiDialogRequest
fn clone(&self) -> UiDialogRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UiDialogRequest
impl Debug for UiDialogRequest
Source§impl PartialEq for UiDialogRequest
impl PartialEq for UiDialogRequest
impl StructuralPartialEq for UiDialogRequest
Auto Trait Implementations§
impl Freeze for UiDialogRequest
impl RefUnwindSafe for UiDialogRequest
impl Send for UiDialogRequest
impl Sync for UiDialogRequest
impl Unpin for UiDialogRequest
impl UnsafeUnpin for UiDialogRequest
impl UnwindSafe for UiDialogRequest
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