Trait PartialModelTrait

pub trait PartialModelTrait: FromQueryResult {
    // Required method
    fn select_cols<S>(select: S) -> S
       where S: SelectColumns;
}
Expand description

A trait for a part of Model

Required Methods§

fn select_cols<S>(select: S) -> S
where S: SelectColumns,

Select specific columns this [PartialModel] needs

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§