I have the following implementation, but I don't want to repeat myself. How can I use a implementation that have the same body on different structs without repeating?
impl Message for CreateHero {
type Result = Result<Hero, Error>;
}
impl Message for SearchHero {
type Result = Result<Hero, Error>;
}
impl Message for DeleteHero {
type Result = Result<Hero, Error>;
}