mangadex_api_schema_rust/v5/
custom_list.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! General CustomList information.

use mangadex_api_types::CustomListVisibility;
use serde::Deserialize;

#[derive(Clone, Debug, Deserialize, PartialEq)]
#[serde(rename_all = "camelCase")]
#[cfg_attr(feature = "non_exhaustive", non_exhaustive)]
#[cfg_attr(feature = "serialize", derive(serde::Serialize))]
#[cfg_attr(feature = "specta", derive(specta::Type))]
pub struct CustomListAttributes {
    pub name: String,
    pub visibility: CustomListVisibility,
    pub version: u32,
}