pub struct ItemsList {
pub nm_id: Option<i64>,
pub vendor_code: Option<String>,
pub sizes: Option<Vec<ItemsListSizesInner>>,
pub currency_iso_code4217: Option<String>,
pub discount: Option<i64>,
pub club_discount: Option<i64>,
pub editable_size_price: Option<bool>,
pub wholesale_discount_threshold: Option<Vec<WholesaleDiscountThresholdRes>>,
}Expand description
ItemsList : Размеры товара
Fields§
§nm_id: Option<i64>Артикул WB
vendor_code: Option<String>Артикул продавца
sizes: Option<Vec<ItemsListSizesInner>>Размер
currency_iso_code4217: Option<String>Валюта, по стандарту ISO 4217
discount: Option<i64>Скидка, %
club_discount: Option<i64>Скидка WB Клуба, %
editable_size_price: Option<bool>Можно ли устанавливать цены отдельно для разных размеров (зависит от категории товара): - true — можно - false — нельзя
wholesale_discount_threshold: Option<Vec<WholesaleDiscountThresholdRes>>Оптовые скидки разных уровней для B2B
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ItemsList
impl<'de> Deserialize<'de> for ItemsList
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 ItemsList
Auto Trait Implementations§
impl Forget for ItemsList
impl Freeze for ItemsListwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ItemsListSizesInner>: Freeze,
PhantomData<WholesaleDiscountThresholdRes>: Freeze,
impl Move for ItemsList
impl RefUnwindSafe for ItemsList
impl Send for ItemsListwhere
RawVecInner: Send,
impl Sync for ItemsListwhere
RawVecInner: Sync,
impl Unpin for ItemsList
impl UnsafeUnpin for ItemsListwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ItemsListSizesInner>: UnsafeUnpin,
PhantomData<WholesaleDiscountThresholdRes>: UnsafeUnpin,
impl UnwindSafe for ItemsListwhere
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