MatchRoles

public struct MatchRoles : XMLRepresentable

Undocumented

  • The roles to match.

    Declaration

    Swift

    public var roles: [Role]
  • A Boolean value indicating whether the roles match is enabled.

    Declaration

    Swift

    public var isEnabled: Bool
  • The rule to use for the roles match.

    Declaration

    Swift

    public var rule: Rule
  • Initializes a new roles match.

    Declaration

    Swift

    public init(rule: Rule = .includesAny, roles: [Role])

    Parameters

    rule

    The rule to use for the roles match, includesAny by default.

    roles

    The roles to match.