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 ElicitRequest
impl Move for ElicitRequest
impl RefUnwindSafe for ElicitRequest
impl Send for ElicitRequest
impl Sync for ElicitRequest
impl Unpin for ElicitRequest
impl UnsafeUnpin for ElicitRequest
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