greader_api/models/
tag.rs

1use serde::Deserialize;
2
3#[derive(Clone, Debug, Deserialize)]
4pub struct Tagging {
5    pub id: String,
6    pub r#type: Option<String>,
7    pub sortid: Option<String>,
8    #[cfg(feature = "inoreader")]
9    pub unread_count: Option<u64>,
10    #[cfg(feature = "inoreader")]
11    pub unseen_count: Option<u64>,
12}
13
14#[derive(Clone, Debug, Deserialize)]
15pub struct Taggings {
16    pub tags: Vec<Tagging>,
17}