pub struct Item {
pub nm_id: Option<i64>,
pub title: Option<String>,
pub vendor_code: Option<String>,
pub brand_name: Option<String>,
pub subject_id: Option<i64>,
pub subject_name: Option<String>,
pub tags: Option<Vec<Tag>>,
pub product_rating: Option<f64>,
pub feedback_rating: Option<f64>,
pub stocks: Option<Box<ItemStocks>>,
}Fields§
§nm_id: Option<i64>Артикул WB
title: Option<String>Название карточки товара
vendor_code: Option<String>Артикул продавца
brand_name: Option<String>Бренд
subject_id: Option<i64>ID предмета
subject_name: Option<String>Название предмета
Ярлыки
product_rating: Option<f64>Оценка карточки
feedback_rating: Option<f64>Оценка пользователей
stocks: Option<Box<ItemStocks>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Item
impl<'de> Deserialize<'de> for Item
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
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Forget for Item
impl Freeze for Itemwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Tag>: Freeze,
*const ItemStocks is !null: Freeze,
PhantomData<ItemStocks>: Freeze,
impl Move for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Itemwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Tag>: UnsafeUnpin,
*const ItemStocks is !null: UnsafeUnpin,
PhantomData<ItemStocks>: UnsafeUnpin,
impl UnwindSafe for Item
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