DescriptionCleared returns if the "description" field was cleared in this mutation.
()
| 2831 | |
| 2832 | // DescriptionCleared returns if the "description" field was cleared in this mutation. |
| 2833 | func (m *AllowListMutation) DescriptionCleared() bool { |
| 2834 | _, ok := m.clearedFields[allowlist.FieldDescription] |
| 2835 | return ok |
| 2836 | } |
| 2837 | |
| 2838 | // ResetDescription resets all changes to the "description" field. |
| 2839 | func (m *AllowListMutation) ResetDescription() { |