Fix manifest deserialisation

This commit is contained in:
Tomasz Drwięga 2016-11-28 17:59:50 +01:00
parent 24f72716b9
commit a418dcd8ea
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@
use endpoint::EndpointInfo;
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct App {
pub id: String,
pub name: String,
@ -54,6 +55,7 @@ impl Into<EndpointInfo> for App {
}
#[derive(Debug, PartialEq, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct ApiError {
pub code: String,
pub title: String,