summaryrefslogtreecommitdiffstats
path: root/librepology/src/v1/types/effname.rs
blob: ae38fd747579904051c43ca86e2307445baa621c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::ops::Deref;

// list of package downloads
#[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Debug, Serialize, Deserialize)]
pub struct EffName(String);

impl Deref for EffName {
    type Target = String;

    fn deref(&self) -> &Self::Target {
        &self.0
    }
}