use tagged_id::{Id, Identify}; fn main() { struct TestStruct(); impl Identify for TestStruct { type InnerId = String; } let id1: Id = "oops".into(); let id2 = id1.take(); assert_eq!(id1.take(), id2); }