diff options
Diffstat (limited to 'src/models/category_group_with_categories_all_of.rs')
-rw-r--r-- | src/models/category_group_with_categories_all_of.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/models/category_group_with_categories_all_of.rs b/src/models/category_group_with_categories_all_of.rs index f34d3bb..0820aef 100644 --- a/src/models/category_group_with_categories_all_of.rs +++ b/src/models/category_group_with_categories_all_of.rs @@ -9,19 +9,16 @@ */ -#[allow(unused_imports)] -use serde_json::Value; - -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct CategoryGroupWithCategoriesAllOf { /// Category group categories. Amounts (budgeted, activity, balance, etc.) are specific to the current budget month (UTC). #[serde(rename = "categories")] - pub categories: Vec<::models::Category>, + pub categories: Vec<crate::models::Category>, } impl CategoryGroupWithCategoriesAllOf { - pub fn new(categories: Vec<::models::Category>) -> CategoryGroupWithCategoriesAllOf { + pub fn new(categories: Vec<crate::models::Category>) -> CategoryGroupWithCategoriesAllOf { CategoryGroupWithCategoriesAllOf { categories: categories, } |