Result

public struct Result : Codable, Equatable

Result type for the Update.

Properties

  • Returns if the update has been sucessful or not.

    Declaration

    Swift

    public let status: Status
  • Unique ID for the current Update.

    Declaration

    Swift

    public let updateId: Int
  • Type of update.

    Declaration

    Swift

    public let type: UpdateType
  • Duration of the update process.

    Declaration

    Swift

    public let duration: TimeInterval?
  • Date when the update has been enqueued.

    Declaration

    Swift

    public let enqueuedAt: Date
  • Date when the update has been processed.

    Declaration

    Swift

    public let processedAt: Date?
  • Type of Update.

    See more

    Declaration

    Swift

    public struct UpdateType : Codable, Equatable
  • Error information in case of failed update.

    Declaration

    Swift

    public let error: MeiliSearch.MSErrorResponse?