nextcloud_news_api 0.5.0

rust implementation of the NextCloud News REST API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::FolderID;
use serde_derive::{Deserialize, Serialize};

#[derive(Clone, Debug, Deserialize)]
pub struct Folder {
    pub id: FolderID,
    pub name: String,
}

#[derive(Debug, Serialize)]
pub struct FolderName {
    pub name: String,
}

#[derive(Clone, Debug, Deserialize)]
pub struct FoldersResponse {
    pub folders: Vec<Folder>,
}