-#[derive(Debug, Serialize, Deserialize)]
-pub struct CreatePrivateMessage {
- pub content: String,
- pub recipient_id: PersonId,
- pub auth: Sensitive<String>,
-}
-
-#[derive(Debug, Serialize, Deserialize)]
-pub struct EditPrivateMessage {
- pub private_message_id: PrivateMessageId,
- pub content: String,
- pub auth: Sensitive<String>,
-}
-
-#[derive(Debug, Serialize, Deserialize)]
-pub struct DeletePrivateMessage {
- pub private_message_id: PrivateMessageId,
- pub deleted: bool,
- pub auth: Sensitive<String>,
-}
-
-#[derive(Debug, Serialize, Deserialize)]
-pub struct MarkPrivateMessageAsRead {
- pub private_message_id: PrivateMessageId,
- pub read: bool,
- pub auth: Sensitive<String>,
-}
-
-#[derive(Debug, Serialize, Deserialize)]
-pub struct GetPrivateMessages {
- pub unread_only: Option<bool>,
- pub page: Option<i64>,
- pub limit: Option<i64>,
- pub auth: Sensitive<String>,
-}
-
-#[derive(Debug, Serialize, Deserialize, Clone)]
-pub struct PrivateMessagesResponse {
- pub private_messages: Vec<PrivateMessageView>,
-}
-
-#[derive(Debug, Serialize, Deserialize, Clone)]
-pub struct PrivateMessageResponse {
- pub private_message_view: PrivateMessageView,
-}
-
-#[derive(Debug, Serialize, Deserialize)]
+#[skip_serializing_none]
+#[derive(Debug, Serialize, Deserialize, Clone, Default)]
+#[cfg_attr(feature = "full", derive(TS))]
+#[cfg_attr(feature = "full", ts(export))]
+/// Get a count of the number of reports.