use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
pub struct ImplementationRelation {
pub implementor: String,
pub trait_name: String,
}
impl ImplementationRelation {
pub fn new(implementor: impl Into<String>, trait_name: impl Into<String>) -> Self {
Self {
implementor: implementor.into(),
trait_name: trait_name.into(),
}
}
}