pub trait PartialModelTrait: FromQueryResult {
// Required method
fn select_cols<S: SelectColumns>(select: S) -> S;
}
Expand description
A trait for a part of Model
Required Methods§
Sourcefn select_cols<S: SelectColumns>(select: S) -> S
fn select_cols<S: SelectColumns>(select: S) -> S
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.