We can specify what the Xiaomi smartphone's volume button does when the alarm clock rings. We can set whether no action, snooze, or dismiss the alarm if desired.
No distinction is made between the volume up/down button.

Android 10 (MIUI 12.0)
Step 1:  Open the  Clock app
Step 2:  Open the  menu
Step 3:  Open the  Settings
Step 4:  Tap on  Additional alarm settings
Step 5:  Tap on  Volume buttons
Step 6:  Choose  Do nothing, Snooze  or  Dismiss
  1. Open the Clock app
  2. Open the menu
  3. Open the Settings
  4. Tap on Additional alarm settings
  5. Tap on Volume buttons
  6. Choose Do nothing, Snooze or Dismiss

Xiaomi Instructions