pub struct Field {
pub name: String,
pub tag: Tag,
pub data_type: DataType,
pub length_tag: Option<Tag>,
pub values: Vec<EnumValue>,
}Expand description
A field definition, as listed in the dictionary’s fields section.
Fields§
§name: String§tag: Tag§data_type: DataType§length_tag: Option<Tag>For a data field, the tag of the field that gives its length.
values: Vec<EnumValue>Trait Implementations§
impl Eq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Forget for Field
impl Freeze for Field
impl Move for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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