Created
October 29, 2019 14:41
-
-
Save oherrala/39ca6b4c170cdee84adf74713cf14a1d to your computer and use it in GitHub Desktop.
energiatili patch 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/energiatili-model/src/model.rs b/energiatili-model/src/model.rs | |
index 5727fd2..c07588e 100644 | |
--- a/energiatili-model/src/model.rs | |
+++ b/energiatili-model/src/model.rs | |
@@ -29,11 +29,11 @@ pub struct Model { | |
pub hours: OneResolution, | |
pub days: OneResolution, | |
pub months: OneResolution, | |
pub years: OneResolution, | |
pub network_price_list: PriceList, | |
- pub sales_price_list: PriceList, | |
+ pub sales_price_list: Option<PriceList>, | |
} | |
#[derive(Debug, Serialize, Deserialize)] | |
#[serde(rename_all = "PascalCase")] | |
pub struct OneResolution { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment