pub struct ChoiceOption {
pub export_value: String,
pub name: String,
}Expand description
One entry of a choice field’s /Opt array (ISO 32000-1 §12.7.4.4,
Table 231): the value exported for the option and the text shown for
it. A lone text string in the array is both.
Fields§
§export_value: StringThe export value.
name: StringThe text shown to the user; also what /V names when the option is
selected.
Trait Implementations§
Source§impl Clone for ChoiceOption
impl Clone for ChoiceOption
Source§impl Debug for ChoiceOption
impl Debug for ChoiceOption
impl Eq 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