libQuotient
A Qt library for building matrix clients
Quotient::FieldType Struct Reference

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

#include <protocol.h>

Public Attributes

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

Detailed Description

Definition of valid values for a field.

Definition at line 9 of file protocol.h.

Member Data Documentation

◆ placeholder

QString Quotient::FieldType::placeholder

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

Definition at line 16 of file protocol.h.

◆ regexp

QString Quotient::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.

Definition at line 13 of file protocol.h.


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