Trait Query

Source
pub trait Query
where Self: SerializeRow + Debug + Send + Sync + Sized,
{ // Required method fn query() -> String; }
Expand description

A generic query implement. This implements on all queries for type-safety.

Required Methods§

Source

fn query() -> String

Returns the query as a string

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.

Implementors§