#[non_exhaustive]pub struct UserInputSettledParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub user_input_id: String,
pub outcome: UserInputOutcome,
pub answers: Vec<UserInputAnswer>,
pub clarification: Option<UserInputClarification>,
pub reason: Option<String>,
pub decided_by_command_id: Option<String>,
pub decided_at: Option<String>,
}Expand description
userInput/settled params: the first durable prompt settlement.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: StringThe session that owns the prompt.
view_cursor: StringThis event’s view cursor: opaque, and strictly increasing within the session.
source_range: SourceRangeThe stored records this event was folded from: an opaque token clients must not interpret.
user_input_id: StringThe prompt that settled. Accept a settlement even for a prompt whose request you never saw.
outcome: UserInputOutcomeHow the prompt ended.
answers: Vec<UserInputAnswer>The recorded answers: one per question for answered, any confirmed
partial answers for interrupted, and empty for every other outcome.
clarification: Option<UserInputClarification>The user’s free-form clarification when the outcome is clarified;
null otherwise.
reason: Option<String>The reason, when one applies: the optional reason given with a cancel,
or why an aborted prompt was closed; null otherwise.
decided_by_command_id: Option<String>The commandId of the client command that settled the prompt; null
when no command did, for example after a timeout or an abort.
decided_at: Option<String>The decision time as RFC3339, projected from the durable settlement
record’s own stamp: always present on the wire (schema-required,
null-able); decoders still tolerate its absence, and current hosts
always populate it.