#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: String§view_cursor: String§source_range: SourceRange§user_input_id: String§outcome: UserInputOutcome§answers: Vec<UserInputAnswer>§clarification: Option<UserInputClarification>§reason: Option<String>§decided_by_command_id: Option<String>§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.
Trait Implementations§
Source§impl Clone for UserInputSettledParams
impl Clone for UserInputSettledParams
Source§impl Debug for UserInputSettledParams
impl Debug for UserInputSettledParams
Source§impl<'de> Deserialize<'de> for UserInputSettledParams
impl<'de> Deserialize<'de> for UserInputSettledParams
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 UserInputSettledParams
Source§impl PartialEq for UserInputSettledParams
impl PartialEq for UserInputSettledParams
Source§impl Serialize for UserInputSettledParams
impl Serialize for UserInputSettledParams
impl StructuralPartialEq for UserInputSettledParams
Auto Trait Implementations§
impl Freeze for UserInputSettledParams
impl RefUnwindSafe for UserInputSettledParams
impl Send for UserInputSettledParams
impl Sync for UserInputSettledParams
impl Unpin for UserInputSettledParams
impl UnsafeUnpin for UserInputSettledParams
impl UnwindSafe for UserInputSettledParams
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