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
sourceimpl Clone for UpdateItemModifierListsRequest
impl Clone for UpdateItemModifierListsRequest
sourcefn clone(&self) -> UpdateItemModifierListsRequest
fn clone(&self) -> UpdateItemModifierListsRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for UpdateItemModifierListsRequest
impl Default for UpdateItemModifierListsRequest
sourcefn default() -> UpdateItemModifierListsRequest
fn default() -> UpdateItemModifierListsRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateItemModifierListsRequest> for UpdateItemModifierListsRequest
impl PartialEq<UpdateItemModifierListsRequest> for UpdateItemModifierListsRequest
sourcefn eq(&self, other: &UpdateItemModifierListsRequest) -> bool
fn eq(&self, other: &UpdateItemModifierListsRequest) -> bool
impl Eq for UpdateItemModifierListsRequest
impl StructuralEq for UpdateItemModifierListsRequest
impl StructuralPartialEq for UpdateItemModifierListsRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateItemModifierListsRequest
impl Send for UpdateItemModifierListsRequest
impl Sync for UpdateItemModifierListsRequest
impl Unpin for UpdateItemModifierListsRequest
impl UnwindSafe for UpdateItemModifierListsRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.