Skip to main content

Expr

Trait Expr 

Source
pub trait Expr:
    Debug
    + Send
    + Sync {
    // Required method
    fn to_sql(&self, buf: &mut String, args: &mut Vec<BindValue>);
}
Expand description

Trait for expressions that can be converted to SQL (compatibility layer)

Required Methods§

Source

fn to_sql(&self, buf: &mut String, args: &mut Vec<BindValue>)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl Expr for And

Source§

impl Expr for Or