SearchResult

public class SearchResult : CustomStringConvertible, JSONRepresentable

The SearchResult struct

  • A list (possibly empty) of matches for the query.

    Declaration

    Swift

    public let matches: [Files.SearchMatch]
  • Used for paging. If true, indicates there is another page of results available that can be fetched by calling search again.

    Declaration

    Swift

    public let more: Bool
  • Used for paging. Value to set the start argument to when calling search to fetch the next page of results.

    Declaration

    Swift

    public let start: UInt64
  • Declaration

    Swift

    public var description: String { get }