Servers: Add description field.

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

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")]