use typed_id::Id; struct Customer { name: String, } type CustomerId = Id<i32, Customer>; let customer_id = CustomerId::new(1);