summaryrefslogblamecommitdiff
path: root/dichroism/src/dtos/product_patch.rs
blob: ed8bf1a8351f35981234a673b9b518982212d6c3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                      
#[derive(Debug, Deserialize)]
pub struct ProductPatch {
    pub id: i32,
    pub name: Option<String>,
    pub quantity: Option<i32>,
    pub cents: Option<i32>,
    pub description: Option<String>,
    pub featured: Option<bool>,
    pub category_path: Option<String>,
    pub photo_data: Option<String>,
}