pub trait AuthorSet {
// Required method
fn contains(&self, author: &str) -> bool;
}Expand description
Trait that packages must implement to check if they have a particular author.
In the vast majority of cases, this will be implemented on the same type as Package: the
existence of this as a separate trait is an unfortunate implementation detail.