Playbook Documentation Beta

Structure Scenario​Kind

public struct ScenarioKind: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible, ExpressibleByStringInterpolation 

Represents a unique identifier of the set of scenarios.

ScenarioKind ScenarioKind ExpressibleByStringInterpolation ExpressibleByStringInterpolation ScenarioKind->ExpressibleByStringInterpolation ExpressibleByStringLiteral ExpressibleByStringLiteral ScenarioKind->ExpressibleByStringLiteral CustomStringConvertible CustomStringConvertible ScenarioKind->CustomStringConvertible RawRepresentable RawRepresentable ScenarioKind->RawRepresentable Hashable Hashable ScenarioKind->Hashable

Conforms To

CustomStringConvertible
ExpressibleByStringInterpolation
ExpressibleByStringLiteral
Hashable
RawRepresentable

Initializers

init(raw​Value:​)

public init(rawValue: String) 

Creates a new kind with given raw string value.

Parameters

raw​Value String

The raw string value.

init(string​Literal:​)

public init(stringLiteral value: String) 

Creates a new kind with given raw string value.

Parameters

value String

The raw string value.

Properties

raw​Value

public var rawValue: String

The raw string value.

description

public var description: String 

A textual representation of this instance.