ActionResult
public struct ActionResult
extension ActionResult: JSONDecodable
extension ActionResult: Equatable
extension ActionResult: Codable
Authentication token.
-
The JSON representation
Declaration
Swift
public let json: JSON
-
Operation success or not.
Declaration
Swift
public var success: Bool
-
Create an instance from raw data
Declaration
Swift
public init(success: Bool, json: JSON)
-
Undocumented
Declaration
Swift
public static let emptySuccess: ActionResult
-
Undocumented
Declaration
Swift
public static let emptyFailure: ActionResult
-
Optionnal status message
Declaration
Swift
public var statusText: String? { get }
-
Close event if there is errors
Declaration
Swift
public var close: Bool { get }
-
Undocumented
Declaration
Swift
public var errors: [Any]? { get }
-
Undocumented
Declaration
Swift
public init?(json: JSON)
-
Declaration
Swift
public static func == (lhf: ActionResult, rhf: ActionResult) -> Bool