AnyFieldCollector

public protocol AnyFieldCollector : Collector, Validator

Protocol representing a collector. Inherits from Sendable, Collector, Validator.

  • property id: The collector id.
  • function anyPayload: The payload of the collector as Any
  • function initialize: Initializes the collector with the given value.
  • id

    Declaration

    Swift

    var id: String { get }
  • Returns the payload as Any?.

    Declaration

    Swift

    func anyPayload() -> Any?
  • Initializes the field collector with the given value.

    Declaration

    Swift

    func initialize(with value: Any)