Skiping unused field
This commit is contained in:
parent
97171b89d5
commit
0b9487bde5
2 changed files with 26 additions and 6 deletions
|
|
@ -9,6 +9,8 @@ use crate::i18n::{t, t_with_args};
|
|||
pub struct HeartbeatEntry {
|
||||
pub status: u8,
|
||||
pub time: String,
|
||||
#[allow(dead_code)]
|
||||
#[serde(skip)]
|
||||
pub msg: String,
|
||||
#[serde(default)]
|
||||
pub ping: Option<u64>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue