pub struct ChoiceOption {
pub export: String,
pub display: String,
}Expand description
One /Opt entry on a choice field. PDF allows two shapes: a single
string (export = display) or [export display] for distinct values.
Fields§
§export: StringInternal value persisted in the PDF when this option is selected.
display: StringHuman-readable label shown to the user. Equal to export when
the producer used the single-string form.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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