STRUCT
SelectorActionModel
Contents
- Properties
options
- Methods
init(from:)
encode(to:)
==(_:_:)
public struct SelectorActionModel: RepresentationActionModel
Model for SelectorAction
, providing the information specific to selector actions.
Properties
options
public let options: [Action]
The actions which the user can choose to follow
Methods
init(from:)
public init(from decoder: Decoder) throws
Parameters
Name | Description |
---|---|
decoder | The decoder to read data from. |
encode(to:)
public func encode(to encoder: Encoder) throws
Parameters
Name | Description |
---|---|
encoder | The encoder to write data to. |
==(::)
public static func == (lhs: SelectorActionModel, rhs: SelectorActionModel) -> Bool
Parameters
Name | Description |
---|---|
lhs | A value to compare. |
rhs | Another value to compare. |