Playbook Documentation Beta

Structure Scenario​Name

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

Represents a unique name of the scenario.

Conforms To

CustomStringConvertible
ExpressibleByStringInterpolation
ExpressibleByStringLiteral
Hashable
RawRepresentable

Initializers

init(raw​Value:​)

public init(rawValue: String)

Creates a new name with given raw string value.

Parameters

raw​Value String

The raw string value.

init(string​Literal:​)

public init(stringLiteral value: String)

Creates a new name with given raw string value.

Parameters

raw​Value

The raw string value.

Properties

raw​Value

var rawValue: String

The raw string value.

description

var description: String

A textual representation of this instance.