pub struct UserInputResponse {
pub answer: String,
pub was_freeform: bool,
}Expand description
Response to a user input request.
Fields§
§answer: StringThe user’s answer text.
was_freeform: boolWhether the answer was free-form (not a preset choice).
Trait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UserInputResponse
impl RefUnwindSafe for UserInputResponse
impl Send for UserInputResponse
impl Sync for UserInputResponse
impl Unpin for UserInputResponse
impl UnsafeUnpin 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