pub struct UpdateItemModifierListsRequest {
pub item_ids: Vec<String>,
pub modifier_lists_to_enable: Option<Vec<String>>,
pub modifier_lists_to_disable: Option<Vec<String>>,
}
Expand description
This is a model struct for UpdateItemModifierListsRequest type.
Fields§
§item_ids: Vec<String>
The IDs of the catalog items associated with the CatalogModifierList objects being updated.
modifier_lists_to_enable: Option<Vec<String>>
The IDs of the CatalogModifierList objects to enable for the CatalogItem. At least one of
modifier_lists_to_enable
or modifier_lists_to_disable
must be specified.
modifier_lists_to_disable: Option<Vec<String>>
The IDs of the CatalogModifierList objects to disable for the CatalogItem. At least one of
modifier_lists_to_enable
or modifier_lists_to_disable
must be specified.
Trait Implementations§
Source§impl Clone for UpdateItemModifierListsRequest
impl Clone for UpdateItemModifierListsRequest
Source§fn clone(&self) -> UpdateItemModifierListsRequest
fn clone(&self) -> UpdateItemModifierListsRequest
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 UpdateItemModifierListsRequest
impl Default for UpdateItemModifierListsRequest
Source§fn default() -> UpdateItemModifierListsRequest
fn default() -> UpdateItemModifierListsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateItemModifierListsRequest
impl PartialEq for UpdateItemModifierListsRequest
Source§fn eq(&self, other: &UpdateItemModifierListsRequest) -> bool
fn eq(&self, other: &UpdateItemModifierListsRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for UpdateItemModifierListsRequest
impl StructuralPartialEq for UpdateItemModifierListsRequest
Auto Trait Implementations§
impl Freeze for UpdateItemModifierListsRequest
impl RefUnwindSafe for UpdateItemModifierListsRequest
impl Send for UpdateItemModifierListsRequest
impl Sync for UpdateItemModifierListsRequest
impl Unpin for UpdateItemModifierListsRequest
impl UnwindSafe for UpdateItemModifierListsRequest
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.