From 5f34e97efb8d67d7b3763d53d747d06661bde558 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 24 Apr 2019 09:44:03 +0200 Subject: types: Add "new" derive --- librepology/src/v1/types/effname.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'librepology/src/v1/types/effname.rs') diff --git a/librepology/src/v1/types/effname.rs b/librepology/src/v1/types/effname.rs index ae38fd7..118f56e 100644 --- a/librepology/src/v1/types/effname.rs +++ b/librepology/src/v1/types/effname.rs @@ -1,7 +1,7 @@ use std::ops::Deref; // list of package downloads -#[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Debug, Serialize, Deserialize)] +#[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Debug, Serialize, Deserialize, new)] pub struct EffName(String); impl Deref for EffName { -- cgit v1.2.3