Scenarios Documentation Beta

Structure Scenario​Id

public struct ScenarioId: CaseIterable, Hashable, Identifiable, RawRepresentable, Codable
ScenarioId ScenarioId Hashable Hashable ScenarioId->Hashable Identifiable Identifiable ScenarioId->Identifiable CaseIterable CaseIterable ScenarioId->CaseIterable Codable Codable ScenarioId->Codable RawRepresentable RawRepresentable ScenarioId->RawRepresentable

Conforms To

CaseIterable
Codable
Hashable
Identifiable
RawRepresentable

Initializers

init?(raw​Value:​)

public init?(rawValue: String)

Properties

scenario​Type

var scenarioType: Scenario.Type

raw​Value

var rawValue: String

id

var id: ScenarioId

all​Cases

let allCases: [ScenarioId]

Methods

hash(into:​)

public func hash(into hasher: inout Hasher)

==(lhs:​rhs:​)

public static func ==(lhs: ScenarioId, rhs: ScenarioId) -> Bool