sea_orm/entity/
partial_model.rs

1
2
3
4
5
6
7
use crate::{FromQueryResult, SelectColumns};

/// A trait for a part of [Model](super::model::ModelTrait)
pub trait PartialModelTrait: FromQueryResult {
    /// Select specific columns this [PartialModel] needs
    fn select_cols<S: SelectColumns>(select: S) -> S;
}