func (field *Field) SetOpts(attr FieldOptions) bool { return isOk(C.set_field_opts((*C.FIELD)(field), (C.Field_Options)(attr))) }
func (f *Field) SetOpts(attr FieldOptions) error { return geterror(C.set_field_opts(f.field, attr.fieldOptions)) }