pub struct UserInputResponse {
pub answer: String,
pub was_freeform: bool,
}Expand description
Response to a user input request.
Fields§
§answer: String§was_freeform: boolTrait Implementations§
Source§impl Clone for UserInputResponse
impl Clone for UserInputResponse
Source§fn clone(&self) -> UserInputResponse
fn clone(&self) -> UserInputResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserInputResponse
impl Debug for UserInputResponse
Source§impl<'de> Deserialize<'de> for UserInputResponse
impl<'de> Deserialize<'de> for UserInputResponse
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
Auto Trait Implementations§
impl Freeze for UserInputResponse
impl RefUnwindSafe for UserInputResponse
impl Send for UserInputResponse
impl Sync for UserInputResponse
impl Unpin for UserInputResponse
impl UnwindSafe for UserInputResponse
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