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