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 CatalogCustomAttributeDefinitionStringConfig type.

use serde::{Deserialize, Serialize};

/// Configuration associated with Custom Attribute Definitions of type `STRING`.
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
pub struct CatalogCustomAttributeDefinitionStringConfig {
    /// If true, each Custom Attribute instance associated with this Custom Attribute Definition
    /// must have a unique value within the seller's catalog. For example, this may be used for a
    /// value like a SKU that should not be duplicated within a seller's catalog. May not be
    /// modified after the definition has been created.
    pub enforce_uniqueness: Option<bool>,
}