pub struct ChoiceOption {
pub value: String,
}Expand description
A single option inside a ChoiceQuestion.
Fields§
§value: StringThe display value of this option.
Trait Implementations§
Source§impl Clone for ChoiceOption
impl Clone for ChoiceOption
Source§fn clone(&self) -> ChoiceOption
fn clone(&self) -> ChoiceOption
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 ChoiceOption
impl Debug for ChoiceOption
Source§impl<'de> Deserialize<'de> for ChoiceOption
impl<'de> Deserialize<'de> for ChoiceOption
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 ChoiceOption
impl RefUnwindSafe for ChoiceOption
impl Send for ChoiceOption
impl Sync for ChoiceOption
impl Unpin for ChoiceOption
impl UnsafeUnpin for ChoiceOption
impl UnwindSafe for ChoiceOption
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