pub trait ToQuery<'a>: Into<QueryBuilder<'a>> {
// Provided method
fn to_query(self) -> QueryBuilder<'a> { ... }
}Expand description
Trait to convert SetBuilders into QueryBuilders unambiguously in addition to
Into<QueryBuilder>.
Provided Methods§
Sourcefn to_query(self) -> QueryBuilder<'a>
fn to_query(self) -> QueryBuilder<'a>
Convert this type into a QueryBuilder.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.