Badges: Add responsible disclosure badge.

Fix: Don't serialize None on Metadata. (january embed)
This commit is contained in:
Paul
2021-06-13 20:19:07 +01:00
parent 6b8158bf54
commit 95d7c23d32
2 changed files with 3 additions and 0 deletions

View File

@@ -63,7 +63,9 @@ pub enum Special {
#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Metadata {
#[serde(skip_serializing_if = "Option::is_none")]
url: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
special: Option<Special>,
#[serde(skip_serializing_if = "Option::is_none")]