pub struct CatalogCustomAttributeDefinitionStringConfig {
pub enforce_uniqueness: Option<bool>,
}
Expand description
Configuration associated with Custom Attribute Definitions of type STRING
.
Fields§
§enforce_uniqueness: Option<bool>
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.
Trait Implementations§
Source§impl Clone for CatalogCustomAttributeDefinitionStringConfig
impl Clone for CatalogCustomAttributeDefinitionStringConfig
Source§fn clone(&self) -> CatalogCustomAttributeDefinitionStringConfig
fn clone(&self) -> CatalogCustomAttributeDefinitionStringConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CatalogCustomAttributeDefinitionStringConfig
impl Default for CatalogCustomAttributeDefinitionStringConfig
Source§fn default() -> CatalogCustomAttributeDefinitionStringConfig
fn default() -> CatalogCustomAttributeDefinitionStringConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogCustomAttributeDefinitionStringConfig
impl<'de> Deserialize<'de> for CatalogCustomAttributeDefinitionStringConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CatalogCustomAttributeDefinitionStringConfig
impl PartialEq for CatalogCustomAttributeDefinitionStringConfig
Source§fn eq(&self, other: &CatalogCustomAttributeDefinitionStringConfig) -> bool
fn eq(&self, other: &CatalogCustomAttributeDefinitionStringConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CatalogCustomAttributeDefinitionStringConfig
impl StructuralPartialEq for CatalogCustomAttributeDefinitionStringConfig
Auto Trait Implementations§
impl Freeze for CatalogCustomAttributeDefinitionStringConfig
impl RefUnwindSafe for CatalogCustomAttributeDefinitionStringConfig
impl Send for CatalogCustomAttributeDefinitionStringConfig
impl Sync for CatalogCustomAttributeDefinitionStringConfig
impl Unpin for CatalogCustomAttributeDefinitionStringConfig
impl UnwindSafe for CatalogCustomAttributeDefinitionStringConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.