pub trait IntoQueryBuilderSegment {
fn into<'b>(
self,
querybuilder: &mut QueryBuilder<'b>
) -> QueryBuilderSegment<'b>
where
Self: 'b;
}
Expand description
Implementing the trait allows Self
to be converted into a QueryBuilderSegment
when needed. Allows one to pass Self
to all of the QueryBuilder’s methods.