Expanded class hierarchy of UniqueFieldConstraint in Drupal 10
- class \Drupal\Core\Validation\Plugin\Validation\Constraint\UniqueFieldConstraint extends \Symfony\Component\Validator\Constraint
- class \Drupal\user\Plugin\Validation\Constraint\UserMailUnique
- class \Drupal\user\Plugin\Validation\Constraint\UserNameUnique