pub struct GetRecomReq {
pub brand_names: Option<Vec<String>>,
pub limit: Option<i64>,
pub next: Option<i64>,
pub search: Option<String>,
pub subject_ids: Option<Vec<i64>>,
}Expand description
GetRecomReq : Запрос для получения рекомендаций
Fields§
§brand_names: Option<Vec<String>>Бренды
limit: Option<i64>Количество товаров в ответе
next: Option<i64>Курсор. Последний nmId в ответе
search: Option<String>Поиск: - по артикулу WB nmId — полное совпадение - по артикулу продавца vendorCode — частичное совпадение
subject_ids: Option<Vec<i64>>ID предметов
Implementations§
Source§impl GetRecomReq
impl GetRecomReq
Sourcepub fn new() -> GetRecomReq
pub fn new() -> GetRecomReq
Запрос для получения рекомендаций
Trait Implementations§
Source§impl Clone for GetRecomReq
impl Clone for GetRecomReq
Source§impl Debug for GetRecomReq
impl Debug for GetRecomReq
Source§impl Default for GetRecomReq
impl Default for GetRecomReq
Source§impl<'de> Deserialize<'de> for GetRecomReq
impl<'de> Deserialize<'de> for GetRecomReq
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 GetRecomReq
impl PartialEq for GetRecomReq
Source§impl Serialize for GetRecomReq
impl Serialize for GetRecomReq
impl StructuralPartialEq for GetRecomReq
Auto Trait Implementations§
impl Forget for GetRecomReq
impl Freeze for GetRecomReqwhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<i64>: Freeze,
impl Move for GetRecomReq
impl RefUnwindSafe for GetRecomReq
impl Send for GetRecomReqwhere
RawVecInner: Send,
impl Sync for GetRecomReqwhere
RawVecInner: Sync,
impl Unpin for GetRecomReq
impl UnsafeUnpin for GetRecomReqwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<i64>: UnsafeUnpin,
impl UnwindSafe for GetRecomReqwhere
RawVecInner: 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