pub struct DecisionQuestion {
pub id: &'static str,
pub prompt: &'static str,
pub context: &'static str,
pub options: &'static [DecisionOption],
pub depends_on: Option<&'static str>,
pub depends_value: Option<&'static str>,
}Fields§
§id: &'static str§prompt: &'static str§context: &'static str§options: &'static [DecisionOption]§depends_on: Option<&'static str>§depends_value: Option<&'static str>Trait Implementations§
Source§impl Clone for DecisionQuestion
impl Clone for DecisionQuestion
Source§fn clone(&self) -> DecisionQuestion
fn clone(&self) -> DecisionQuestion
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 moreSource§impl Debug for DecisionQuestion
impl Debug for DecisionQuestion
Auto Trait Implementations§
impl Freeze for DecisionQuestion
impl RefUnwindSafe for DecisionQuestion
impl Send for DecisionQuestion
impl Sync for DecisionQuestion
impl Unpin for DecisionQuestion
impl UnsafeUnpin for DecisionQuestion
impl UnwindSafe for DecisionQuestion
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