pub struct ListProductsOptions {
pub page: Option<i64>,
pub page_size: Option<i64>,
pub sort: Vec<ProductSort>,
pub is_sold: Option<bool>,
pub is_bought: Option<bool>,
pub is_archived: Option<bool>,
}Expand description
Options for listing products.
Fields§
§page: Option<i64>§page_size: Option<i64>§sort: Vec<ProductSort>§is_sold: Option<bool>§is_bought: Option<bool>§is_archived: Option<bool>Trait Implementations§
Source§impl Clone for ListProductsOptions
impl Clone for ListProductsOptions
Source§fn clone(&self) -> ListProductsOptions
fn clone(&self) -> ListProductsOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListProductsOptions
impl Debug for ListProductsOptions
Source§impl Default for ListProductsOptions
impl Default for ListProductsOptions
Source§fn default() -> ListProductsOptions
fn default() -> ListProductsOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListProductsOptions
impl RefUnwindSafe for ListProductsOptions
impl Send for ListProductsOptions
impl Sync for ListProductsOptions
impl Unpin for ListProductsOptions
impl UnsafeUnpin for ListProductsOptions
impl UnwindSafe for ListProductsOptions
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