RSDResultType
public struct RSDResultType : RSDFactoryTypeRepresentable, Codable, Hashable
RSDResultType is an extendable string enum used by RSDFactory to create the appropriate
result type.
-
Declaration
Swift
public let rawValue: String -
Declaration
Swift
public init(rawValue: String) -
Defaults to creating a
RSDResult.Declaration
Swift
public static let base: RSDResultType -
Defaults to creating a
RSDAnswerResult.Declaration
Swift
public static let answer: RSDResultType -
Defaults to creating a
RSDCollectionResult.Declaration
Swift
public static let collection: RSDResultType -
Defaults to creating a
RSDTaskResult.Declaration
Swift
public static let task: RSDResultType -
Defaults to creating a
RSDFileResult.Declaration
Swift
public static let file: RSDResultType -
Defaults to creating a
RSDErrorResult.Declaration
Swift
public static let error: RSDResultType -
Defaults to creating a
RSDNavigationResult.Declaration
Swift
public static let navigation: RSDResultType -
List of all the standard types.
Declaration
Swift
public static func allStandardTypes() -> [RSDResultType]
-
Declaration
Swift
public init(stringLiteral value: String)
View on GitHub
RSDResultType Structure Reference