#[non_exhaustive]pub struct UserInputAnswerResult {
pub command_id: String,
pub status: CommandStatus,
pub user_input_id: String,
}Expand description
userInput/answer 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 answer settled.
Trait Implementations§
Source§impl Clone for UserInputAnswerResult
impl Clone for UserInputAnswerResult
Source§impl Debug for UserInputAnswerResult
impl Debug for UserInputAnswerResult
Source§impl<'de> Deserialize<'de> for UserInputAnswerResult
impl<'de> Deserialize<'de> for UserInputAnswerResult
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 UserInputAnswerResult
Source§impl PartialEq for UserInputAnswerResult
impl PartialEq for UserInputAnswerResult
Source§impl Serialize for UserInputAnswerResult
impl Serialize for UserInputAnswerResult
impl StructuralPartialEq for UserInputAnswerResult
Auto Trait Implementations§
impl Forget for UserInputAnswerResult
impl Freeze for UserInputAnswerResult
impl Move for UserInputAnswerResult
impl RefUnwindSafe for UserInputAnswerResult
impl Send for UserInputAnswerResult
impl Sync for UserInputAnswerResult
impl Unpin for UserInputAnswerResult
impl UnsafeUnpin for UserInputAnswerResult
impl UnwindSafe for UserInputAnswerResult
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