TypedID
public struct TypedID: Equatable
Represents entity type and its ID.
-
Undocumented
See moreDeclaration
Swift
public struct TypedID: Equatable -
Type of the ID
Declaration
Swift
public let type: Types -
ID of the entity.
Declaration
Swift
public let id: String -
Hash value for
TypedIDinstance.Declaration
Swift
public var hashValue: Int -
Ininitialize TypedID with type and id.
Declaration
Swift
public init(_ type:Types, id:String)Parameters
typeType of the entity.
idID of the entity.
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
aandb,a == bimplies thata != bisfalse.Declaration
Swift
public static func ==(left: TypedID, right: TypedID) -> BoolReturn Value
True if left and right is same, otherwise false.
View on GitHub
TypedID Struct Reference