pub struct AskUserQuestionOption {
pub label: String,
pub description: String,
pub preview: Option<String>,
pub recommended: bool,
}Fields§
§label: String§description: String§preview: Option<String>§recommended: bool#273: Set when the CLI 2.1.156 wire label carried a trailing
(Recommended) suffix. label keeps the marker text; the
option is hoisted to the front of the list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AskUserQuestionOption
impl RefUnwindSafe for AskUserQuestionOption
impl Send for AskUserQuestionOption
impl Sync for AskUserQuestionOption
impl Unpin for AskUserQuestionOption
impl UnsafeUnpin for AskUserQuestionOption
impl UnwindSafe for AskUserQuestionOption
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