Skip to main content

TextLike

Trait TextLike 

Source
pub trait TextLike: SqlType { }
Expand description

What LIKE accepts: a text expression, nullable or not. Its own marker rather than Comparable<Text> so the failure says what the operator needs instead of talking about comparison.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§