2020-04-03 18:41:53 +02:00
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
|
|
|
|
#[serde(deny_unknown_fields)]
|
2020-04-24 01:28:26 +02:00
|
|
|
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
|
2020-05-07 16:56:11 +02:00
|
|
|
pub(crate) struct Tag {
|
|
|
|
pub(crate) name: String,
|
|
|
|
pub(crate) url: String,
|
|
|
|
pub(crate) history: Option<Vec<History>>,
|
2020-04-03 18:41:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#[serde(deny_unknown_fields)]
|
2020-04-24 01:28:26 +02:00
|
|
|
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
|
2020-05-07 16:56:11 +02:00
|
|
|
pub(crate) struct History {
|
|
|
|
pub(crate) day: String,
|
|
|
|
pub(crate) uses: String,
|
|
|
|
pub(crate) accounts: String,
|
2020-04-03 18:41:53 +02:00
|
|
|
}
|