#[non_exhaustive]pub struct UserInputInterruptResult {
pub command_id: String,
pub status: CommandStatus,
pub user_input_id: String,
}Expand description
userInput/interrupt result.
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.command_id: StringEchoes the client’s id.
status: CommandStatusAdmission status.
user_input_id: StringThe prompt this interruption settled.
Trait Implementations§
Source§impl Clone for UserInputInterruptResult
impl Clone for UserInputInterruptResult
Source§impl Debug for UserInputInterruptResult
impl Debug for UserInputInterruptResult
Source§impl<'de> Deserialize<'de> for UserInputInterruptResult
impl<'de> Deserialize<'de> for UserInputInterruptResult
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 UserInputInterruptResult
Source§impl PartialEq for UserInputInterruptResult
impl PartialEq for UserInputInterruptResult
Source§impl Serialize for UserInputInterruptResult
impl Serialize for UserInputInterruptResult
impl StructuralPartialEq for UserInputInterruptResult
Auto Trait Implementations§
impl Freeze for UserInputInterruptResult
impl RefUnwindSafe for UserInputInterruptResult
impl Send for UserInputInterruptResult
impl Sync for UserInputInterruptResult
impl Unpin for UserInputInterruptResult
impl UnsafeUnpin for UserInputInterruptResult
impl UnwindSafe for UserInputInterruptResult
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