libkazv
Kazv::Api::FieldType Struct Reference

Definition of valid values for a field. More...

#include <protocol.hpp>

Public Attributes

std::string regexp
 A regular expression for validation of a field's value. More...
 
std::string placeholder
 An placeholder serving as a valid example of the field value. More...
 

Detailed Description

Definition of valid values for a field.

Member Data Documentation

◆ placeholder

std::string Kazv::Api::FieldType::placeholder

An placeholder serving as a valid example of the field value.

◆ regexp

std::string Kazv::Api::FieldType::regexp

A regular expression for validation of a field's value.

This may be relatively coarse to verify the value as the application service providing this protocol may apply additional validation or filtering.


The documentation for this struct was generated from the following file: