squareup 2.15.1

Rust SDK for the Square Developer API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Model for AllowQuantities enum.

use serde::{Deserialize, Serialize};

/// Controls whether multiple quantities of the same modifier can be selected for an item.
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
pub enum AllowQuantities {
    Yes,
    No,
    NotSet,
}