pub struct ItemsRequest {
pub selected_period: Box<ItemsRequestSelectedPeriod>,
pub past_period: Option<Box<ItemsRequestPastPeriod>>,
pub nm_ids: Option<Vec<i64>>,
pub brand_names: Option<Vec<String>>,
pub subject_ids: Option<Vec<i64>>,
pub tag_ids: Option<Vec<i64>>,
pub skip_deleted_nm: Option<bool>,
pub order_by: Option<Box<OrderBy>>,
pub limit: Option<i64>,
pub offset: Option<i64>,
}Fields§
§selected_period: Box<ItemsRequestSelectedPeriod>§past_period: Option<Box<ItemsRequestPastPeriod>>§nm_ids: Option<Vec<i64>>Артикулы WB, по которым нужно составить отчёт. Оставьте пустым, чтобы получить отчёт обо всех товарах
brand_names: Option<Vec<String>>Список брендов для фильтрации
subject_ids: Option<Vec<i64>>Список ID предметов для фильтрации
tag_ids: Option<Vec<i64>>Список ID ярлыков для фильтрации
skip_deleted_nm: Option<bool>Скрыть удалённые товары
order_by: Option<Box<OrderBy>>§limit: Option<i64>Количество карточек товара в ответе
offset: Option<i64>Сколько элементов пропустить. Например, для значения 10 ответ начнётся с 11 элемента
Implementations§
Source§impl ItemsRequest
impl ItemsRequest
pub fn new(selected_period: ItemsRequestSelectedPeriod) -> ItemsRequest
Trait Implementations§
Source§impl Clone for ItemsRequest
impl Clone for ItemsRequest
Source§impl Debug for ItemsRequest
impl Debug for ItemsRequest
Source§impl Default for ItemsRequest
impl Default for ItemsRequest
Source§impl<'de> Deserialize<'de> for ItemsRequest
impl<'de> Deserialize<'de> for ItemsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ItemsRequest
impl PartialEq for ItemsRequest
Source§impl Serialize for ItemsRequest
impl Serialize for ItemsRequest
impl StructuralPartialEq for ItemsRequest
Auto Trait Implementations§
impl Forget for ItemsRequest
impl Freeze for ItemsRequestwhere
*const ItemsRequestSelectedPeriod is !null: Freeze,
PhantomData<ItemsRequestSelectedPeriod>: Freeze,
*const ItemsRequestPastPeriod is !null: Freeze,
PhantomData<ItemsRequestPastPeriod>: Freeze,
*const u8 is !null: Freeze,
PhantomData<i64>: Freeze,
PhantomData<String>: Freeze,
*const OrderBy is !null: Freeze,
PhantomData<OrderBy>: Freeze,
impl Move for ItemsRequest
impl RefUnwindSafe for ItemsRequest
impl Send for ItemsRequestwhere
BoxRaw<ItemsRequestSelectedPeriod>: Send,
BoxRaw<ItemsRequestPastPeriod>: Send,
RawVecInner: Send,
BoxRaw<OrderBy>: Send,
impl Sync for ItemsRequestwhere
BoxRaw<ItemsRequestSelectedPeriod>: Sync,
BoxRaw<ItemsRequestPastPeriod>: Sync,
RawVecInner: Sync,
BoxRaw<OrderBy>: Sync,
impl Unpin for ItemsRequest
impl UnsafeUnpin for ItemsRequestwhere
*const ItemsRequestSelectedPeriod is !null: UnsafeUnpin,
PhantomData<ItemsRequestSelectedPeriod>: UnsafeUnpin,
*const ItemsRequestPastPeriod is !null: UnsafeUnpin,
PhantomData<ItemsRequestPastPeriod>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<i64>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const OrderBy is !null: UnsafeUnpin,
PhantomData<OrderBy>: UnsafeUnpin,
impl UnwindSafe for ItemsRequestwhere
BoxRaw<ItemsRequestSelectedPeriod>: UnwindSafe,
BoxRaw<ItemsRequestPastPeriod>: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<OrderBy>: UnwindSafe,
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