rewe 0.2.1

A rewe mobile api implementation for rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Deserialize;

#[derive(Deserialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct HazardAndWarnings {
    pub age_verification_key: Option<String>,
    pub warning_signs: Vec<WarningSign>
}

#[derive(Deserialize, Debug)]
pub enum WarningSign {
    #[serde(rename = "Biozid")]
    Biocide
}