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 ItemsList
impl Move for ItemsList
impl RefUnwindSafe for ItemsList
impl Send for ItemsList
impl Sync for ItemsList
impl Unpin for ItemsList
impl UnsafeUnpin for ItemsList
impl UnwindSafe for ItemsList
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