1 2 3 4 5 6 7 8 9 10
use serde::Deserialize; #[derive(Deserialize, Debug)] pub(crate) struct AuthenticationData { #[serde(rename = "cle")] pub(crate) key: Option<String>, #[serde(rename = "Acces", default)] pub(crate) failed: i32, }