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

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

impl Deref for EffName {
    type Target = String;

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