diff options
Diffstat (limited to 'src/models/date_format.rs')
-rw-r--r-- | src/models/date_format.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models/date_format.rs b/src/models/date_format.rs index d9259d9..9a4ce0f 100644 --- a/src/models/date_format.rs +++ b/src/models/date_format.rs @@ -11,6 +11,7 @@ /// DateFormat : The date format setting for the budget. In some cases the format will not be available and will be specified as null. + #[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct DateFormat { #[serde(rename = "format")] @@ -21,7 +22,7 @@ impl DateFormat { /// The date format setting for the budget. In some cases the format will not be available and will be specified as null. pub fn new(format: String) -> DateFormat { DateFormat { - format: format, + format, } } } |