Enum go_away::types::FieldType [−][src]
pub enum FieldType {
Optional(Box<FieldType>),
List(Box<FieldType>),
Map {
key: Box<FieldType>,
value: Box<FieldType>,
},
Named(TypeRef),
Primitive(Primitive),
}
Expand description
The type of a field.
Variants
A Option<T>
field
a Vec<T>
field
a HashMap<K, V>
field
Fields of Map
Named(TypeRef)
A field with a named type
Tuple Fields of Named
0: TypeRef
Primitive(Primitive)
A field with a primitive type
Tuple Fields of Primitive
0: Primitive