Servers: Add description field.

API: Allow removal of description on channels and servers.
This commit is contained in:
Paul committed 2021-06-06 10:55:31 +01:00
1 parent 380369e1c4
commit 0af4fa4be9
5 files changed
+19 -1

No files matched your search

+2
View File
@@ -42,6 +42,8 @@ pub struct Server {
pub owner: String,
pub name: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
pub channels: Vec<String>,
#[serde(skip_serializing_if = "Option::is_none")]