paperless-api 0.12.0

Async Paperless ngx API client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Types related to groups.

use paperless_api_macros::{CreateDto, Item, UpdateDto};
use serde::Deserialize;

/// A paperless group.
#[derive(Debug, Clone, Deserialize, CreateDto, UpdateDto, Item)]
#[api_info(endpoint = "groups")]
pub struct Group {
    /// Unique identifier of the group.
    #[dto(skip)]
    pub id: crate::id::GroupId,

    /// Name of the group.
    pub name: String,
}