pub trait Textual: DataType { }Expand description
String SQL types: operands of LIKE, ILIKE, regex matching and string
functions such as UPPER, LOWER, LENGTH and CONCAT.
| Dialect | Markers |
|---|---|
| SQLite | Text, Any |
| PostgreSQL | Text, Varchar, Char, Enum |
| MySQL | Char, Varchar, TinyText, Text, MediumText, LongText, Enum, Set |
Placeholder is also textual, so a placeholder can be a pattern. JSON,
UUID and binary markers are not textual.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".