pub enum InteractionKind {
FreeText,
MultipleChoice,
Confirm,
ToolApproval,
EditText,
}Expand description
The kind of interaction being requested.
Variants§
FreeText
Free-form text answer (the default today).
MultipleChoice
User picks one option from a numbered list.
Confirm
Yes/no confirmation.
ToolApproval
Approve or deny a specific tool call before it executes.
EditText
Edit a document in place: the request carries the current text in
body; the user edits it and the (possibly modified) text is returned.
Trait Implementations§
Source§impl Clone for InteractionKind
impl Clone for InteractionKind
Source§fn clone(&self) -> InteractionKind
fn clone(&self) -> InteractionKind
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 InteractionKind
impl Debug for InteractionKind
Source§impl<'de> Deserialize<'de> for InteractionKind
impl<'de> Deserialize<'de> for InteractionKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InteractionKind
impl PartialEq for InteractionKind
Source§impl Serialize for InteractionKind
impl Serialize for InteractionKind
impl StructuralPartialEq for InteractionKind
Auto Trait Implementations§
impl Freeze for InteractionKind
impl RefUnwindSafe for InteractionKind
impl Send for InteractionKind
impl Sync for InteractionKind
impl Unpin for InteractionKind
impl UnsafeUnpin for InteractionKind
impl UnwindSafe for InteractionKind
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