Trait AsStatement

Source
pub trait AsStatement {
    // Required method
    fn as_statement<Q: Queryable>(
        &self,
        queryable: &mut Q,
    ) -> Result<Cow<'_, Statement>>;
}
Expand description

Something, that eventually is a Statement in the context of a T: Queryable.

Required Methods§

Source

fn as_statement<Q: Queryable>( &self, queryable: &mut Q, ) -> Result<Cow<'_, Statement>>

Make a statement out of Self.

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§