Badge
public struct Badge : Codable, Hashable
A root object that stores information about a badge resource.
-
The id of the resource.
Declaration
Swift
public let id: String
-
The type of the resource.
Declaration
Swift
public let type: String
-
The attributes belonging to the badge.
Declaration
Swift
public var attributes: Badge.Attributes
-
Declaration
Swift
public static func == (lhs: Badge, rhs: Badge) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
A root object that stores information about a single badge, such as the badge’s name, description, and color.
See moreDeclaration
Swift
public struct Attributes : Codable