pub struct UserInputInterruptParams {
pub session_id: String,
pub command_id: String,
pub user_input_id: String,
pub answers: Option<Vec<UserInputAnswer>>,
}Expand description
userInput/interrupt params: interrupt the named prompt carrying confirmed
partial answers, then stop the turn.
answers is optional and, when present, follows exactly the
userInput/answer shape and limits (same questionId + one-of + note
rules, same -32057 userInputAnswerInvalid on mismatch); absent or
empty means interrupt with no confirmed answers.
Fields§
§session_id: StringThe target session.
command_id: StringThe idempotency handle (UUIDv7).
user_input_id: StringThe prompt being interrupted.
answers: Option<Vec<UserInputAnswer>>Confirmed partial answers the named settlement carries.
Trait Implementations§
Source§impl Clone for UserInputInterruptParams
impl Clone for UserInputInterruptParams
Source§impl Debug for UserInputInterruptParams
impl Debug for UserInputInterruptParams
Source§impl<'de> Deserialize<'de> for UserInputInterruptParams
impl<'de> Deserialize<'de> for UserInputInterruptParams
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
impl Eq for UserInputInterruptParams
Source§impl PartialEq for UserInputInterruptParams
impl PartialEq for UserInputInterruptParams
Source§impl Serialize for UserInputInterruptParams
impl Serialize for UserInputInterruptParams
impl StructuralPartialEq for UserInputInterruptParams
Auto Trait Implementations§
impl Forget for UserInputInterruptParams
impl Freeze for UserInputInterruptParams
impl Move for UserInputInterruptParams
impl RefUnwindSafe for UserInputInterruptParams
impl Send for UserInputInterruptParams
impl Sync for UserInputInterruptParams
impl Unpin for UserInputInterruptParams
impl UnsafeUnpin for UserInputInterruptParams
impl UnwindSafe for UserInputInterruptParams
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