pub struct CatalogItemModifierListInfo {
pub modifier_list_id: String,
pub modifier_overrides: Option<Vec<CatalogModifierOverride>>,
pub min_selected_modifiers: Option<i32>,
pub max_selected_modifiers: Option<i32>,
pub enabled: Option<bool>,
}
Expand description
Options to control the properties of a CatalogModifierList
applied to a CatalogItem
instance.
Fields§
§modifier_list_id: String
§modifier_overrides: Option<Vec<CatalogModifierOverride>>
§min_selected_modifiers: Option<i32>
If 0 or larger, the smallest number of CatalogModifier
s that must be selected from this
CatalogModifierList
.
max_selected_modifiers: Option<i32>
If 0 or larger, the largest number of CatalogModifier
s that can be selected from this
CatalogModifierList
.
enabled: Option<bool>
If true
, enable this CatalogModifierList
. The default value is true
.
Trait Implementations§
Source§impl Clone for CatalogItemModifierListInfo
impl Clone for CatalogItemModifierListInfo
Source§fn clone(&self) -> CatalogItemModifierListInfo
fn clone(&self) -> CatalogItemModifierListInfo
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 Debug for CatalogItemModifierListInfo
impl Debug for CatalogItemModifierListInfo
Source§impl Default for CatalogItemModifierListInfo
impl Default for CatalogItemModifierListInfo
Source§fn default() -> CatalogItemModifierListInfo
fn default() -> CatalogItemModifierListInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogItemModifierListInfo
impl<'de> Deserialize<'de> for CatalogItemModifierListInfo
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
impl Eq for CatalogItemModifierListInfo
impl StructuralPartialEq for CatalogItemModifierListInfo
Auto Trait Implementations§
impl Freeze for CatalogItemModifierListInfo
impl RefUnwindSafe for CatalogItemModifierListInfo
impl Send for CatalogItemModifierListInfo
impl Sync for CatalogItemModifierListInfo
impl Unpin for CatalogItemModifierListInfo
impl UnwindSafe for CatalogItemModifierListInfo
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.