SuggestionProviderConstraints

public struct SuggestionProviderConstraints
extension SuggestionProviderConstraints: Equatable, Hashable

Some providers manage multiple suggestion subtypes. Queries, ingests, and other operations on those providers must be constrained to a desired subtype.

  • Exposure provider - For each desired exposure suggestion type, this should contain the value of the suggestion_type field of its remote settings record(s).

    Declaration

    Swift

    public var exposureSuggestionTypes: [String]?
  • Declaration

    Swift

    public init(
        /**
         * `Exposure` provider - For each desired exposure suggestion type, this
         * should contain the value of the `suggestion_type` field of its remote
         * settings record(s).
         */exposureSuggestionTypes: [String]? = nil)
  • Declaration

    Swift

    public static func == (lhs: SuggestionProviderConstraints, rhs: SuggestionProviderConstraints) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)