pub struct BatchRetrieveCatalogObjectsRequest {
pub object_ids: Vec<String>,
pub include_related_objects: Option<bool>,
}
Expand description
This is a model class for BatchRetrieveCatalogObjectsRequest type.
Fields
object_ids: Vec<String>
The IDs of the CatalogObjects to be retrieved.
If true
, the response will include additional objects that are related to the requested
objects. Related objects are defined as any objects referenced by ID by the results in the
objects
field of the response. These objects are put in the related_objects
field.
Setting this to true
is helpful when the objects are needed for immediate display to a
user. This process only goes one level deep. Objects referenced by the related objects will
not be included. For example,
if the objects
field of the response contains a CatalogItem, its associated
CatalogCategory objects, CatalogTax objects, CatalogImage objects and CatalogModifierLists
will be returned in the related_objects
field of the response. If the objects
field of
the response contains a CatalogItemVariation, its parent CatalogItem will be returned in the
related_objects
field of the response.
Default value: false
Trait Implementations
sourceimpl Clone for BatchRetrieveCatalogObjectsRequest
impl Clone for BatchRetrieveCatalogObjectsRequest
sourcefn clone(&self) -> BatchRetrieveCatalogObjectsRequest
fn clone(&self) -> BatchRetrieveCatalogObjectsRequest
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Default for BatchRetrieveCatalogObjectsRequest
impl Default for BatchRetrieveCatalogObjectsRequest
sourcefn default() -> BatchRetrieveCatalogObjectsRequest
fn default() -> BatchRetrieveCatalogObjectsRequest
sourceimpl PartialEq<BatchRetrieveCatalogObjectsRequest> for BatchRetrieveCatalogObjectsRequest
impl PartialEq<BatchRetrieveCatalogObjectsRequest> for BatchRetrieveCatalogObjectsRequest
sourcefn eq(&self, other: &BatchRetrieveCatalogObjectsRequest) -> bool
fn eq(&self, other: &BatchRetrieveCatalogObjectsRequest) -> bool
impl Eq for BatchRetrieveCatalogObjectsRequest
impl StructuralEq for BatchRetrieveCatalogObjectsRequest
impl StructuralPartialEq for BatchRetrieveCatalogObjectsRequest
Auto Trait Implementations
impl RefUnwindSafe for BatchRetrieveCatalogObjectsRequest
impl Send for BatchRetrieveCatalogObjectsRequest
impl Sync for BatchRetrieveCatalogObjectsRequest
impl Unpin for BatchRetrieveCatalogObjectsRequest
impl UnwindSafe for BatchRetrieveCatalogObjectsRequest
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
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
key
and return true
if they are equal.