fix source decode

This commit is contained in:
Dmitry Belyaev 2023-08-13 18:11:29 +03:00
parent cd87529ede
commit 908a6d8cae

View File

@ -4,6 +4,7 @@ use serde_derive::{Deserialize, Serialize};
pub struct SourceQuestion { pub struct SourceQuestion {
#[serde(default, skip_serializing_if = "u32_is_zero")] #[serde(default, skip_serializing_if = "u32_is_zero")]
pub num: u32, pub num: u32,
#[serde(default)]
pub id: String, pub id: String,
#[serde(alias = "Вопрос")] #[serde(alias = "Вопрос")]