pub struct ChoiceOption {
pub label: String,
pub description: Option<Value>,
}Expand description
One choice option. The description is None when it was null.
Fields§
§label: StringThe label, exactly as sent.
description: Option<Value>The description, or None for null or when the criteria were a list of labels.
Trait Implementations§
Source§impl Clone for ChoiceOption
impl Clone for ChoiceOption
Source§impl Debug for ChoiceOption
impl Debug for ChoiceOption
Source§impl PartialEq for ChoiceOption
impl PartialEq for ChoiceOption
impl StructuralPartialEq for ChoiceOption
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