pub trait Field<Name> { type Type; // Required method fn field(self) -> Self::Type; }
Defines a Field for a struct with a specific type.
The type of the field.
Returns the value of the field.