Trait UpdateModel

Source
pub trait UpdateModel {
    const COLUMNS: &'static [&'static str];

    // Required methods
    fn columns(&self) -> Vec<&'static str>;
    fn params(&self) -> Vec<&(dyn ToSql + Sync)>;
}

Required Associated Constants§

Source

const COLUMNS: &'static [&'static str]

Required Methods§

Source

fn columns(&self) -> Vec<&'static str>

Source

fn params(&self) -> Vec<&(dyn ToSql + Sync)>

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§