commafeed_api 0.4.0

API client for commafeed server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::subscription::Subscription;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Category {
    pub id: String,
    #[serde(rename = "parentId")]
    pub parent_id: Option<String>,
    #[serde(rename = "parentName")]
    pub parent_name: Option<String>,
    pub name: String,
    pub children: Vec<Category>,
    pub feeds: Vec<Subscription>,
    pub expanded: bool,
    pub position: i32,
}