pub struct ElicitRequest {
pub id: String,
pub kind: ElicitKind,
pub message: String,
pub options: Vec<ElicitOption>,
pub agent_session_id: Option<String>,
}Expand description
One question put to a human.
Fields§
§id: StringCorrelates the answer with the question for hosts whose transport is asynchronous. Unique within a session.
kind: ElicitKind§message: StringThe question itself, already phrased for a person.
options: Vec<ElicitOption>Offered answers. Empty means free-form.
agent_session_id: Option<String>The asking sub-agent’s session, the deepest when delegations nest.
Trait Implementations§
Source§impl Clone for ElicitRequest
impl Clone for ElicitRequest
Auto Trait Implementations§
impl Forget for ElicitRequest
impl Freeze for ElicitRequestwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PathBuf>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<ElicitOption>: Freeze,
impl Move for ElicitRequest
impl RefUnwindSafe for ElicitRequest
impl Send for ElicitRequest
impl Sync for ElicitRequest
impl Unpin for ElicitRequest
impl UnsafeUnpin for ElicitRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<ElicitOption>: UnsafeUnpin,
impl UnwindSafe for ElicitRequest
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