VaccineMedicinalProduct

struct VaccineMedicinalProduct : Hashable
extension EUDCC.Vaccination.VaccineMedicinalProduct: Codable

The EUDCC vaccination medicinal product used for this specific dose of vaccination

Properties

  • The string value

    Declaration

    Swift

    public let value: String

Initializer

  • Creates a new instance of EUDCC.Vaccination.VaccineMedicinalProduct

    Declaration

    Swift

    public init(value: String)

    Parameters

    value

    The string value

WellKnownValue

Codable

  • Creates a new instance by decoding from the given decoder.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    decoder

    The decoder to read data from.

  • Encodes this value into the given encoder.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    The encoder to write data to.