Struct ruma_common::thirdparty::FieldTypeInit [−][src]
Expand description
Initial set of fields of FieldType
.
This struct will not be updated even if additional fields are added to FieldType
in a new
(non-breaking) release of the Matrix specification.
Fields
regexp: String
A regular expression for validation of a field’s value.
placeholder: String
A placeholder serving as a valid example of the field value.
Trait Implementations
Performs the conversion.