pub struct SearchProductsInput {
pub accept_language: Option<String>,
pub filters: Option<HashMap<String, Vec<String>>>,
pub page_size: Option<i64>,
pub page_token: Option<String>,
pub sort_by: Option<String>,
pub sort_order: Option<String>,
}
Fields
accept_language: Option<String>
The language code.
-
en
- English (default) -
jp
- Japanese -
zh
- Chinese
filters: Option<HashMap<String, Vec<String>>>
The search filters. If no search filters are specified, the output includes all products to which the caller has access.
page_size: Option<i64>
The maximum number of items to return with this call.
page_token: Option<String>
The page token for the next set of results. To retrieve the first set of results, use null.
sort_by: Option<String>
The sort field. If no value is specified, the results are not sorted.
sort_order: Option<String>
The sort order. If no value is specified, the results are not sorted.
Trait Implementations
sourceimpl Clone for SearchProductsInput
impl Clone for SearchProductsInput
sourcefn clone(&self) -> SearchProductsInput
fn clone(&self) -> SearchProductsInput
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 more
sourceimpl Debug for SearchProductsInput
impl Debug for SearchProductsInput
sourceimpl Default for SearchProductsInput
impl Default for SearchProductsInput
sourcefn default() -> SearchProductsInput
fn default() -> SearchProductsInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SearchProductsInput> for SearchProductsInput
impl PartialEq<SearchProductsInput> for SearchProductsInput
sourcefn eq(&self, other: &SearchProductsInput) -> bool
fn eq(&self, other: &SearchProductsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SearchProductsInput) -> bool
fn ne(&self, other: &SearchProductsInput) -> bool
This method tests for !=
.
sourceimpl Serialize for SearchProductsInput
impl Serialize for SearchProductsInput
impl StructuralPartialEq for SearchProductsInput
Auto Trait Implementations
impl RefUnwindSafe for SearchProductsInput
impl Send for SearchProductsInput
impl Sync for SearchProductsInput
impl Unpin for SearchProductsInput
impl UnwindSafe for SearchProductsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more