EUDCCValidator
public struct EUDCCValidator
                An EUDCC Validator
- 
                  
                  
Creates a new instance of
EUDCCValidatorDeclaration
Swift
public init() 
- 
                  
                  
The ValidationResult
Declaration
Swift
typealias ValidationResult = Result<Void, Failure> 
- 
                  
                  
An EUDCCValidator Failure
See moreDeclaration
Swift
struct Failure : LocalizedError 
- 
                  
                  
Validate an
EUDCCusing aValidationRuleDeclaration
Swift
func validate( eudcc: EUDCC, rule: EUDCC.ValidationRule = .default ) -> ValidationResultParameters
eudccThe EUDCC that should be validated
ruleThe ValidationRule that should be used to validate the EUDCC. Default value
.defaultReturn Value
The ValidationResult
 
        EUDCCValidator Structure Reference