sea_orm::entity

Trait PartialModelTrait

Source
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§

Source

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.

Implementors§