square_api_client/models/enums/
measurement_unit_volume.rs

1//! Model for MeasurementUnitVolume enum
2
3use serde::{Deserialize, Serialize};
4
5/// The unit of volume used to measure a quantity.
6#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
7#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
8pub enum MeasurementUnitVolume {
9    /// The volume is measured in ounces.
10    GenericFluidOunce,
11    /// The volume is measured in shots.
12    GenericShot,
13    /// The volume is measured in cups.
14    GenericCup,
15    /// The volume is measured in pints.
16    GenericPint,
17    /// The volume is measured in quarts.
18    GenericQuart,
19    /// The volume is measured in gallons.
20    GenericGallon,
21    /// The volume is measured in cubic inches.
22    ImperialCubicInch,
23    /// The volume is measured in cubic feet.
24    ImperialCubicFoot,
25    /// The volume is measured in cubic yards.
26    ImperialCubicYard,
27    /// The volume is measured in metric milliliters.
28    MetricMilliliter,
29    /// The volume is measured in metric liters.
30    MetricLiter,
31}