此软件包提供一个 Identifier 类型,适合与 Identifiable 协议一起使用,作为 ID。
Identifier
Identifiable
ID
通过将 Identifiable 类型合并到其 ID 的类型签名中,可以有效地避免意外传递错误类型的 ID。