Tag

struct Tag : Codable, Hashable
extension EUDCC.ValidationRule.Tag: CustomStringConvertible
extension EUDCC.ValidationRule.Tag: ExpressibleByStringInterpolation

An EUDCC ValidationRule Tag

Properties

  • The tag name

    Declaration

    Swift

    public let name: String

Initializer

  • Creates a new instance of EUDCC.ValidationRule.Tag

    Declaration

    Swift

    public init(
        name: String = UUID().uuidString
    )

    Parameters

    name

    The tag name. Default value UUID

CustomStringConvertible

  • A textual representation of this instance.

    Declaration

    Swift

    public var description: String { get }

ExpressibleByStringLiteral

  • Creates an instance initialized to the given string value.

    Declaration

    Swift

    public init(
        stringLiteral value: String
    )

    Parameters

    value

    The value of the new instance.