pub struct UserPrompt {
pub id: String,
pub text: String,
}Expand description
A user prompt that requires human input.
Created when the agent emits a user.prompt event during planning.
Fields§
§id: StringUnique identifier for this prompt (e.g., “q1”, “q2”)
text: StringThe prompt/question text
Trait Implementations§
Source§impl Clone for UserPrompt
impl Clone for UserPrompt
Source§fn clone(&self) -> UserPrompt
fn clone(&self) -> UserPrompt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UserPrompt
impl RefUnwindSafe for UserPrompt
impl Send for UserPrompt
impl Sync for UserPrompt
impl Unpin for UserPrompt
impl UnsafeUnpin for UserPrompt
impl UnwindSafe for UserPrompt
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