Struct astrolab_smart_coffee_types::digishop::menu::add_product_variant::AddProductVariantBody [−][src]
pub struct AddProductVariantBody {}Show fields
pub product: String, pub names: Option<Vec<CreateProductVariantNameBody>>, pub descriptions: Option<Vec<CreateProductVariantDescriptionBody>>, pub barcode: Option<String>, pub sku: Option<String>, pub shipping_weight: Option<f64>, pub picture: Option<String>, pub copied_pictures: Option<Vec<CategoryProductCopiedPictureBody>>, pub price_difference: Option<f64>, pub discount_percentage: Option<i32>, pub sites: Option<Vec<ProductVariantSiteBody>>, pub options: Option<Vec<ProductVariantOptionBody>>, pub is_published: Option<bool>,
Fields
product: String
names: Option<Vec<CreateProductVariantNameBody>>
descriptions: Option<Vec<CreateProductVariantDescriptionBody>>
barcode: Option<String>
sku: Option<String>
shipping_weight: Option<f64>
picture: Option<String>
copied_pictures: Option<Vec<CategoryProductCopiedPictureBody>>
price_difference: Option<f64>
discount_percentage: Option<i32>
sites: Option<Vec<ProductVariantSiteBody>>
options: Option<Vec<ProductVariantOptionBody>>
is_published: Option<bool>
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for AddProductVariantBody
impl Send for AddProductVariantBody
impl Sync for AddProductVariantBody
impl Unpin for AddProductVariantBody
impl UnwindSafe for AddProductVariantBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V