squareup 2.13.0

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

use serde::{Deserialize, Serialize};

/// An option that can be assigned to an item.
///
/// For example, a t-shirt item may offer a color option or a size option.
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct CatalogItemOptionForItem {
    /// The unique id of the item option, used to form the dimensions of the item option matrix in a
    /// specified order.
    pub item_option_id: Option<String>,
}