pub enum Ask {
Noul {
id: String,
instructions: String,
},
Choice {
id: String,
instructions: String,
options: Vec<(String, String)>,
},
}Expand description
A question to ask: (id, instructions) for a noul, or with options for
a choice.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ask
impl RefUnwindSafe for Ask
impl Send for Ask
impl Sync for Ask
impl Unpin for Ask
impl UnsafeUnpin for Ask
impl UnwindSafe for Ask
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