pub struct TableGroupRequest {
pub current_period: Box<Period>,
pub past_period: Option<Box<PastPeriod>>,
pub nm_ids: Option<Vec<i32>>,
pub subject_ids: Option<Vec<i32>>,
pub brand_names: Option<Vec<String>>,
pub tag_ids: Option<Vec<i64>>,
pub order_by: Box<OrderByGrTe>,
pub position_cluster: PositionCluster,
pub include_substituted_skus: Option<bool>,
pub include_search_texts: Option<bool>,
pub limit: i64,
pub offset: i64,
}Expand description
TableGroupRequest : Параметры запроса для пагинации по группам: - currentPeriod — текущий период - pastPeriod — предыдущий период для сравнения
Fields§
§current_period: Box<Period>§past_period: Option<Box<PastPeriod>>§nm_ids: Option<Vec<i32>>Список артикулов WB для фильтрации
subject_ids: Option<Vec<i32>>Список ID предметов для фильтрации
brand_names: Option<Vec<String>>Список брендов для фильтрации
tag_ids: Option<Vec<i64>>Список ID ярлыков для фильтрации
order_by: Box<OrderByGrTe>§position_cluster: PositionCluster§include_substituted_skus: Option<bool>Показать данные по прямым запросам с подменным артикулом
include_search_texts: Option<bool>Показать данные по поисковым запросам без учёта подменного артикула
limit: i64Количество групп товаров в ответе
offset: i64После какого элемента выдавать данные
Implementations§
Source§impl TableGroupRequest
impl TableGroupRequest
Sourcepub fn new(
current_period: Period,
order_by: OrderByGrTe,
position_cluster: PositionCluster,
limit: i64,
offset: i64,
) -> TableGroupRequest
pub fn new( current_period: Period, order_by: OrderByGrTe, position_cluster: PositionCluster, limit: i64, offset: i64, ) -> TableGroupRequest
Параметры запроса для пагинации по группам: - currentPeriod — текущий период - pastPeriod — предыдущий период для сравнения
Trait Implementations§
Source§impl Clone for TableGroupRequest
impl Clone for TableGroupRequest
Source§impl Debug for TableGroupRequest
impl Debug for TableGroupRequest
Source§impl Default for TableGroupRequest
impl Default for TableGroupRequest
Source§impl<'de> Deserialize<'de> for TableGroupRequest
impl<'de> Deserialize<'de> for TableGroupRequest
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 TableGroupRequest
impl PartialEq for TableGroupRequest
Source§impl Serialize for TableGroupRequest
impl Serialize for TableGroupRequest
impl StructuralPartialEq for TableGroupRequest
Auto Trait Implementations§
impl Forget for TableGroupRequest
impl Freeze for TableGroupRequestwhere
*const Period is !null: Freeze,
PhantomData<Period>: Freeze,
*const PastPeriod is !null: Freeze,
PhantomData<PastPeriod>: Freeze,
*const u8 is !null: Freeze,
PhantomData<i32>: Freeze,
PhantomData<String>: Freeze,
PhantomData<i64>: Freeze,
*const OrderByGrTe is !null: Freeze,
PhantomData<OrderByGrTe>: Freeze,
impl Move for TableGroupRequest
impl RefUnwindSafe for TableGroupRequest
impl Send for TableGroupRequest
impl Sync for TableGroupRequest
impl Unpin for TableGroupRequest
impl UnsafeUnpin for TableGroupRequestwhere
*const Period is !null: UnsafeUnpin,
PhantomData<Period>: UnsafeUnpin,
*const PastPeriod is !null: UnsafeUnpin,
PhantomData<PastPeriod>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<i32>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<i64>: UnsafeUnpin,
*const OrderByGrTe is !null: UnsafeUnpin,
PhantomData<OrderByGrTe>: UnsafeUnpin,
impl UnwindSafe for TableGroupRequestwhere
BoxRaw<Period>: UnwindSafe,
BoxRaw<PastPeriod>: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<OrderByGrTe>: 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