Struct astrolab_smart_coffee_types::digishop::menu::edit_product_settings::EditProductSettingsBody [−][src]
pub struct EditProductSettingsBody {Show 13 fields
pub id: String,
pub barcode: Option<String>,
pub sku: Option<String>,
pub shipping_weight: Option<f64>,
pub price: Option<CategoryProductPriceBody>,
pub discount: Option<CategoryProductDiscountBody>,
pub has_multi_languages: Option<bool>,
pub has_multi_sites: Option<bool>,
pub sites: Option<Vec<CategoryProductSiteBody>>,
pub has_variants: Option<bool>,
pub must_check_availaibitly: Option<bool>,
pub is_published: Option<bool>,
pub is_free: Option<bool>,
}
Fields
id: String
barcode: Option<String>
sku: Option<String>
shipping_weight: Option<f64>
price: Option<CategoryProductPriceBody>
discount: Option<CategoryProductDiscountBody>
has_multi_languages: Option<bool>
has_multi_sites: Option<bool>
sites: Option<Vec<CategoryProductSiteBody>>
has_variants: Option<bool>
must_check_availaibitly: Option<bool>
is_published: Option<bool>
is_free: 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 EditProductSettingsBody
impl Send for EditProductSettingsBody
impl Sync for EditProductSettingsBody
impl Unpin for EditProductSettingsBody
impl UnwindSafe for EditProductSettingsBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more