RSDResultType
public struct RSDResultType : RawRepresentable, Codable
RSDResultType
is an extendable string enum used by RSDFactory
to create the appropriate
result type.
-
Declaration
Swift
public private(set) var rawValue: String
-
Declaration
Swift
public init(rawValue: String)
-
Defaults to creating a
RSDResult
.Declaration
Swift
public static let base: RSDResultType = "base"
-
Defaults to creating a
RSDAnswerResult
.Declaration
Swift
public static let answer: RSDResultType = "answer"
-
Defaults to creating a
RSDCollectionResult
.Declaration
Swift
public static let collection: RSDResultType = "collection"
-
Defaults to creating a
RSDTaskResult
.Declaration
Swift
public static let task: RSDResultType = "task"
-
Defaults to creating a
RSDFileResult
.Declaration
Swift
public static let file: RSDResultType = "file"
-
Defaults to creating a
RSDErrorResult
.Declaration
Swift
public static let error: RSDResultType = "error"
-
List of all the standard types.
Declaration
Swift
public static func allStandardTypes() -> [RSDResultType]
-
Declaration
Swift
public static func ==(lhs: RSDResultType, rhs: RSDResultType) -> Bool
-
Undocumented
Declaration
Swift
public static func ==(lhs: String, rhs: RSDResultType) -> Bool
-
Undocumented
Declaration
Swift
public static func ==(lhs: RSDResultType, rhs: String) -> Bool
-
Declaration
Swift
public var hashValue : Int
-
Declaration
Swift
public init(stringLiteral value: String)