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-04-03 18:41:53 +02:00
|
|
|
pub(super) struct Tag {
|
2020-04-29 22:05:57 +02:00
|
|
|
pub(super) name: String,
|
|
|
|
pub(super) url: String,
|
|
|
|
pub(super) 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-04-29 22:05:57 +02:00
|
|
|
pub(super) struct History {
|
|
|
|
pub(super) day: String,
|
|
|
|
pub(super) uses: String,
|
|
|
|
pub(super) accounts: String,
|
2020-04-03 18:41:53 +02:00
|
|
|
}
|