summaryrefslogtreecommitdiffstats
path: root/librepology/src/v1/types/www.rs
diff options
context:
space:
mode:
Diffstat (limited to 'librepology/src/v1/types/www.rs')
-rw-r--r--librepology/src/v1/types/www.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/librepology/src/v1/types/www.rs b/librepology/src/v1/types/www.rs
index a59ef02..1b5b89e 100644
--- a/librepology/src/v1/types/www.rs
+++ b/librepology/src/v1/types/www.rs
@@ -2,7 +2,7 @@ use std::ops::Deref;
use url::Url;
// list of package webpages
-#[derive(Eq, PartialEq, Clone, Debug, Serialize, Deserialize)]
+#[derive(Eq, PartialEq, Clone, Debug, Serialize, Deserialize, new)]
pub struct Www(#[serde(with = "url_serde")] Url);
impl Deref for Www {