func (caps Capabilities) GetFieldCapabilities() rules.FieldCapabilities {
	var fcs rules.FieldCapabilities

	for field, cap := range caps {
		fcs = append(fcs, rules.FieldCapability{
			Field: field,
			Types: cap.FieldValueTypes,
		})
	}

	return fcs
}
// GetFieldCapabilities returns the field capabilities for a set of capabilities
GetFieldCapabilities returns the field capabilities for a set of capabilities
// GetFieldCapabilities returns the field capabilities for a set of capabilities
func (caps Capabilities) GetFieldCapabilities() rules.FieldCapabilities {
	var fcs rules.FieldCapabilities
	for field, cap := range caps {
		fcs = append(fcs, rules.FieldCapability{
			Field: field,
			Types: cap.FieldValueTypes,
		})
	}
	return fcs
}
func ( caps Capabilities ) GetFieldCapabilities ( ) rules . FieldCapabilities { var fcs rules . FieldCapabilities for field , cap := range caps { fcs = append ( fcs , rules . FieldCapability { Field : field , Types : cap . FieldValueTypes , } ) } return fcs }
GetFieldCapabilities returns the field capabilities for a set of capabilities
GetFieldCapabilities returns the field capabilities for a set of capabilities