1 2 3 4 5 6 7 8 9 10 11 12
use super::super::Repetition;
/// Common type information.
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub struct FieldInfo {
/// The field name
pub name: String,
/// The repetition
pub repetition: Repetition,
/// the optional id, to select fields by id
pub id: Option<i32>,
}