Revision control
Copy as Markdown
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
/// The remotely configured Quick Answers feature, mirroring the `quick-answers-feature` Nimbus definition.
public struct QuickAnswersFeature: Equatable, Sendable {
/// The provider model that backs the request.
public let model: QuickAnswersModel
/// Whether the redesigned opt-in is shown as a sheet over the browser.
public let isOptInRedesignEnabled: Bool
public init(model: QuickAnswersModel, isOptInRedesignEnabled: Bool) {
self.model = model
self.isOptInRedesignEnabled = isOptInRedesignEnabled
}
}