Console message packets should have a '_type' attribute

This commit is contained in:
Jarda Snajdr 2016-08-31 14:18:01 +02:00
parent 3649a356c8
commit 088351469a

View file

@ -252,7 +252,7 @@ bitflags! {
#[derive(Deserialize, Serialize)] #[derive(Deserialize, Serialize)]
pub struct PageError { pub struct PageError {
#[serde(rename = "type")] #[serde(rename = "_type")]
pub type_: String, pub type_: String,
pub errorMessage: String, pub errorMessage: String,
pub sourceName: String, pub sourceName: String,
@ -270,7 +270,7 @@ pub struct PageError {
#[derive(Deserialize, Serialize)] #[derive(Deserialize, Serialize)]
pub struct ConsoleAPI { pub struct ConsoleAPI {
#[serde(rename = "type")] #[serde(rename = "_type")]
pub type_: String, pub type_: String,
pub level: String, pub level: String,
pub filename: String, pub filename: String,