struct FilterSpecextension HistoryController.FilterSpec : SendableImformation about a single attribute filter and its supported values.
-
The name of the attribute.
Declaration
Swift
let key: String -
The set of supported values for the attribute.
Declaration
Swift
let supportedValues: Set<String> -
The event type that this filter spec is applicable to, if any.
Declaration
Swift
var applicableEvent: String? -
Initializes a new
FilterSpec.Declaration
Swift
init?(key: String?, supportedValues: Set<String>, applicableEvent: String? = nil)Parameters
keyThe name of the attribute.
supportedValuesThe set of supported values for the attribute.
applicableEventThe event type that this filter spec is applicable to, if any.