paperless_ngx_api 0.3.0

A library for interacting with Paperless-ngx
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Deserialize;

#[derive(Deserialize, Debug)]
#[serde(bound = "for<'de2> T: Deserialize<'de2>")]
pub(crate) struct Page<T>
where
    for<'de2> T: Deserialize<'de2>,
{
    pub count: i32,
    pub all: Vec<i32>,
    pub next: Option<String>,
    pub previous: Option<String>,
    pub results: Vec<T>,
}