pub struct InboxItem {
pub question: String,
pub reply: Sender<String>,
}Expand description
Pending user approval item — blocks task until resolved.
Fields§
§question: StringDescription of what needs approval (tool name + args summary).
reply: Sender<String>Channel to send the user’s response through.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InboxItem
impl !RefUnwindSafe for InboxItem
impl Send for InboxItem
impl Sync for InboxItem
impl Unpin for InboxItem
impl UnsafeUnpin for InboxItem
impl !UnwindSafe for InboxItem
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