Playbook Documentation Beta

Structure Scenario​Kind

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

Represents a unique identifier of the set of scenarios.

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

var rawValue: String

The raw string value.

description

var description: String

A textual representation of this instance.