1 #[cfg(feature = "full")]
4 #[cfg(feature = "full")]
6 extern crate diesel_derive_newtype;
7 // this is used in tests
8 #[cfg(feature = "full")]
9 #[allow(unused_imports)]
11 extern crate diesel_migrations;
14 #[cfg(feature = "full")]
17 #[cfg(feature = "full")]
20 #[cfg(feature = "full")]
22 #[cfg(feature = "full")]
25 use serde::{Deserialize, Serialize};
26 use strum_macros::{Display, EnumString};
28 #[derive(EnumString, Display, Debug, Serialize, Deserialize, Clone, Copy)]
43 #[derive(EnumString, Display, Debug, Serialize, Deserialize, Clone, Copy)]
44 pub enum CommentSortType {
51 #[derive(EnumString, Display, Debug, Serialize, Deserialize, Clone, Copy, PartialEq)]
52 pub enum ListingType {
58 #[derive(EnumString, Display, Debug, Serialize, Deserialize, Clone, Copy)]
68 #[derive(EnumString, Display, Debug, PartialEq, Serialize, Deserialize, Clone, Copy)]
69 pub enum SubscribedType {
75 #[derive(EnumString, Display, Debug, Serialize, Deserialize, Clone, Copy, PartialEq)]
76 pub enum ModlogActionType {