Trait UpdateFlavoredStatement

Source
pub trait UpdateFlavoredStatement {
    // Required method
    fn update_stmt<C, R>(&self, conn: &C) -> Result<String>
       where C: Connection<R>,
             R: Row;

    // Provided methods
    fn update_with_filter_stmt<C, R, F>(
        &self,
        conn: &C,
        filter: &F,
    ) -> Result<String>
       where C: Connection<R>,
             R: Row,
             F: FlavoredFilter { ... }
    fn update_with_filter_order_limit_offset_stmt<C, R, F, O>(
        &self,
        conn: &C,
        filter: &F,
        order: &O,
        limit: usize,
        offset: usize,
    ) -> Result<String>
       where C: Connection<R>,
             R: Row,
             F: FlavoredFilter,
             O: FlavoredOrder { ... }
}

Required Methods§

Source

fn update_stmt<C, R>(&self, conn: &C) -> Result<String>
where C: Connection<R>, R: Row,

Provided Methods§

Source

fn update_with_filter_stmt<C, R, F>( &self, conn: &C, filter: &F, ) -> Result<String>
where C: Connection<R>, R: Row, F: FlavoredFilter,

Source

fn update_with_filter_order_limit_offset_stmt<C, R, F, O>( &self, conn: &C, filter: &F, order: &O, limit: usize, offset: usize, ) -> Result<String>
where C: Connection<R>, R: Row, F: FlavoredFilter, O: FlavoredOrder,

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§