lib: Derive some traits for Link{,s} type

This commit is contained in:
Matthias Beyer 2016-02-15 13:18:31 +01:00
parent 19322b667a
commit 6480fb515c
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ use std::convert::Into;
use libimagstore::store::Entry;
#[derive(PartialOrd, Ord, Eq, PartialEq, Clone, Debug)]
pub struct Link {
link: String
}
@ -14,6 +15,7 @@ impl Link {
}
#[derive(Eq, PartialEq, Clone, Debug)]
pub struct Links {
links: Vec<Link>,
}