use tagged_id::Id; fn main() { #[derive(Id)] #[tagged_id(String)] struct TestStruct(); let id1: Id = "oops".into(); let id2 = id1; assert_eq!(id1, id2); }