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