Playbook Documentation

Structure Scenario​Name

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

Represents a unique name of the scenario.

ScenarioName ScenarioName CustomStringConvertible CustomStringConvertible ScenarioName->CustomStringConvertible Hashable Hashable ScenarioName->Hashable RawRepresentable RawRepresentable ScenarioName->RawRepresentable ExpressibleByStringInterpolation ExpressibleByStringInterpolation ScenarioName->ExpressibleByStringInterpolation ExpressibleByStringLiteral ExpressibleByStringLiteral ScenarioName->ExpressibleByStringLiteral

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

public var rawValue: String

The raw string value.

description

public var description: String  

A textual representation of this instance.