blob: 4dbf506c67350ae76a9571249d3360488668cd42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use std::ops::Deref;
// list of package maintainers
#[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Debug, Serialize, Deserialize, new)]
pub struct Maintainer(String);
impl Deref for Maintainer {
type Target = String;
fn deref(&self) -> &Self::Target {
&self.0
}
}
|