pub enum XfaFieldType {
Text,
Numeric,
DateTime,
Checkbox,
RadioGroup,
DropDown,
ListBox,
Button,
Signature,
Image,
Barcode,
Unknown(String),
}Expand description
XFA field type extracted from template.
Variants§
Text
Text field (textEdit)
Numeric
Numeric field (numericEdit)
DateTime
Date field (dateTimeEdit)
Checkbox
Checkbox (checkButton)
RadioGroup
Radio button group (choiceList with appearance=minimal)
DropDown
Drop-down list (choiceList)
ListBox
List box (choiceList with appearance=full)
Button
Button (button)
Signature
Signature field (signature)
Image
Image field (imageEdit)
Barcode
Barcode field (barcode)
Unknown(String)
Unknown field type
Implementations§
Source§impl XfaFieldType
impl XfaFieldType
Sourcepub fn from_xfa_name(name: &str) -> Self
pub fn from_xfa_name(name: &str) -> Self
Parse from XFA UI element name.
Trait Implementations§
Source§impl Clone for XfaFieldType
impl Clone for XfaFieldType
Source§fn clone(&self) -> XfaFieldType
fn clone(&self) -> XfaFieldType
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 XfaFieldType
impl Debug for XfaFieldType
Source§impl PartialEq for XfaFieldType
impl PartialEq for XfaFieldType
impl Eq for XfaFieldType
impl StructuralPartialEq for XfaFieldType
Auto Trait Implementations§
impl Freeze for XfaFieldType
impl RefUnwindSafe for XfaFieldType
impl Send for XfaFieldType
impl Sync for XfaFieldType
impl Unpin for XfaFieldType
impl UnwindSafe for XfaFieldType
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