pub fn new(name: &str, arity: FieldArity, relation_info: RelationInfo) -> Self {
        RelationField {
            name: String::from(name),
            arity,
            relation_info,
            documentation: None,
            is_generated: false,
            is_commented_out: false,
            is_ignored: false,
        }
    }
/// Creates a new field with the given name and type.
Creates a new field with the given name and type.
Creates a new field with the given name and type .
pub fn new(name: &str, arity: FieldArity, relation_info: RelationInfo) -> Self {
        RelationField {
            name: String::from(name),
            arity,
            relation_info,
            documentation: None,
            is_generated: false,
            is_commented_out: false,
            is_ignored: false,
        }
    }
pub fn new ( name : & str , arity : FieldArity , relation_info : RelationInfo ) -> Self { RelationField { name : String :: from ( name ) , arity , relation_info , documentation : None , is_generated : false , is_commented_out : false , is_ignored : false , } }
Creates a new field with the given name and type.
Creates a new field with the given name and type .
name
&str
arity
FieldArity
relation_info
RelationInfo
name
&str
arity
FieldArity
relation_info
RelationInfo