Identifiable

public protocol Identifiable

A type that can be uniquely identified.

  • ID

    A type representing the stable identity of the entity associated with self.

    Declaration

    Swift

    associatedtype ID : Hashable
  • id

    The stable identity of the entity associated with self.

    Declaration

    Swift

    var id: Self.ID { get }