paperless-api 0.4.0

Async Paperless ngx API client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::Deserialize;

use crate::id::TagId;

/// A document tag
#[derive(Debug, Clone, Deserialize)]
pub struct Tag {
    /// Unique identifier of the tag.
    pub id: TagId,

    /// Name of the tag.
    pub name: String,

    /// Number of documents associated with this tag.
    pub document_count: u32,
}